2D Game/App, Core Graphic

Posts: 1
Joined: 2008.08
Post: #1
Hi there,
I'm starting using the SDK, and I would realize a pong clone app using Core Graphic, for draw paddles, ball and score.
I read the documentation and trying draw path, rect and other things using Core Graphic and it's all ok.
Now my problem is that I need a cycle (60fps?) where I put the code for update coordinates of the paddles and ball and after it redraw all with the new data.
I always use "Utility Application" template and then import Core Graphic framework to the project.

ps sorry for my english
Quote this message in a reply
Posts: 1,563
Joined: 2003.10
Post: #2
If I understand your question, NSTimer is what you want.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Core Animation Architecture in Games Mattonaise 3 7,236 Apr 6, 2011 03:56 PM
Last Post: Mattonaise
  What's wrong with Core Graphics and UI? Lazarwulf 1 4,803 Nov 12, 2008 12:33 PM
Last Post: longjumper