Jump to content

Sprite/Button not appearing when return to previous State


turnA
 Share

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");

Expected:
All the sprite/image/button reappear as usual.

Result:
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.

Link to comment
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?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...