mirror of
https://github.com/bevyengine/bevy
synced 2024-12-03 09:59:15 +00:00
af24576b96
# 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. |
||
---|---|---|
.. | ||
alien_cake_addict.rs | ||
breakout.rs | ||
game_menu.rs |