bevy/examples/games
Rob Parrett a9ca8491aa
Fix z scale being 0.0 in breakout example (#12439)
# Objective

Scaling `z` by anything but `1.0` in 2d can only lead to bugs and
confusion. See #4149.

## Solution

Use a `Vec2` for the paddle size const, and add a scale of `1.0` later.
This matches the way `BRICK_SIZE` is defined.
2024-03-13 01:30:43 +00:00
..
alien_cake_addict.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00
breakout.rs Fix z scale being 0.0 in breakout example (#12439) 2024-03-13 01:30:43 +00:00
contributors.rs Disentangle bevy_utils/bevy_core's reexported dependencies (#12313) 2024-03-07 02:30:15 +00:00
desk_toy.rs We must have googly eyes (new Game example) (#12331) 2024-03-06 22:21:41 +00:00
game_menu.rs Fix green colors becoming darker in various examples (#12328) 2024-03-05 23:42:03 +00:00
stepping.rs Migrate from LegacyColor to bevy_color::Color (#12163) 2024-02-29 19:35:12 +00:00