How do I join endless runner scenes?

Get help using Construct 2

Post » Sun Jul 26, 2015 9:48 am

@Anonnymitet What condition can I use so that the layouts don't repeat two or more times in a row?
B
26
S
1
Posts: 59
Reputation: 1,100

Post » Sun Jul 26, 2015 12:41 pm

@whoisda The best practice for that is to use arrays and delete the level from the array when played and when the array is empty build it again and restart.

If you don't need them to be picked in random and your levels are named "level1, level2, level3" etc. Then you can use a string like:

Go to level by name: "level"&levelnumber+1

So create a variable and set it to the levelnumber on start of each level. So on layout1 set variable to 1 and then the string "level"&levelnumber+1 will take you to level2.
B
58
S
25
G
14
Posts: 793
Reputation: 13,302

Previous

Return to How do I....?

Who is online

Users browsing this forum: edf123456 and 24 guests