diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-05 17:33:25 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-05 17:33:25 -0600 |
commit | 69596ba244d6959dfe188ce958542c062b475f75 (patch) | |
tree | 91888868f7aa62a6c4c09d8047b49414259e8624 /src/entities/grass.js | |
parent | 545e129c7411714e7b40c742a23409629c9f767f (diff) | |
download | bbiy-69596ba244d6959dfe188ce958542c062b475f75.tar.gz bbiy-69596ba244d6959dfe188ce958542c062b475f75.zip |
Checkpoint with particles
Diffstat (limited to 'src/entities/grass.js')
-rw-r--r-- | src/entities/grass.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entities/grass.js b/src/entities/grass.js index f2a6da2..f731ef1 100644 --- a/src/entities/grass.js +++ b/src/entities/grass.js @@ -2,6 +2,7 @@ game.createGrass = () => { const grass = game.Entity(); grass.addComponent(game.components.LoadPriority({priority: 6})); grass.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + grass.addComponent(game.components.Alive()); grass.sprite = game.sprites.grass; return grass; } |