How I can move the Player aside when he jumps to the block?

Get help using Construct 2

Post » Sat May 23, 2015 8:12 am

Hi guys!
I wonder how I can do this function, if the player is not in the center (Image Point) when he jumps, be he aside. Can someone help me?

Image

thanks!! sorry for my english
B
39
S
14
G
6
Posts: 50
Reputation: 5,616

Post » Sat May 23, 2015 8:19 am

I guess when jumping you would have to check overlapping at offset, and if overlapping at offset is true, check the player's x position with the brick x-position and attach an action to add or subtract from vectorX of the player's movement..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sat May 23, 2015 5:02 pm

Doesn't works :C
B
39
S
14
G
6
Posts: 50
Reputation: 5,616

Post » Sat May 23, 2015 5:54 pm

What doesn't work..
My explanation or your implementation of my explanation?

Could you share your events and or capx to show how you have tried to make it work?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun May 24, 2015 7:38 pm

B
39
S
14
G
6
Posts: 50
Reputation: 5,616


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound, Yahoo [Bot] and 12 guests