Layouts and changing level

Just started using Construct 2? Post your questions here

Post » Tue Aug 05, 2014 5:05 am

I´m doing a game similar to angry birds.
But when I´m done killing all the enemies, and change layout to the next level, monsters are automatically being destroyed, and the ( Like if the fist layout was still on action). Do I need to "destroy the first layout in order to move to another one or something like that?)
Thanks
B
3
Posts: 2
Reputation: 177

Post » Tue Aug 05, 2014 10:38 am

I sometimes encounter a similar problem too , the way I solved it is by add another condition to the "On Destroyed" condition.

For example I setup a variable called LayoutDone and had it set to false by default then setup the condition for the destroyed event as:

"On Destroyed" and "LayoutDone = false" > Do actions here.

Hope that helps.
B
19
S
7
Posts: 161
Reputation: 1,751


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest