allevlativ's Forum Posts

  • Already use the timer but it stop when attack1 animation is finish

    and using the dt i just dont know where to start

    ive read tons of combo forum and video tutorial nothing solve my problem but i think the timer method is how it works

    its like when combo1 is finish and the key is not press under 0.25sec, player play idle animation, but if the key is press under 0.25sec after combo1 is finish, player play attack1 animation back and this process will repeat over and over again until i stop spamming.

    this is the capx www(dot)dropbox(dot)com/s/qi51yuvcpg0rtgi/IworryabouttheWarrior.capx?dl=0

  • i have 2 animation

    attack1 and combo1

    on A key press my player will play attack1 animation and if the key is press again with under 0.25sec my player will play combo1 animation.

    The problem is on the 3rd key press and so on it keep play the combo1 animation until the key is release then it will stop, how do i make my player keep repeating the animation to attack1 animation back after the animation combo1 is done even if i spam the the key?

    see my event sheet here https://www(dot)dropbox(dot)com/s/58yjzoz5e8864bs/Untitled.png?dl=0

  • about cropping the transparent edges i just follow from tutuorial lot of em doing that , im still in learning how frame size and the origin point of each frame effect the animation, like on my attack animation u put the origin point on the worrior back leg on each frame it looks perfect now but on tutorial that i've learn they used to put the origin point in between the leg, tqsm it fix i cant believe it just that simple actually.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • This the capx file

    www(dot)dropbox(dot)com/s/sxnzpfy6ybzqelg/testingworrior.jpg?dl=0

    This the img

    www(dot)dropbox(dot)com/s/9nqwggings058kx/worrior%20testing.capx?dl=0

    Sorry for the wrong link just now

  • this is my capx

    www(dot)dropbox(dot)com/home?preview=worrior+testing.capx

    this is the image of my event sheet unless you cannot open my capx

    www(dot)dropbox(dot)com/home?preview=testingworrior.jpg

  • I make a variable to my playermask "normalattack" to false

    And then when A key is down set playermask "normalattack" to true

    When "normalattack" is true > play realplayersprite animation to Punch which is only have 1 frame

    The problem is as long as the A key is down it freeze the animation and when i release the key it goes back to idle

    How can i make the animation just play once after the A key is press and not freeze the animation if i hold the key down? Like street fighter game kinda thing. Can someone help ?