• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Best solution for game loop on OSX?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Best solution for game loop on OSX?
      • From: Alex Hall <email@hidden>
References: 
 >Best solution for game loop on OSX? (From: Alex Hall <email@hidden>)
 >Re: Best solution for game loop on OSX? (From: Dan Treiman <email@hidden>)
 >Re: Best solution for game loop on OSX? (From: Alex Hall <email@hidden>)

  • Prev by Date: Re: Best solution for game loop on OSX?
  • Next by Date: Re: Best solution for game loop on OSX?
  • Previous by thread: Re: Best solution for game loop on OSX?
  • Next by thread: Re: Best solution for game loop on OSX?
  • Index(es):
    • Date
    • Thread