Jump to content

state and mask


4ucai
 Share

Recommended Posts

Hi,

 

I have a game state started with mask on one of my sprite. After switching to another state I get a black screen cover on top of the new state.

 

I'm switching it like this 

this.game.state.start("somestate")

Solution was to remove/null out the mask reference before switching state.

 

Must be some issue with the "clearWorld" not properly handling mask

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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