Player getting destroyed on layout switch

  • Hello.

    I'm having an issue and I can't find the problem at all. I've seen the events several times and I can't find the problem why my player is getting destroyed when I switch Layout.

    I don't have any player is outside layout destroy event, nor destroy outside layout behaviour, in general I do not have anything at all that could trigger this.

    I also trying giving the player the persist behaviour and still having the same issue, what could I be missing?

    Thank you

  • You should upload a capx or at least a screenshot of your events...we'd be able to help more, and possibly find a solution quicker.

    Is an instance of the player already on that next layout?

    Is there an event 'create object' > player for that layout?

    You may get lots of questions here. As i said, better help will be available if folks can see your events, capx.

  • Objects are only loaded on the layout they're in. Your player must be set as a global object to appear on every layout.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Objects are only loaded on the layout they're in. Your player must be set as a global object to appear on every layout.

    GOD BLESS YOU.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)