How do I isometric map and walk with hills

Get help using Construct 2

Post » Mon Jan 02, 2017 5:27 pm

Image

how can i make hills like i this image?
of course this hills should be walkable without jumping
B
25
S
8
Posts: 215
Reputation: 2,173

Post » Tue Jan 03, 2017 12:21 am

Figure it out for a top view first, then you can transform the positions over to isometric. My idea is to have the terrain be a grid of points at various elevations and then you just find where the player is on the grid and interpolate between the nearby elevations to get the in between elevation.

At least that's the rough idea. Here's a proof of concept of the idea:
https://dl.dropboxusercontent.com/u/542 ... rrain.capx

Half of it is just generating the terrain.


Now another idea could be to layout the level in the editor and put a bunch of invisible sprites over the terrain and see what the player's feet is overlapping and somehow alter the speed when walking over slopes. Maybe something like this:
https://dl.dropboxusercontent.com/u/542 ... imple.capx
B
92
S
32
G
109
Posts: 5,290
Reputation: 70,991


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, ST314 and 26 guests