AdamAtomic / flixel

flixel is a free Actionscript (Flash) library that I distilled from a variety of Flash games that I've worked on over the last couple years, including Gravity Hook, Fathom and Canabalt. It's primary function is to provide some useful base classes that you can extend to make your own game objects.
http://www.flixel.org/
Other
1.13k stars 192 forks source link

Replace “accumulator >= step” by “accumulator > step” in FlxGame.as #200

Open ghost opened 13 years ago

ghost commented 13 years ago

https://github.com/krix/flixel/commit/7fbc822359dfdfd6d74d9b9eaf86e0699c1cb0da

More explanation: http://forums.flixel.org/index.php/topic,5072.0.html

avoxgames commented 12 years ago

There is a danger that at the first time a call of the function step() may be skipped (when you set high framerate, for example FlxG.flashFramerate = 90) and _state.draw() will fail.