![]() |
|
2D Game/App, Core Graphic - Printable Version +- iDevGames Forums (http://www.idevgames.com/forums) +-- Forum: Development Zone (/forum-3.html) +--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html) +--- Thread: 2D Game/App, Core Graphic (/thread-2447.html) |
2D Game/App, Core Graphic - matax - Aug 26, 2008 03:47 AM 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 2D Game/App, Core Graphic - ThemsAllTook - Aug 26, 2008 06:36 AM If I understand your question, NSTimer is what you want. |