bevy/examples/game
Mike 9186c4c8d2 Change breakout to use fixed timestamp (#1541)
This PR fixes https://github.com/bevyengine/bevy/issues/1240, where the ball is escaping the playing field at low framerates.  I did this by moving the movement and physics system into a Fixed Timestep system set and changing the movement steps to a constant.  So we lose the example use of delta_time for changing position, but gain a use of FixedTimestep.

If this is accepted https://github.com/bevyengine/bevy-website/pull/102 will need to be updated to match.

Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2021-04-12 19:29:08 +00:00
..
alien_cake_addict.rs Change State::*_next to *_replace, add proper next (#1676) 2021-03-25 03:28:40 +00:00
breakout.rs Change breakout to use fixed timestamp (#1541) 2021-04-12 19:29:08 +00:00