Sign in to follow this  

Noob questions: UI, Menus and TextureAtlas

Recommended Posts

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 UI Asset pack, but I'm not sure how Phaser handles the TextureAtlas XMLs. Any pointers would be appreciated.


Thanks! :)

Share this post

Link to post
Share on other sites

Here you can use the example here:



or texture packer 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 :

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.