Moved to graphical word bubbles

This commit is contained in:
2014-06-12 01:53:28 -07:00
parent b7ff74071c
commit 81b2574494

View File

@@ -572,7 +572,7 @@ var AISprite = function(game, x, y, spritetype) {
var mylines = moonlightDialog['status'][this.sprite_group][aistate]; var mylines = moonlightDialog['status'][this.sprite_group][aistate];
var myline = mylines[game.rnd.integerInRange(0, mylines.length)] var myline = mylines[game.rnd.integerInRange(0, mylines.length)]
console.log(myline) console.log(myline)
this.bubble = new Phaser.Sprite(game, this.x, this.y, myline); this.bubble = game.add.sprite(this.x, this.y, myline);
game.physics.arcade.enable(this.bubble); game.physics.arcade.enable(this.bubble);
timer = game.time.create(false); timer = game.time.create(false);