Nikow Posted May 19, 2015 Share Posted May 19, 2015 Hi ! How could i write some text wich was every time at the same distance to the right side of the canvas? (In my case, i have to create a score counter on the top right corner, but when the score is growing up, it move to the right :/ ... ) Thank you ! Link to comment Share on other sites More sharing options...
Tom Atom Posted May 19, 2015 Share Posted May 19, 2015 Hi, from Phaser 2.3.0 you can use "anchor" for your bitmap text. Default anchor is top left corner (0,0). Setting:myBitmapText.anchor.set(1,0)should align it to right from its x position. Link to comment Share on other sites More sharing options...
Nikow Posted May 19, 2015 Author Share Posted May 19, 2015 Thank you !!! Link to comment Share on other sites More sharing options...
Recommended Posts