Jump to content

sharing a sprite between states


Recommended Posts



I have a game with two states.  A sprite (called player) is created in the first state and stored in the first state.  In my second state, in create, I call:


But the player sprite never appears in the second state.  player.alive,  player.exists, player.visible, and player.renderable are all true.  Any hints on sharing sprites between states?

Link to comment
Share on other sites


  • Recently Browsing   0 members

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