I'm trying to work in a game like 16 bit platform action game and I'm using the platform behavior. But I would like to have:
I know I can just use commands to have those movements, but is it possible to have this inside the platform behavior to have a better animation management?
Can I change the jump button instead of Up Arrow to any other button?
Develop games in your browser. Powerful, performant & highly capable.
you just need to find a way that works for you to manage the animations. for example i have a tripping behavior when my player collides with objects and an instance variable "isTripping" that gets set to true, so i set my default animation to play when:
> set player animation "default"
It's more or less working, but not perfect. My behavior is like this:
<img src="http://s18.postimage.org/58pr3fs09/Untitled_2.png" border="0" />
The character is on duck when I press down and he changes the animation if I do any other input, like walk or jump. The problem is he doesn't back to normal after released the down key.
I tried to use the idle animation if duck is false, but then the character is always on idle.
Do you know how can I "back to normal" if duck is false?