DesignerSpecial's Recent Forum Activity

  • Hi, sorry to bump this but I'm still having problems. If I release left/right before attacking, everything is fine, but the problem occurs if I continue holding a direction while pressing attack. I tried adding "is walking" and "attack animation not playing" commands, but it does not help. Do you have any other suggestions as to what I might try? Thanks.

  • Thank you for the suggestions. I did switch the global variable to a private one, but I'm not having as much luck with the other fixes.

    • Adding an inverted 'Animation "Punch" is playing' to the walking condition does not help with the problem of the walking animation interrupting or canceling the punch animation (same for Kick obviously). Another issue is that sometimes only one frame of the 3 frame punch animation comes out when pressing attack while walking.
    • The problem with the switching animations in the middle of an attack isn't between Punch and Kick, it's that if the character is facing left and starts to punch and I press right during the animation, she switches to the mirrored punching animation.

    Thanks in advance for any further advice.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello,

    I just discovered Construct about a week ago and have been very impressed with it so far. Having come from using other editors like OpenBOR and Game Maker, it's already easier and has more of the features I need even at this early stage. However, I'm running into what's probably a pretty noob problem and was hoping someone could point me in the right direction.

    I'm using the following code to make a character (named Pink) that can move back and forth and attack. Pink needs to stop moving when she attacks, thus the "Pinkcanmove" variable. However, I'm running into two problems with this code:

    • If you press attack while walking, the animation flashes one frame for a split second and then she keeps walking. I want to have it so that when you press attack, the command overrides the movement, she stops moving, and the attack animation comes out.
    • If you press left or right during the attack animation, that animation is interrupted and mirrored. I understand the mirroring (there are left and right attack animations), but not why you can switch animations in the middle of the attack. I'd like to stop this from happening.

    Here is the code:

    <img src="http://webpages.charter.net/designerspecial/code.jpg">

    Pink is using Platform movement even though she only moves left and right.

    Sorry to ask, I just couldn't find a solution to this in the Platform tutorial or on the Wiki (but maybe I missed something). Thank you very much in advance.

DesignerSpecial's avatar

DesignerSpecial

Member since 23 Jun, 2009

None one is following DesignerSpecial yet!

Trophy Case

  • 15-Year Club

Progress

15/44
How to earn trophies