Solids&16 pixel movement

Get help using Construct 2

» Fri Jan 31, 2014 9:23 am

Hello Everyone!
I am working on a Zelda game(snes). Using move at angle to move the play 16 pixels at a time ever 0.9 seconds making it feel like the player is walking from square to square.
My problem is that solid object do not stop the player where he is standing, the player is instead bouncing back and smashing into the solid over and over making it feel buggy not crisp. I have tried setting the players X,Y to -16 after a collision with solid but this had no effect for me

B
2
Posts: 6
Reputation: 162

» Fri Jan 31, 2014 9:59 am

Would adding an is not overlapping at offset condition before the move action help?
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

» Fri Jan 31, 2014 10:26 am

Thank you this tip has helped a little. the player now stops moving like I want on the collision but after I set the overlapping at offset condition to every movement key the play now freezes in place on collision
B
2
Posts: 6
Reputation: 162

» Fri Jan 31, 2014 10:37 am

You should set the overlap at offset per movement direction.

Could you share your capx, so we can see how you have your events set up?
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

» Fri Jan 31, 2014 10:43 am

How do I post capx.?
B
2
Posts: 6
Reputation: 162

» Fri Jan 31, 2014 2:39 pm

My step action works like this.
Condition=
W key is down
System wait 0.9 Seconds
Player is not overlapping Solid at offset (-1,-1)
Actions=
Move player 16 pixels at angle
Set animation Direction
Set variable facing
B
2
Posts: 6
Reputation: 162

» Mon Feb 03, 2014 7:40 am

Issue is still un-resolved. pls help
B
2
Posts: 6
Reputation: 162

» Mon Feb 03, 2014 8:09 am

offset (-1,-1) means it will be checked if your player is overlapping something when it's moved one pixel to the left and one pixel up.
Is this what you are trying to check?
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