Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2006, 05:36 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 02:00 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.