How do I make a keycombo for walkcycle?

Get help using Construct 2

Post » Mon Feb 01, 2016 4:32 pm

Hi,
i am struggling to find the solution to my issue:
I want to make 2D-scroller where the challenge is to press two keys on the keyboard in order to run (for example A and B). If you wont press, you will fall behind and get eaten by a zombie. so you have to constantly press A and B to keep running to survive (Winter games style). Is that even possible?? I'm so new to this...
thank you so much
B
3
Posts: 2
Reputation: 181

Post » Mon Feb 01, 2016 5:04 pm

You should use booleans (true or false), by adding instance variables to your player.
Then, you should have both animations for left and right legs doing a step.
Probably would work better with custom movement, but I'm sure there must be a way with platform behavior.

Give it a try, and post your capx if you have problems.
B
43
S
12
G
14
Posts: 488
Reputation: 10,570

Post » Mon Feb 01, 2016 6:43 pm

Thank you for the quick reply! I will update as soon as i tried it.
B
3
Posts: 2
Reputation: 181


Return to How do I....?

Who is online

Users browsing this forum: Kyatric and 57 guests