Sprite/Button not appearing when return to previous State

Recommended Posts

After using Phaser 1.4.7, when I play a state and then return to previous state, several sprite/image/button that previously appear, seems to be not appearing anymore.

How to replicate:
1. Enter a state (example: Title state)
2. Move to other state (example: Games state)
3. Return to previous state (in this case, Title state), with: this.game.state.start("title");

All the sprite/image/button reappear as usual.

Some/most of the sprite/image/button doesn't reappear

Is there anyone who encounter the same problem with me? When rollback to Phaser 1.4.6, there are no problem at all.

Share this post

Link to post
Share on other sites

First, do you mean you are using version 2.4.7 or are you actually using 1.4.7?

I am using Phaser 2.4.7 and am able to switch between states without such issues. Could you post code examples so that we can help you track the issue down?

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.


  • Recently Browsing   0 members

    No registered users viewing this page.