thetawavegame / thetawave

A physics based, space shooter game made with Rust and the Bevy engine.
https://thetawave.metalmancy.tech
MIT License
164 stars 9 forks source link

Screen shake #161

Closed LordDeatHunter closed 7 months ago

LordDeatHunter commented 7 months ago

Adds a screen shake on hit. The trauma value (screen shake amount basically) ranges from 0 to 1 and depletes over time. Currently, each hit adds 0.1 worth of trauma, which is not very noticeable, but scales with each hit. I did some fine-tuning, but the values could probably be further improved.