Climbing the wall by the left and right

Get help using Construct 2

Post » Tue Dec 10, 2013 8:19 am

Hi, I'm tryna make the player to climb in the wall. To climb in the left side its working fine, but not in the right. Anybody knows what's happened? How can I solve this problem?

https://www.dropbox.com/s/5aeqmzy23asb2qf/platform-ninja.rar
B
43
S
6
Posts: 79
Reputation: 4,235

Post » Tue Dec 10, 2013 1:55 pm

When the player object has a wall to its right, event 9 enables 8 direction behavior and disables platform behavior. However, since the player object doesn't have a wall to its left, event 12's conditions are met, switching the behaviors back.

The fastest and simplest solution is to combine events 10 and 12. You can also combine events 9 and 11 with an OR statement so your events aren't redundant:
zatyka2013-12-10 14:00:28
B
62
S
19
G
8
Posts: 341
Reputation: 12,075

Post » Tue Dec 10, 2013 2:57 pm

I tried several ways to solve it... but not this way, hahaha! Very simple.
Thank you a lot, friend!
B
43
S
6
Posts: 79
Reputation: 4,235


Return to How do I....?

Who is online

Users browsing this forum: alextro, ivanski1983 and 12 guests