samjarman Posted June 27, 2014 Share Posted June 27, 2014 Is there a nice way to have a pop up alert or menu in phaser? Alternatively, has anyone written a nice plugin to do this? My Google-Fu is saying no. CheersSam Link to comment Share on other sites More sharing options...
lewster32 Posted June 27, 2014 Share Posted June 27, 2014 No-one's released any kind of real GUI toolkit if that's what you mean; however with Phaser because you're typically in a browser environment you have access to html and css, giving you all of the goodness that comes with it. Link to comment Share on other sites More sharing options...
samjarman Posted July 1, 2014 Author Share Posted July 1, 2014 Thanks lewster32, is there a nice way to inject html or do I just use text labels with style set? Link to comment Share on other sites More sharing options...
lewster32 Posted July 1, 2014 Share Posted July 1, 2014 You can't display html or css within the Phaser canvas, but you can display them over the top using positioning and z-index and control them just as you would any web page. Link to comment Share on other sites More sharing options...
Recommended Posts