Attack animation

Smiletowncrew

  • Posts: 29
I want to make a game with an actor, that attacks when i press on a button in 4 different directions. So when he is looking down he use a certain animation etc. But HOW? ;)
Teach me more master! :o

Tuo

  • *
  • Posts: 2469
It might help to know a bit about how you are doing your coding. Based on what you wrote, it sounds like looking down is an animation, so when attack is pressed, you can just see if the current animation for self is the looking down animation and do the attack accordingly from there.
Don't look to me but rather to the One who is the reason for what I do. :)

If you need help, send me a PM. Even if I haven't been on in the forums in ages, I still receive those messages via email notifications. You can also reply to any of my forum posts, regardless of the age (especially if I created it), and I will likely reply.

If you want to see the programming behind certain types of games, feel free to check out my "Demo-" games on StencylForge (http://community.stencyl.com/index.php/topic,16160.0.html)