how do i make an attack animation?

0 favourites
  • 5 posts
From the Asset Store
Zombie attack is a survival game, where you have 2 types of games: Killer and survival.
  • i made walking and jumping animations, but, when i coded the attack animation

    /on left button clicked

    /is animation "attack" NOT playing

    ----set animation "attack" (play from beginning)

    but, when i am walking or jumping while clicking the animation doesen't play, it only plays when i am on the falling state, i tried several tutorials, but it never works, i really need help, if you've got the correct code or an solution i would be very thankful.

  • Because the other conditions are true for walking and jumping I guess. You have to make it so they don't conflict and play at the same time. If attack is the overruling animation when you left click then on the conditions for walk and jump you need to add a condition 'attack animation is not playing'.

  • Because the other conditions are true for walking and jumping I guess. You have to make it so they don't conflict and play at the same time. If attack is the overruling animation when you left click then on the conditions for walk and jump you need to add a condition 'attack animation is not playing'.

    meh it doesent work, fuck it im gonna drop it, i can't even program man

  • Let's see a screenshot of your events for the other animations

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • ok so what do you need to know is that "pulando" is the jump aniamtion "andando" is the walking animation and the attack animation is "ataque" also focus on the "jogador 1" animations because the "jogador 2" animations are for a NPC that follows the player

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