Landing on a platform top edge

Get help using Construct 2

Post » Fri May 03, 2013 3:26 pm

Hey there, this is probably a stupid question, but:

When I give the player the platform movement and it is landing on solid objects, the player doesn't land on the top edge but a little further down on the platform. I'm guessing this is intended, but how can I prevent this as I want the player to land right on the top of objects.

Thanks in advance!
B
5
S
2
Posts: 29
Reputation: 483

Post » Fri May 03, 2013 3:30 pm

Player overlaps solid object > Player Position.Y=Self.Y-1

Also make sure that the collision detections are ok for objects and player (sometimes things change when you resize sprites and such in the editor)
B
43
S
7
G
6
Posts: 45
Reputation: 4,752

Post » Fri May 03, 2013 3:37 pm

Ah, thanks so much, I figured it out.
B
5
S
2
Posts: 29
Reputation: 483


Return to How do I....?

Who is online

Users browsing this forum: AllanR, brunopalermo, ST314, TheRealDannyyy, tunepunk, Yahoo [Bot] and 26 guests