bevy/examples/games
Doru a02e44c0db Don't kill contributors on window squish (#6675)
# Objective

- The `contributors` example panics when attempting to generate an empty range if the window height is smaller than the sprites
- Don't do that

## Solution

- Clamp the bounce height to be 0 minimum, and generate an inclusive range when passing it to `rng.gen_range`
2022-11-18 11:24:07 +00:00
..
alien_cake_addict.rs Add global time scaling (#5752) 2022-10-22 18:52:29 +00:00
breakout.rs Spawn now takes a Bundle (#6054) 2022-09-23 19:55:54 +00:00
contributors.rs Don't kill contributors on window squish (#6675) 2022-11-18 11:24:07 +00:00
game_menu.rs Flip UI image (#6292) 2022-11-14 21:59:17 +00:00