..okay molotov,i'll try that out as soon as possible.
@axys ..holding down the control button or the left mouse button makes the player attack continuously;how can i make it so that the player only attack once even if the attack button is being held down?
..and is it intentional to make the attack animation start at the second or third frame and then cycle through the whole animation again?what i did was to change the line "my.animdist-=20*time" to my.animdist=0; in the function basic attack;the animiation started alright but the animation is too fast..
..and there's a bug (i think): jumping(or falling down) from a very high place and hitting the attack button while on the air will immediately pull the player to the ground where he's supposed to land..
..thanks in advance! ^_^