Dash timing, stop on attack, and combo

Get help using Construct 2

Post » Fri Jan 04, 2013 8:34 am

Dash problem:

The "Player" has a "Dash" that boosts him until the animation stops....however sometimes that animation is interrupted and he continues to go at a very fast pace. Is there anyway I could fix this by having the "Player" go fast for a certain length of time starting with the animation?

Stop on Attack:

The "Player" can still move while I have him attack. How can I get him to hold still during animations "Attack1", "Attack2" and "Attack3"?

Combo Attack boxes:

I like my attack combo boxes, but the problem lies when I jump and press left click which enables the "AirAttack1" animation and I have the boxes from the combo I set up coming into play. They should only be "AttackBox2" every time I left click while jumping.

https://www.dropbox.com/s/2h81lhsa2ux8y2v/Test2.capx

WASD to move, Left Click to attack and Ctrl to Dash

Many thanks to anyone who can help or even attempt to helpMAVERICK2013-01-04 09:02:46
B
23
S
6
G
3
Posts: 122
Reputation: 2,922

Post » Fri Jan 04, 2013 3:14 pm

Stop on Attack:

Simply disable the input control while executing a attack animation

if you are using the "platform behavior" for example, simply enable the
Set ignoring input action to disable

and re-enable it at the end of your animation (you can use "on animation end" or compare the current animation frame to what ever frame number you want him to regain control on. eg: if on frame 10 of the animation set ignoring control to false

B
50
S
21
G
8
Posts: 844
Reputation: 10,299

Post » Fri Jan 04, 2013 6:40 pm

Thanks Justifun, I'll try it as soon as I get home from work.
B
23
S
6
G
3
Posts: 122
Reputation: 2,922

Post » Sat Jan 05, 2013 11:11 am

I got it....kinda. I mean I have it working, but it's not exactly as I want it. Do you mind taking a look at it and seeing if there is anything you would do differently?

Both on the left and right click of the mouse

https://www.dropbox.com/s/2h81lhsa2ux8y2v/Test2.capx
B
23
S
6
G
3
Posts: 122
Reputation: 2,922


Return to How do I....?

Who is online

Users browsing this forum: Mirlas, TELLES0808, Yahoo [Bot], Zakeru and 22 guests