Implement a basic ship debris effect

I'm stealing the thruster mesh, which itself is actually the ship's
mesh, to draw the debris particles. I'll come back and make the scatter
a bit better at some point, but for now it's passable.
This commit is contained in:
2025-08-14 22:31:12 -05:00
parent 960861af79
commit 20c71658c3
2 changed files with 27 additions and 3 deletions

View File

@@ -25,5 +25,6 @@ pub(crate) const BULLET_SPEED: f32 = 150.0;
pub(crate) const BULLET_LIFETIME: f32 = 2.0;
pub(crate) const ASTEROID_LIFETIME: f32 = 40.0;
pub(crate) const DEBRIS_LIFETIME: f32 = 3.0; // lifetime, in seconds
pub const RNG_SEED: [u8; 32] = *b"12345678909876543210123456789098";