AprendizEnLaRed Posted February 20, 2014 Share Posted February 20, 2014 If I make a text in create function with a style: this.txt = game.add.text(game.world.width-250, game.world.height-50, 'Something' , style);or in createthis.txt = game.add.text(game.world.width-250, game.world.height-50, '' , style);this.txt.setText('Something')The style don't work but if I do in createthis.txt = game.add.text(game.world.width-250, game.world.height-50, '' , style); in updatethis.txt.setText('Something') Work. ?¿?¿ Link to comment Share on other sites More sharing options...
Recommended Posts