avatarChat Easing

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
Goddes
Posts: 15
Joined: 25 Jan 2014, 21:08

avatarChat Easing

Post by Goddes »

Hello there, can anyone help me to make the avatarChat easing normal, I've seen its working with durations and for example if I click somewhere close to me it moves very slow while if its far it moves fast. I'd just like a normal movement, any suggestions how I could do that? :roll:
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: avatarChat Easing

Post by Lapo »

We have already replied to your email request. No need to double post.
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
coolboy714cp
Posts: 323
Joined: 06 Feb 2010, 02:45
Contact:

Re: avatarChat Easing

Post by coolboy714cp »

I have done the same thing in another game of mine, and would just like to know if either of you could post the solution you have come up with. Mine is buggy sometimes and would like to know if your solution might cure the bugs I'm having (just a little jumpy movements occasionally). Hopefully I will receive a reply on this thread sometime soon. :)

Thanks in advance!
-Carson
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: avatarChat Easing

Post by Lapo »

The best way is to use an animation library.
They provide all the necessary tools to create animations with different types of easing.

Example:
http://www.republicofcode.com/tutorials ... weenclass/
https://code.google.com/p/actuate/
http://greensock.com/gsap-as
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply