).capx
Hello good day guys I search this file on forum and I want to use this as a base for my platformer project but there seems to be a problem if press the right or left arrow without lifting my hands and press it with "w" the animation still triggers it won't restart can you guys help me how to fix this one? thank you in advance
dl.dropboxusercontent.com/u/272748670/platformer%20(1).capx this one is the file
Develop games in your browser. Powerful, performant & highly capable.
up
Two things:
1) Use On animation finished to switch back, as 0.5 sec isn't enough time for it to play.
2) You only set "walk" on Key pressed, so after the 'attack' plays, the animation is still on 'attack'. I've moved 'walk' to Key down, instead.
blackhornet thank you so much dude really really thank you