How do I set animation "crouch attack"?

  • 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.

  • 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

  • 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!

  • 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..

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • 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!

  • 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'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.

  • 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?

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)