Creating a large terrain

For questions about using Classic.

Post » Mon Nov 30, 2009 11:37 am

Hi.

Probably many of you know the old game Elasto Mania. There was a level editor in this game, which could create with lines incredibly huge monolithic (seamless) terrains for the ride a motorcycle.

I would like to know how to create large seamless terrains with the ability to texture it? (like Tile Background)



I didn't find the object in Construct which could create terrain with the lines and could fill it with texture.

Please, suggest how to make this?


P.S. I've tried the Canvas object, but to create a large terrain (e.g. 7000x2500) it requires a large image (7000x2500), that leads to complete slowing of the program and decrease FPS.
B
3
S
2
G
3
Posts: 146
Reputation: 1,567

Post » Mon Nov 30, 2009 11:50 am

I think your best bet is to slice it up kind of like Soldjaboy's Tonks.
As to the editor you could use the line object and have it create a new line every other click, then create a sprite at that coord.

I guess you could even use a distort map, but you would need to use a canvas to create a collision mask.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Mon Nov 30, 2009 12:05 pm

[quote="newt":36yix01i]I think your best bet is to slice it up kind of like Soldjaboy's Tonks.[/quote:36yix01i]

How is it made in the Soldjaboy's Tonks?
B
3
S
2
G
3
Posts: 146
Reputation: 1,567

Post » Mon Nov 30, 2009 1:11 pm

Tonks uses a ton of small sprites that are made of one big image.
The original image was about the size of the layout, he then cut it up to a few pixels width, and the same height... in photoshop, and imported all, then arranged them in the right order.
You'll have to ask Sol about the rest.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Mon Nov 30, 2009 1:16 pm

I don't think that's the way it works. If I remember he had lots of small untextured (like 4x4) squares which he stretched vertically to make the terrain. The texture was a tiled background on another layer, and the terrain strips were on an erasing layer so they appeared as one seamless texture when they cut through to the tiled background layer. I may be wrong anyway, but that's how I'd do it.
B
25
S
3
G
6
Posts: 1,197
Reputation: 5,620

Post » Mon Nov 30, 2009 2:01 pm

Actually... I helped cut it up for him.
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Mon Nov 30, 2009 5:32 pm

Yeah, you should talk to Soldjaboy about it. He's done pretty much exactly this, only instead of drawing the lines manually, the lines are randomly generated. Drawing the lines would be easy, though... the filling-in part is the part you need. Anyway, I'm sure he'd be happy to help you out.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests