Jump to content

game.make.text can't setText - a bug?


Recommended Posts

In the following example found Here,

The text will not update inside the bitmap, unless I recreate this.totalScoreText using game.make text again...
Is this a bug? if I use setText regularly, and use game.add.existing(this.totalScoreText), it works ok...



Thanks to rich, it was made clear that game.make doesn't add to the update loop, so setText won't work, unless I add the immediate flag:
text.setText("Sometext", true);

Link to comment
Share on other sites


  • Recently Browsing   0 members

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