Jump to content

Bug with text style?


AprendizEnLaRed
 Share

Recommended Posts

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 create
this.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 create
this.txt = game.add.text(game.world.width-250, game.world.height-50, '' , style);
 
in update
this.txt.setText('Something')
 
Work.
 
 
?¿?¿
 
 
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...