ShiVa Developer Forum • View topic - Animation


All about the StoneScript


Postby unistudios » 2017-02-13 05:42

I am using states for my animations like Idle (idle, walk, run), and Crouch (CrouchIdle, CrouchWalk). when I change the state Idle to Crouch I use ;

animation.setCurrentClip ( this.getObject ( ), 0, 4 )

But animation change so fast and doesn't look well, is there a way to change the animation more smooth?
Fresh Boarder
Fresh Boarder
Posts: 10
Joined: 2016-07-01 07:57

Re: Animation

Postby Shaderman » 2017-02-13 07:42

You want to blend animations. Check out the iPhone character control example to see how it works.

Further reading ... BlendMode/ ... on-system/
User avatar
Platinum Boarder
Platinum Boarder
Posts: 660
Joined: 2012-03-24 11:33
Location: Heidelberg, Germany

Re: Animation

Postby Mcculley » 2017-11-19 12:29

I was wondering about this as well. Great resources, thanks for the info.
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 2017-11-06 10:47

Return to Game programming

Who is online

Users browsing this forum: No registered users and 7 guests