How do I

Get help using Construct 2

Post » Fri Oct 23, 2015 8:59 am

Hello guys, please I need assistance. Am working on a multi level game. How do I make the game restart a particular level if a player fails that level and he press a replay botton? (2) How do I male the game go to the next level if a player wins that level and he press a continue botton? I would appreciate any idea .Thanks
B
6
S
1
Posts: 44
Reputation: 484

Post » Fri Oct 23, 2015 9:39 am

If the levels are on seperate layouts, you can use the "system goto layout"-action

If the levels are on the same layout, having a global variable to hold the level number should work..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Oct 23, 2015 10:10 am

Thanks @littlestain I av my levels on different layout and am able to move to those layout when a player wins a level,but when a level is failed I can't make a replay for that level. I already created a layer to display game over with replay botton but its not replaying instead is going to the next level layout. please any idea or a better way?
B
6
S
1
Posts: 44
Reputation: 484

Post » Fri Oct 23, 2015 10:14 am

Wouldn't this work?

on replay button clicked
- restart layout
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: tdcostas and 9 guests