playMaker

Author Topic: Animationproblems[SOLVED]  (Read 2199 times)

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Animationproblems[SOLVED]
« on: September 07, 2013, 08:11:39 AM »
Hi!
I have asked for this problem before, but I will ask again. This time I also share the file, so you can see what I'm talking about.

The problem is that when I'm walking right and then I'm walking left, but do it very fast, the animation state just stop at the Idle state.
It's better you try it.
This has been a problem for me for a while, so I hope someone can help me this time!

The file is two big for these forum, so I share the link

[EDIT] Link removed: please do not share playmaker folder, this is only licensed per person. simply remove the playmaker.dll from your package to safely distribute them
« Last Edit: September 13, 2013, 07:04:04 AM by jeanfabre »
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Animationproblems
« Reply #1 on: September 13, 2013, 06:06:36 AM »
Hi,

 I had a look at your implementationg, the problem lies in your "animation" fsm.

 basically, you should check the horyzontal axis value to determing what animation to play instead of what key is pressed, it will always be cumbersome otherwise.

so: get the value of the horizontal axis, if it's not 0, then play the right walk anim. It' smuch easier like that.

I have attached a working version of the scene. Study the "animation 2" fsm.

If you have any questions, let me know.

Bye,

 Jean

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Animationproblems
« Reply #2 on: September 13, 2013, 06:50:08 AM »
Thank you so much! ;D ;D ;D
Finally it's working!

Can I just ask you for another thing? If I want my character to jump or hit or do another animations, is the best way to put all the animations in there own FSM, or put everything in the same FSM?

Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Animationproblems
« Reply #3 on: September 13, 2013, 07:03:51 AM »
Hi,

 I would recommand you separate them, it's better and more manageable

bye,

 Jean

Rabagast

  • Hero Member
  • *****
  • Posts: 683
    • Homepage
Re: Animationproblems[SOLVED]
« Reply #4 on: September 13, 2013, 01:00:53 PM »
I try to figure out how I can change the animation Walk to Run when I press down the SHIFT-Key. The run FSM should be the same as the Walk FSM, except the animation. Do I need to disable the walk FSM and enable the run FSM?
I would be very grateful if you could just help me with this, then it's easer for me to do the same with the other animation FSM :)
Check out our homepage. http://www.walsberg.no
Or my personal game blog for news about my games. http://retro-tetro.walsberg.no