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
1
Posts: 29
Reputation: 333

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
37
S
6
G
6
Posts: 45
Reputation: 4,502

Post » Fri May 03, 2013 3:37 pm

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


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, Naightwolf and 19 guests