Yo! Beginner flash game maker here! I just started learning how to make a plat former and am able to successfully create a ground and jumping player. THEN I learned how to make an animated player with different animations for each action. I got it to work, but there are some problems. As in, things I don't know how to do.
1.) I made a falling animation, but don't know how to use AS to trigger it. Is there a funtion for if(falling) or something?
2.) I got my jumping animation to work, but it only works in one direction. Really stumped on this one, since I've experimented with the code for like a day now and just CAN'T get it to work in the other direction.
3.) I don't know how to stop an animation from happening once the player releases the button so that the idle animation can be played. For example, if I run right in the game and stop, the running right animation will still continue to play. Is there a if (Key.isReleased(Key.Right) code I can use or something? If so, I could probably easily remedy this with a touchingGround instance right?
So yeah, that's all I wanna do for now. Set up a properly working, animated character. THEN I'l get to all the V-cam, enemy, health-bar, wnning level, stuff. I'm even planning on incorporating rag-doll effects into it. :) If'n you guys need the code, just let me know. I'd appreciate the help. From what I've seen here, this is probably child's play for you guys.