frame rate for a Quartz game?
What is a good frame rate (how many times per second setneedsdisplay is called), for a 2D game using Quartz graphics?
Right now I have the entire window get redrawn, and I noticed in the simulator that it is hard to follow on screen a text string attached to my moving game element. I am doing 33 FPS right now.
Game is pretty simple and not at all resource intensive, even for the iPhone.
Right now I have the entire window get redrawn, and I noticed in the simulator that it is hard to follow on screen a text string attached to my moving game element. I am doing 33 FPS right now.
Game is pretty simple and not at all resource intensive, even for the iPhone.
aerospaceman Wrote:What is a good frame rate (how many times per second setneedsdisplay is called), for a 2D game using Quartz graphics?
Anything equal to or greater than the minimum frame rate you need to smoothly display changes...

Quote:Right now I have the entire window get redrawn, and I noticed in the simulator that it is hard to follow on screen a text string attached to my moving game element.
I'm not really sure what that means. 30+ fps is certainly capable of animating elements well enough.
Any full screen redraw with Quartz on the actual device is going to be ungodly slow. Less than 10 frames per second. If you are writing a game that redraws the entire screen for animation, you simply have to use OpenGL ES.
The simulator's speed means nothing, you will not get 33 FPS on the device. You will get 5-10.
The simulator's speed means nothing, you will not get 33 FPS on the device. You will get 5-10.
Possibly Related Threads...
| Thread: | Author | Replies: | Views: | Last Post | |
| Frame rate issues | markhula | 7 | 5,817 |
Jan 15, 2011 09:47 AM Last Post: markhula |
|
| Frame Rate Consistency | daveh84 | 4 | 3,142 |
May 4, 2010 12:19 PM Last Post: AnotherJake |
|
| limiting frame rate | NelsonMandella | 14 | 5,299 |
Sep 16, 2009 02:57 PM Last Post: bmantzey |
|
| iPod low upgrade rate to 3.0 | jjslay | 4 | 2,735 |
Jul 31, 2009 09:38 AM Last Post: bruss14 |
|
| mac mini simulator - slow frame rate | sumiguchi | 3 | 3,407 |
Dec 18, 2008 08:56 AM Last Post: SafariAl |
|

