Search found 3 matches

by AohmZ
Thu Aug 04, 2011 4:47 am
Forum: Game Programming
Topic: Object Update Loops
Replies: 5
Views: 1589

Re: Object Update Loops

Is there anywhere you can point me for information on animators and triggers?
by AohmZ
Thu Aug 04, 2011 4:41 am
Forum: Game Programming
Topic: Object Update Loops
Replies: 5
Views: 1589

Re: Object Update Loops

is there a specific reason why each object needs to have a scene node? Yes, each object is something that is rendered. This kind of loop, in general, shouldn't be called every frame. They should be used for game logics that can tolerate delays. For animations, use animators. For time sensitive game...
by AohmZ
Thu Aug 04, 2011 2:00 am
Forum: Game Programming
Topic: Object Update Loops
Replies: 5
Views: 1589

Object Update Loops

I have been working on a game, that involves individual update loops for each object. I have my program structured so each object class (BaseObject) contains a scene node. Currently the code for updating is as follows: void State::run() {     for(list<BaseObject*>::Iterator it = objectList.begin(); ...