mirror of
https://github.com/IllusionMan1212/adventures-of-kuroneko.git
synced 2026-10-24 02:12:36 +00:00
Finalized
This commit is contained in:
@@ -21,6 +21,7 @@ ig.module(
|
||||
is_dead: false,
|
||||
flip: false,
|
||||
kuro: true,
|
||||
death: new ig.Sound('media/sounds/cat-dead.*'),
|
||||
|
||||
animSheet: new ig.AnimationSheet('media/kuroneko.png', 32, 32),
|
||||
jumpSheet: new ig.AnimationSheet('media/kuroneko-jump.png', 46, 32),
|
||||
@@ -122,6 +123,7 @@ ig.module(
|
||||
|
||||
kill: function() {
|
||||
this.is_dead = true;
|
||||
this.death.play();
|
||||
ig.game.removeEntity(this);
|
||||
ig.game.score = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user