agmcleod Posted March 3, 2014 Share Posted March 3, 2014 Been working on converting a game I wrote in Java. Currently the java game references multiple bitmap fonts. They're the same font face & size, with italic variants and colours. Since the add.bitmapText simply uses the font face key, I thought about simply editing the XML to change the font face key to something unique for each one. But I was wondering if there's a simpler way to manipulate colour in Phaser. Link to comment Share on other sites More sharing options...
rich Posted March 3, 2014 Share Posted March 3, 2014 Right now you'd literally have to have the BitmapText image in various colours, as it's drawn from image data (not rendered with canvas). In Phaser 1.2 you can tint the BitmapText, so that should allow for colour variation - but not it will be per text object, not per letter or word within a text object. Link to comment Share on other sites More sharing options...
Recommended Posts