About Store Forum Documentation Contact



Post Reply 
Update Order
Author Message
Scarlet Thread Offline
Member

Post: #1
Update Order
Is there a way for me to control the update order of Game::Obj's in the World? the order seems to seems to change randomly over time.

Cheers.
05-23-2013 03:30 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Update Order
You can only use Game.Obj.reliesOn
For example you have a Character riding a Horse (like in ERPG2).
You may want to update the horse first (to set its animations), then update character (to animate accoring to horse animation).
You just return the horse in the characters reliesOn method and engine will handle proper updating order.
05-23-2013 03:37 PM
Find all posts by this user Quote this message in a reply
Scarlet Thread Offline
Member

Post: #3
RE: Update Order
Thanks that will do the trick
05-23-2013 03:54 PM
Find all posts by this user Quote this message in a reply
Post Reply