Re: Best solution for game loop on OSX?
Re: Best solution for game loop on OSX?
- Subject: Re: Best solution for game loop on OSX?
- From: Seth Willits <email@hidden>
- Date: Mon, 16 Dec 2013 17:06:13 -0800
On Dec 16, 2013, at 3:21 PM, Alex Hall <email@hidden> wrote:
> I went ahead and used timers, just to get things off the ground. Many people seem to dislike them, but they work for me, for now anyway. It's really helpful to know about CVDisplayLink, though, if I ever implement graphics or need a more strict timing solution.
This subject line is really misleading.
Having no graphics at all makes a big difference. You would not implement a solution to your problem as you would "the best way" for a game, and the solution you need depends on your actual requirements.
"update the position in small increments many times per second" —
What does "many" mean to you? What level of accuracy do you need? How should this interact with the main thread, etc?
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden