|
|
|
|
|
by kenferry
4500 days ago
|
|
If you play the game, it's actually quite trivial to program deterministically. :-) Flapping is not implemented as an impulse. It's more like jumping in Mario - it instantaneously fires a canned "flap" movement that is always the same. Set flap_height = bottom of next pipe + constant. If bird height < flap_height, flap. Done! |
|