Using your own gameloop logic on iphone?
Posted
by
kkan
on Game Development
See other posts from Game Development
or by kkan
Published on 2012-04-01T07:24:38Z
Indexed on
2012/04/01
11:43 UTC
Read the original article
Hit count: 502
I'm currently working on moving some android-ndk code to the iphone and have hit a wall. I'm new to iphone development, and from looking at some samples it seems that the main loop is handled for you and all you've got to do is override the render method on the view to handle the rendering and add a selector to handle the update methods. The render method itself lookslike it's attached to the windows refresh. But in android I've got my own game loop that controls the rendering and updates using c++ time.h. is it possible to implement the same here bypassing apple's loop? I'd really like the keep the structures of the code similar.
Thanks!
© Game Development or respective owner