fancy particle effects
This commit is contained in:
parent
5f23822f62
commit
366c5d6543
8 changed files with 189 additions and 79 deletions
|
|
@ -420,12 +420,22 @@ pub struct SpawnParticleLine {
|
|||
}
|
||||
|
||||
#[derive(Component, Serialize, Deserialize, Clone)]
|
||||
pub struct SpawnParticleBurst {
|
||||
pub struct SpawnParticleSimple {
|
||||
pub glyph: rltk::FontCharType,
|
||||
pub colour: RGB,
|
||||
pub lifetime_ms: f32,
|
||||
}
|
||||
|
||||
#[derive(Component, Serialize, Deserialize, Clone)]
|
||||
pub struct SpawnParticleBurst {
|
||||
pub glyph: rltk::FontCharType,
|
||||
pub colour: RGB,
|
||||
pub lerp: RGB,
|
||||
pub lifetime_ms: f32,
|
||||
pub trail_colour: RGB,
|
||||
pub trail_lifetime_ms: f32,
|
||||
}
|
||||
|
||||
#[derive(Component, Debug, Serialize, Deserialize, Clone)]
|
||||
pub struct Destructible {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue