Thread Tools
This thread is privately moderated by Jack Crossfire, who may elect to delete unwanted replies.
Apr 08, 2014, 07:34 PM
Registered User
Jack Crossfire's Avatar
Thread OP
Discussion

Why home made computer games suck


In trying to figure out why home made computer games suck, while Asphalt 8 is extremely addictive, a lot of stuff that a home made game would use a random number generator for is hard coded. Traffic is hard coded. Exactly the same cars appear at exactly the same time. They drive exactly the same pattern in exactly the same place.

The computer players are mostly hard coded, with some fuzzy logic. They don't use feedback loops to drive the course. They're programmed to turn at certain places, activate nitro at certain places, & drift at certain places.

The 6 players have different programs which result in some finishing well ahead of others. They're carefully programmed so humans of various skills can finish at different places, rather than always being last.

There is some randomness. They might have multiple programs with random branches between them. A different set of computer player sequences has to be written for every level. There's no way a purely feedback loop could get through to every level.

The point is it's a random application of hard coded programs. So if you're trying to aid a hard coded flight with some kind of position data, every step of the flight would have a number of variations, depending on how far off the position was. It wouldn't try nailing the position.

It might bank a little sideways or bank a little longer in a movement. It might use a fixed throttle pulse to change altitude. If the change was off, it might change the pulse duration in the next move. The only feedback loop would be to get a stable hover after takeoff. It could have some long term trimming, based on the total error.

Altitude is always going to require a full feedback loop. If that's off, it's not flying anymore. Hard coded pulses can be added to the feedback to get quick altitude changes, with immediate reversion to stabilization mode to finalize the altitude. X & Y are a lot more lenient. They can be mostly hard coded with just a little feedback. The landing would go back to a full feedback loop.
Sign up now
to remove ads between posts


Quick Reply
Message:
Thread Tools