Go back to text wordbubbles

This commit is contained in:
2014-06-14 10:54:47 -07:00
parent 9c0ef5c4a8
commit 091217cad4

View File

@@ -827,6 +827,7 @@ var AISprite = function(game, x, y, key, frame) {
this.text_size = stringSize(text, style['font']);
this.bubble = game.add.text(this.x, this.y, text, style);
this.bubble_offsets = [ 16 - (this.text_size[0]/2), -( this.text_size[1]/2) ];
console.log(this.bubble_offsets);
this.snap_bubble_position();
this.timer = game.time.create(false);