feat: add scrolling starfield background

Add 150 stars with randomized positions, sizes, speeds, and brightness.
Stars scroll downward with parallax depth effect and wrap around at
screen edges. Also fixes Bevy 0.13 API issues in game_state.rs
(KeyCode::R → KeyR, Input → ButtonInput).
This commit is contained in:
Harald Hoyer 2026-05-06 15:05:32 +02:00
parent c9188f58f6
commit 9d80626cc6
7 changed files with 72 additions and 6 deletions

View file

@ -55,7 +55,7 @@
* [ ] **Visuals**
* [ ] Replace placeholder geometric shapes with actual sprites.
* [ ] Add explosion animations/effects.
* [ ] Implement a scrolling starfield background.
* [x] Implement a scrolling starfield background.
* [ ] **Audio**
* [ ] Integrate `bevy_audio`.
* [ ] Add sound effects (shooting, explosions, player death, tractor beam, etc.).