How do I ... make a circular platform level

Get help using Construct 2

Post » Mon Oct 24, 2016 8:11 pm

Hi,

Anyone have any idea how one might go about making a circular platform level. What I mean by that is: at the end of my platform level I want there to be a seamless joining to the beginning.

So far i think I could use the wrap behaviour with a little mirroring of what is at the start, at the end. But so far it's not very elegant, anyone got any better ideas?
B
8
S
1
Posts: 4
Reputation: 368

Post » Tue Oct 25, 2016 2:27 am

@aliswee

Hi, don't do wrap, teleport! Use a sprite marker at both ends, just far enough in so you can't see the ends when the camera follows the player. When the player collides with the marker, set the x,y location of your player to the opposite end like a wormhole. If you plan it right, it should look seamless.
B
16
S
9
G
5
Posts: 74
Reputation: 4,120

Post » Tue Oct 25, 2016 8:47 am

Can confirm - I use this trick for all sorts of displacement. It doesn't take much tweaking to get it bang-on perfect.
The LEVEL GENERATOR TOOLKIT



24 functions dedicated to producing randomly generated terrain for all kinds of games.
B
25
S
7
Posts: 242
Reputation: 2,306

Post » Tue Oct 25, 2016 9:04 am

I've puzzled over this myself and eventually scrapped my attempts because they seemed like more trouble than it was worth, so this is purely theoretical, but... perhaps you can try making a "split screen" effect (first example I could find, might not be the best) in combination with the teleport-wrap that SimoneT describes.

What I'm thinking is use the split screen effect on either end of the level to show what's happening on the opposite end. This way even if the player is e.g. being chased by an enemy and teleports, you can still see a "reflection" of the enemy on the other side, so it looks like a seamless transition. There could still be issues like for example an enemy not reacting to the player when it should because it's just a reflection and not the real thing, but maybe you can make a workaround for the AI or something. Anyway, haven't tried any of this personally but it sounds nice on paper.
B
51
S
24
G
18
Posts: 293
Reputation: 13,061

Post » Wed Oct 26, 2016 7:13 pm

Cheers guys, i will give the wormhole thing a try.

I'll let you know how it goes. Thanks!
B
8
S
1
Posts: 4
Reputation: 368


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, MPPlantOfficial, unicornspitfire and 28 guests