Alternative to NSTimer
reklis Wrote:I just wanted to take a moment to update this thread and say that with OS 3.1 there is now the CADisplayLink (developer.apple.com) class which allows developers to synchronize their code with the refresh rate of the screen.
Cocos2d has adopted this, click here for an exerpt (gist)from CCDirector.m
Doing that has a little problem: http://chitika.com/research/2009/iphone-...-worth-10/
BTW, What is the best way to manage game loop in 2.2 version? (without taking in account 3.0 or further) And does anyone know which method use successful games, let's say Rolando or Monkey Ball.
Thanks a lot for your ideas.
|Messages In This Thread|
Alternative to NSTimer - riruilo - Jan 11, 2010 01:52 PM
Possibly Related Threads...
|NSTimer fine, CADisplayLink having some issues||monteboyd||5||7,643||
Aug 31, 2010 07:05 PM
Last Post: Skorche
Sep 24, 2009 07:35 PM
Last Post: jeonghyunhan
|Using an NSTimer to progressively draw a view||StevenD||4||3,740||
May 14, 2009 07:57 AM
Last Post: StevenD
|OpenGL render loop - NSTimer vs rendering thread||smallstepforman||27||20,729||
Feb 2, 2009 10:22 AM
Last Post: ThemsAllTook
|Alternative Input/Control Ideas||chrisco||8||3,898||
Aug 6, 2008 03:21 PM
Last Post: bruss14