How do I make grid-based movement for a platformer?

Get help using Construct 2

Post » Tue Apr 19, 2016 9:58 am

How do I make grid-based movement for a platformer? I want the player to move one square at a time except for when they jump.
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Tue Apr 19, 2016 1:59 pm

I'm not sure what you are trying to do, but you should check out this tutorial for grid-based movement:

https://www.scirra.com/tutorials/308/cl ... man/page-2
B
16
S
9
G
5
Posts: 74
Reputation: 4,120

Post » Tue Apr 19, 2016 8:44 pm

@SimoneT, I want grid based movement in a platfromer, but I don't want to use tiles
B
25
S
6
G
4
Posts: 173
Reputation: 3,933

Post » Tue Apr 19, 2016 9:01 pm

I suppose left and right will be grid movement. But.

Will the jump be a grid movement ? How do you see that ?
Will falling be a grid movement ? Explain the idea ?

If a yes to those questions, then it is just grid movement in 3 directions. The down direction just happens till the object meets an overlap with ground on an imagepoint. Collissions cant happen. Everything will be a legal move untill a overlap occurs.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: Fenix18, tarek2 and 54 guests