For #7 : Townsfolk and guardsmen spawn with 'treasure'. AI with treasure will occasionally 'glint' playing an effect to show the player they have treasure.
This commit is contained in:
@@ -36,6 +36,7 @@ GameState.prototype.create = function()
|
||||
this.aiSprites.forEach(function(spr) {
|
||||
spr.update_new_values();
|
||||
}, this)
|
||||
this.aiSpriteEffects = game.add.group();
|
||||
player = this.add.sprite((19 * 32), (21 * 32), 'player');
|
||||
player.score = 0;
|
||||
player.lightmeter = 0;
|
||||
|
||||
Reference in New Issue
Block a user