An example of a simple collect items & avoid collisions game.
The code is structured 'from-top-to-bottom' for ease of reading and understanding. That means the feature-set grows section by section making it easy to disable parts of functionality for learning purposes.
Bevy version: 0.15
- Collect presents
- Avoid snowflakes
- Objects bounce off the screen
- With every present collected all objects speed up
- Simple structure in a single file
- Implementation flows from top to bottom
- Examples of
RunConditions
Resources
for shared data- Simple collision detection with the use of
Events
- Examples of generic systems
- Custom traits for generic systems
- UI to display score and lives
My page: arrekin.com