iPhone Game Physics Tutorial: Radial Gravity

Physics can be a great way to enhance your game.

The problem is that implementing physics in your game can be extremely challenging, but I found a couple of great examples showing how to enhance an iPhone or iPad game using radial gravity with Box2D.

The examples are from Nick Vellios, and as you can see in the example above they show how to implement radial gravity on an object so that other objects are drawn towards it (much like how planets are drawn to the sun).

Update To Action Game Tutorial Source

I found out about a problem with a recursive directory search being included for already included header files in the beginners action game tutorial source code which was causing an error when built on some systems.

The source has now been fixed and can be found here.

Sorry for any problems.

Share and Enjoy:
  • RSS
  • Twitter
  • Facebook
  • DZone
  • HackerNews
  • del.icio.us

The Best Resources In iOS Development July 26th 2010 (For Week 07/17-07/23)

Thanks again for visiting the site, once again I’ve added more resources to the site, and have quite a bit more to add this week. Things slowed down a bit form the torrid pace of great resources being released, but still there were some excellent resources.

How To Use The Facebook Graph API In Your iPhone and iPad Apps

We all know Facebook is a massive database providing a wide variety of information about hundreds of millions of people, and the Facebook app has been tremendously popular on the app store.

Accessing the “Facebook Social Graph” can be done through the Facebook graph API, Facebook Connect was provided to give developers the ability to connect their apps with the Facebook database, but pales in comparison to the Facebook Graph API.

Find iOS Custom URL Schemes From Thousands Of Apps And Add Yours

I received an e-mail asking about how to find custom URL schemes for specific applications.

Just in case you are unfamiliar with a custom url scheme – this refers to binding your app to a specific url scheme such as twitter:// which when used will execute the related app on the user’s iOS device.  What’s really cool is that you can attach custom parameters depending on the app for example:
twitter://post?message=visit%20maniacdev.com