How do I join endless runner scenes?

Get help using Construct 2

Post » Wed Jul 22, 2015 8:22 pm

Hi,
Hope someone can advise me! Been trying to work out how to create an endless runner game
which jumps to another scene as though it is scrolling across one continuous scene but with
say 10 scenes combined ( one scene after the other in one continuous motion).

Not sure if its possible with construct 2 but hope it is!
Thanks,
Lee
B
5
Posts: 10
Reputation: 270

Post » Wed Jul 22, 2015 9:12 pm

Just make a trigger at the end of every scene and set the event "go to layout"

Maybe even randomize the order of the layouts and make it with go to layout by name: "choose(layout1,layout2,layout3)"

If you know what I mean. It's really simple to do.
B
57
S
24
G
14
Posts: 772
Reputation: 13,135

Post » Wed Jul 22, 2015 9:42 pm

I understand what you mean.
Yes that sounds brilliant.

Still unsure though how to make it smooth so that the movement looks continuous!
What I mean is when a new layout is loaded ( say layout 2 ) i would have to put the scenes elements just off
to the right of the screen so it would slowly scroll into view but then layout 1 would have disapeared off screen
so it would be partially blank !!
Hope this makes sense to you.

Lee
B
5
Posts: 10
Reputation: 270

Post » Wed Jul 22, 2015 9:44 pm

I usually make the player move from left to right and build every layout stationary. Then the player just runs left to right and everything is always where it should be :) It's much easier when the only moving part is the player and not every single level component. And then the camera follows the player.
B
57
S
24
G
14
Posts: 772
Reputation: 13,135

Post » Wed Jul 22, 2015 10:23 pm

what position do you set your 'layout 2' onscreen position to ?
B
5
Posts: 10
Reputation: 270

Post » Wed Jul 22, 2015 10:41 pm

I made an quick example for you :) You can of course make it so the same level doesn't occur two times in a row.

Live Demo
https://dl.dropboxusercontent.com/u/100 ... index.html

CapX
https://dl.dropboxusercontent.com/u/100 ... unner.capx
B
57
S
24
G
14
Posts: 772
Reputation: 13,135

Post » Wed Jul 22, 2015 10:51 pm

Thankyou so much for your time in making this example for me.
I understand what you mean now.

Better get to bed, the wife will be complaining !!
Kind Regards,

Lee
B
5
Posts: 10
Reputation: 270

Post » Wed Jul 22, 2015 10:58 pm

No problem. Crazy what you can do with just 3 events :P

Good luck with your project and your wife :D
B
57
S
24
G
14
Posts: 772
Reputation: 13,135

Post » Wed Jul 22, 2015 11:02 pm

cheers.
B
5
Posts: 10
Reputation: 270

Post » Thu Jul 23, 2015 12:19 am

why don't you create a big layout let say about 20000 wide or so and make a small window about 500 depending on your runner and that would simulate an endless ruing mode.
B
11
S
2
G
1
Posts: 84
Reputation: 852

Next

Return to How do I....?

Who is online

Users browsing this forum: dop2000, Kyatric, warmty and 35 guests