How do I stop player from bouncing when walking into a wall.

Get help using Construct 2

Post » Fri Jul 25, 2014 4:38 am

Hi guys,

I am making a platform game where the player is walking automatically but you can switch which way he is walking by key presses.
Anyway, what I did was using the platform behavior and set the speed to 0, then I created some events that looks like this (see link below).

And when the player is walking into a wall while walking left he starts to bounce up and down and acting all strange, thats why I added so that he should stop when walking into a wall but it didnt help, any idea what to do?

http://tommystudier.webs.com/eventsheet.png

Worth to point out that I have had this problem since starting to make the game thats why I started to remake the eventsheet from scratch but the problem is still there.

Best Regards Tommy N
B
6
Posts: 37
Reputation: 324

Post » Fri Jul 25, 2014 4:58 am

he also get stuck in the air when hitting a wall walking left, and sometime run up the wall when hitting a wall walking left.
B
6
Posts: 37
Reputation: 324

Post » Fri Jul 25, 2014 7:39 am

Its solved :)
B
6
Posts: 37
Reputation: 324


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 43 guests