Adding static effect sprites from the map

This commit is contained in:
2014-06-14 12:43:39 -07:00
parent 91e6f05063
commit bb0e30aeea

View File

@@ -579,7 +579,7 @@ var EffectSprite = function(game, x, y, key, frame, animation) {
Phaser.Sprite.call(this, game, x, y, null);
game.physics.arcade.enable(this);
this.collide_with_map = true;
this.collide_with_player = true;
this.collide_with_player = false;
}
EffectSprite.prototype = Object.create(Phaser.Sprite.prototype);