AngryMoose Posted May 11, 2014 Share Posted May 11, 2014 Hi everyone, I recently found out about Phaser and I'm in love Quick questions: - How do you guys handle a static UI? Sprites/Text inside a group? - I would also like a menu when clicking on an object (think right-click menu). I'd like to move the container to the location of the mouse and "hide" when clicking "outside" that object. Would a sprite be the right way to go about it? Killing it to hide it?- I'm trying to use http://www.kenney.nl/assets UI Asset pack, but I'm not sure how Phaser handles the TextureAtlas XMLs. Any pointers would be appreciated. Thanks! theoutlander 1 Link to comment Share on other sites More sharing options...
oler Posted September 1, 2014 Share Posted September 1, 2014 Here you can use the example here: http://examples.phaser.io/_site/view_full.html?d=loader&f=load+texture+atlas.js&t=load%20texture%20atlas or texture packer https://www.codeandweb.com/sprite-sheet-maker could help you convert the assets to TextureAtlas Json... I you are bent on using XML there are some examples that show you how here : http://examples.phaser.io/ Link to comment Share on other sites More sharing options...
Recommended Posts