How do I set animation "crouch attack"?

Get help using Construct 2

Post » Thu Jan 07, 2016 7:41 am

I have gotten thus far, but how can I get my sprite "Monster" to play the "CrouchAttack" animation?

Another question, how can I get the "FistOfFire" sprite to face left when attacking to the left?

Move with "WASD"
Attack with ","

Here is the CAPX.:
https://www.dropbox.com/s/ct6o250kfjo5r ... ckup1?dl=0

Any help is appreciated.
B
24
S
7
G
3
Posts: 122
Reputation: 3,047

Post » Thu Jan 07, 2016 9:26 am

Second question:

Fist of fire on created
Monster is mirrored
> fist of fire set mirrored

First question

Keyboard on "," pressed
-- is animation crouch playing
> set aniation to "crouch attack"
-- Else
> set animation to "attack"
-- (blank subevent)
> Monster spawn fist of fire
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jan 08, 2016 6:38 am

Thanks LittleStain!

I applied it how I believe you meant, but while it may have fixed some things it also came with a few errors.

1) I can only "CrouchAttack" now even if I'm standing.
2) It appears that both spawns of the "FistOfFire" are appearing. From both imagepoints of the regular "Attack" animation and the "CrouchAttack" animation.

Any advice on that?

Here is an updated CAPX:

https://www.dropbox.com/s/ct6o250kfjo5r ... ckup1?dl=0

Again thank you so much for helping me!
B
24
S
7
G
3
Posts: 122
Reputation: 3,047

Post » Fri Jan 08, 2016 10:00 am

You now have two events with the same conditions, so yeah everything happens two times..

You can completely remove event 18 and sub-event 19 and remove the action on what is now event 22..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jan 08, 2016 6:27 pm

I'll try this when I get home tonight and let you know.

Just for future reference I want to make sure I am reading what you are telling me correctly.

"--" = Sub-event
">" = Action
" " = Condition

Is that correct?

Once again, thanks a ton LittleStain!
B
24
S
7
G
3
Posts: 122
Reputation: 3,047

Post » Fri Jan 08, 2016 6:40 pm

MAVERICK wrote:I'll try this when I get home tonight and let you know.

Just for future reference I want to make sure I am reading what you are telling me correctly.

"--" = Sub-event
">" = Action
" " = Condition

Is that correct?

Once again, thanks a ton LittleStain!


That's the way I write it, yes..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Sun Jan 10, 2016 6:38 am

I'm not getting this to work as I think you intended.
I suppose I could be doing something wrong on my end, but I tried it more than once.
B
24
S
7
G
3
Posts: 122
Reputation: 3,047

Post » Mon Jan 11, 2016 10:57 pm

Hi LittleStain,

I hope I am not bothering you, but I cannot get it to work.
Did you try it yourself and get it to work?
B
24
S
7
G
3
Posts: 122
Reputation: 3,047


Return to How do I....?

Who is online

Users browsing this forum: FacuLNF, Yahoo [Bot] and 58 guests