Problem with my attack animation

Get help using Construct 2

Post » Wed Aug 29, 2012 3:44 pm

Hey guys!

I'm having problems with my characters attack animation.

Anyone care to assist me?

CAPX HERE

Thank you

~Stereo~
B
11
S
3
G
2
Posts: 32
Reputation: 2,644

Post » Wed Aug 29, 2012 5:42 pm

Seems to works with Space is down instead of On Space pressed.
B
79
S
32
G
23
Posts: 119
Reputation: 14,937

Post » Wed Aug 29, 2012 6:06 pm

Yea, I know. But that way I have to keep it pressed to see the whole animation rather than to see the whole animation on one press.
B
11
S
3
G
2
Posts: 32
Reputation: 2,644

Post » Wed Aug 29, 2012 6:20 pm

Would love to help, but I'm on r95 :(
@bearboxmedia
www.bearboxmedia.com

Nintendo Wii U Developer using Construct 2
B
68
S
8
G
6
Posts: 930
Reputation: 9,358

Post » Wed Aug 29, 2012 6:22 pm

See if this is more what you had in mind.

Basically, I gave your character a boolean for when he's attacking, and then the other animation events only trigger if he's not currently already attacking.

GAMEwhiteheat2012-08-29 18:23:24
B
7
G
1
Posts: 27
Reputation: 991

Post » Wed Aug 29, 2012 6:26 pm

Well, I can try to explain it. The event is explained as so:

Keyboard: On key (Space) pressed - Playerpin, set check to "attack".

Attack as in variable.

The animation only shows one frame, when I change it to "Key is down". The animation goes trough but I need to hold the key down.

This is my dilemma. :P
B
11
S
3
G
2
Posts: 32
Reputation: 2,644


Return to How do I....?

Who is online

Users browsing this forum: currypuff, makotto, randomly, Walessio and 28 guests