Page 1 of 1

Avatar moving Slowly!

Posted: 16 Mar 2012, 15:54
by Bosskafett
Hello fellow SFS Fans,

I have made another avatar chat based game with SmartFoxServer. Everything works really well thanks to SmartFox apart from the movement of the avatar. The thing is that it moves on other screens, but is very slow and gradual compared to the client's screen. I would appreciate some support in this as this has never happened before.

This is the only thing I've changed:
I have transformed the Mouse Listener to a function:
'function movePlayer(){'
and I have implemented a movie clip which fits the exact area necessary for the avatar to move:
'on(press){movePlayer()}'

thanks,
Jack

Re: Avatar moving Slowly!

Posted: 18 Mar 2012, 21:59
by rjgtav
Hi.
Well, what do you mean by slow? You mean it starts at a later time, but takes the same time to reach a specific position, or does it take longer (like one second more) to reach the final position? In the last case, is that delay consistent? I mean, does it always just take 1 second more to reach the destination?
Does it at least reach the correct destination?
If you could share some of the code it would help.
And that issue you're not facing is not server-side related, only client-side. That's why I'm moving this to the General Discussion session.

Re: Avatar moving Slowly!

Posted: 23 Mar 2012, 12:30
by Bosskafett
Basically it shows signs of moving but it stops and then moves a little, then stops and when you remove a user from the room it suddenly moves properly but then stops and starts moving slowly again. Overall it could take up to 5 munites to complete a single movement in slow steps. But the movement is normal on the client's screen but not on other screens. :?:

Re: Avatar moving Slowly!

Posted: 26 Mar 2012, 21:32
by rjgtav
Well, it looks like you're always sending updates to the other users that your character is moving... And so on the other clients it is always resetting the movement...