Go back to text wordbubbles
This commit is contained in:
@@ -826,7 +826,7 @@ var AISprite = function(game, x, y, key, frame) {
|
|||||||
style = {font: '14px Arial Bold', fill: '#ffffff', align: 'center'}
|
style = {font: '14px Arial Bold', fill: '#ffffff', align: 'center'}
|
||||||
this.text_size = stringSize(text, style['font']);
|
this.text_size = stringSize(text, style['font']);
|
||||||
this.bubble = game.add.text(this.x, this.y, text, style);
|
this.bubble = game.add.text(this.x, this.y, text, style);
|
||||||
this.bubble_offsets = [ (this.body.width/2) + -(this.text_size[0]/2), -( this.text_size[1]/2) ];
|
this.bubble_offsets = [ 16 - (this.text_size[0]/2), -( this.text_size[1]/2) ];
|
||||||
this.snap_bubble_position();
|
this.snap_bubble_position();
|
||||||
|
|
||||||
this.timer = game.time.create(false);
|
this.timer = game.time.create(false);
|
||||||
|
|||||||
Reference in New Issue
Block a user