How do I Make a Combo Chain system

Get help using Construct 2

Post » Sat Aug 22, 2015 10:03 pm

I've been working on an a platformer for a while and I've been having a lot of trouble with making a combo system, here is what I have, also please ignore some of the names of these Booleans I was getting really frustrated:
Image
Everything works as it should until the : -On Z Pressed
-Is canPunchBegin2
The animation "Punch3" doesn't work and the game is just stuck on the "Idle" Animation and I don't have any control.
If someone could potentially fix this code or give me a hint on how to make a better combo system then I'd gladly appreciate it.
The way I want the system to work is:
-When Player presses Z their control is taken away and they begin the first punch animation
-When the first punch animation is finished the Player has 0.2 second to press Z again or else they reset back to the idle animation
-If Z is pressed in those 0.2 second then the second punch animation is played
-When the second punch animation is finished the Player has 0.2 second to press Z again or else they reset back to the idle animation
-If Z is pressed in those 0.2 second then the third punch animation is played
-When the third punch animation is finished the player goes back to the idle animation and can restart the chain again.

Thanks for reading.
B
4
Posts: 10
Reputation: 216

Post » Sun Aug 23, 2015 12:53 am

Hey Gewku,

Try this example and let me know if you have any troubles incorporating it into your own project.

https://db.tt/D23KGfv1
ImageImage
B
131
S
23
G
7
Posts: 1,079
Reputation: 13,307


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 24 guests