Biggerplay Posted February 2, 2014 Share Posted February 2, 2014 I know this must be really easy to web devs, but how would I make some text in Phaser a clickable URL link? ideally bitmap text. Link to comment Share on other sites More sharing options...
XekeDeath Posted February 3, 2014 Share Posted February 3, 2014 Make your bitmap text as normal.Create an invisible sprite, enable input on it, and resize it to match the text size.Put the redirection code in the sprites callback. Link to comment Share on other sites More sharing options...
Biggerplay Posted February 3, 2014 Author Share Posted February 3, 2014 Make your bitmap text as normal.Create an invisible sprite, enable input on it, and resize it to match the text size.Put the redirection code in the sprites callback.I thought about that, I was hoping there was a more straightforward way of doing it Link to comment Share on other sites More sharing options...
XekeDeath Posted February 3, 2014 Share Posted February 3, 2014 If text objects had input abilities, that would be the only way more straight forward I can think of. Link to comment Share on other sites More sharing options...
Recommended Posts