bevy/examples/game
Alice Cecile af24576b96 Move magic numbers into constants in Breakout example (#4255)
# Objective

- The Breakout example has a lot of configurable constant values for setup, but these are buried in the source code.
- Magic numbers scattered in the source code are hard to follow.
- Providing constants up front makes tweaking examples very approachable.

## Solution

- Move magic numbers into constants

## Context

Part of the changes made in #2094; split out for easier review.
2022-03-19 23:05:02 +00:00
..
alien_cake_addict.rs use marker components for cameras instead of name strings (#3635) 2022-03-12 00:41:06 +00:00
breakout.rs Move magic numbers into constants in Breakout example (#4255) 2022-03-19 23:05:02 +00:00
game_menu.rs default() shorthand (#4071) 2022-03-01 20:52:09 +00:00