Merge branch 'gal-44-add-explosion-effects'
This commit is contained in:
commit
35300ec62b
8 changed files with 128 additions and 3 deletions
|
|
@ -53,3 +53,9 @@ pub const STAR_MAX_SIZE: f32 = 3.0;
|
|||
pub const STAR_MIN_SPEED: f32 = 20.0;
|
||||
pub const STAR_MAX_SPEED: f32 = 100.0;
|
||||
pub const STAR_Z_DEPTH: f32 = -10.0; // Behind all game entities
|
||||
|
||||
// Explosion constants
|
||||
pub const EXPLOSION_DURATION: f32 = 0.4;
|
||||
pub const EXPLOSION_BASE_SIZE: Vec2 = Vec2::new(15.0, 15.0);
|
||||
pub const EXPLOSION_MAX_SIZE: Vec2 = Vec2::new(50.0, 50.0);
|
||||
pub const EXPLOSION_COLOR: Color = Color::rgba(1.0, 0.6, 0.1, 1.0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue