avatarChat Easing

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

Moderators: Lapo, Bax

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

avatarChat Easing

Postby Goddes » 06 Mar 2015, 11:37

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: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: avatarChat Easing

Postby Lapo » 09 Mar 2015, 14:32

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

Re: avatarChat Easing

Postby coolboy714cp » 10 Jul 2015, 02:39

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: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: avatarChat Easing

Postby Lapo » 10 Jul 2015, 07:22

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

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 35 guests