I hate to admit this, but I come from old school game development (c.
1989) and am used to processing game data in an update loop or idle
event.

I'm trying to figure out the best way to approximate this in cocos2d.
Looking at pyglet, I could override the window idle function but that
seems pretty heavy handed.

I'm happy using the event model that exists for handling *UI* in
cocos2d

But what is the best way (aside from an MVC model, please not that) to
get regular updates for processing game data?  Ultimately, my ideal
update event would get the delta time, process game data accordingly,
then allow cocos2d/pyglet handle all the scene graph drawing on its
own.

Would the cocosnode schedule function would be the right place to
start?

If so, what does 'every frame' mean in the context of the callback?

Thanks for your help!

~Nick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to