diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-19 16:02:53 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-19 16:02:53 -0600 |
commit | 58ceff79496f60969eecb28a767b1ea28292becb (patch) | |
tree | 3a6acad4d9333aef2e18bb5d073e054926b20340 /src/entities/bigblue.js | |
parent | 9b597426ac45775f63b1fe4365c6fa8f3c3179af (diff) | |
download | bbiy-58ceff79496f60969eecb28a767b1ea28292becb.tar.gz bbiy-58ceff79496f60969eecb28a767b1ea28292becb.zip |
Finish rule system; add burn and sink; particle effects on kill, sink
Diffstat (limited to 'src/entities/bigblue.js')
-rw-r--r-- | src/entities/bigblue.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/bigblue.js b/src/entities/bigblue.js index bcf80d5..45fbc90 100644 --- a/src/entities/bigblue.js +++ b/src/entities/bigblue.js @@ -4,9 +4,10 @@ game.createBigBlue = () => { bigBlue.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); bigBlue.addComponent(game.components.Alive()); bigBlue.addComponent(game.components.Sprite({spriteName: "bigBlue"})); - // bigBlue.addComponent(game.components.Controllable({controls: ['left', 'right', 'up', 'down']})); bigBlue.addComponent(game.components.Name({selector: "bigblue"})); + bigBlue.addComponent(game.components.Burnable()); + bigBlue.addComponent(game.components.Sinkable()); return bigBlue; }; |