How do I make an autorunner with levels like Punch Quest?

Just started using Construct 2? Post your questions here

Post » Thu Nov 06, 2014 6:06 am

Hey all, I' m trying to create an autorunner similar to Punch Quest, Robot unicorn Attack and Jetpack Joyride. I specifically want to make an autorunner that includes slopes, ramps, inclines, drops, platforms, obstacles, etc like Punch Quest. Here's a video of Punch Quest.

youtube.com/watch?v=ee8e84r8y5s

I began this game using most of the code from the autorunner game example. I was using a transparent square sprite stretched out as the grass floor and that was working. Now I'm working on a tile map and I'm not sure how to create a level that spawns, tiles and connects all these different pieces of tiled art correctly. It'd be easy to paint everything if this was a platformer with a start and end point like Super Mario but presumably autorunners randomly generate their levels right? How can I make a game like Punch Quest? Here's a look at my artwork.

Image

What I'm simple trying to do right now is make the game spawn the flat grass floor platform. I've turned the grass floor artwork into a tiled background and I'm trying to figure out the code to spawn it endlessly like the background. Then I want to add drops, ramps, upper platforms, etc. I'm still trying to figure out the code but I figured I'd ask for help. The second part (adding drops, ramps, etc) is what I can't wrap my head around.

One problem with using the tiled background instead of a sprite is I can't set a collision model. The player is actually suppose to run along the middle of the grass path, not on the very top of the grass. Can anyone suggest what I can do to fix this?
You do not have the required permissions to view the files attached to this post.
B
30
S
15
G
22
Posts: 183
Reputation: 14,221

Post » Thu Nov 06, 2014 11:31 pm

Try taking a look at this tutorial: https://www.scirra.com/tutorials/1001/l ... me-with-it
Also gave me a nice boost working with tilemaps in C2
B
24
S
15
G
9
Posts: 118
Reputation: 6,864

Post » Sat Nov 15, 2014 1:02 am

I also would like a response to this
Image
B
21
S
3
G
1
Posts: 38
Reputation: 1,590

Post » Wed Jan 28, 2015 11:43 pm

me too :D
B
7
S
1
Posts: 2
Reputation: 429


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest