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:
parent
c9188f58f6
commit
9d80626cc6
7 changed files with 72 additions and 6 deletions
2
TODO.md
2
TODO.md
|
|
@ -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.).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue