![]() |
to avoid lag serverside?
I'm thinking of ways I could modify my movement system for serverside use.
I have a moveObj function, that right now on the clientside uses recursion to complete it's movements for movements greater than it's width+15/16 and it's height+15/16. This will be using the move function. My question is, would it be better to pre-iterate through the entire movement and then use move, or would it be better to use the movementFinished event handler in recursion? Right now I'm leaning towards the former because I'd probably want to reserve the onMovementFinished event for the NPC using the class. |
| All times are GMT +2. The time now is 03:46 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.