It continues to be an exciting time to develop on the iOS platform, and in the last couple of weeks some interesting news has come out. It appears that a new edition of Apple TV will be released later this year with support for iOS apps, and a new iPod Touch with front and back facing cameras. While these are just rumors it does make sense and seems like a logical step forward.
Here are the most popular iPhone and iPad programming resources from this site in terms of sharing and visits for the 2 weeks July 31st to August 13th:
Latest edition here: iOS Development Resources
2 Great New Open Source iOS Apps: iStrobe and Ecological Footprint – Article about two new high quality apps that the creators have generously released as open source.
Beginners iPhone Action Game Programming Tutorial – An extremely in-depth tutorial on how to program the gameplay in an iPhone action game.
Getting Your App Made Even If You’re Not A Programmer – Article detailing do’s and don’ts for those looking to get an app developed without any programming skills.
Blocks – An Interesting Objective-C Addition In iOS 4 – A tutorial on how to utilize the blocks feature to shorten code in iOS 4 (aka. closures) x5
iTV – Another Platform For iOS Apps? – Article disclosing some of the details of Apple’s rumored iTV device.
Handling Z-Ordering In Cocos2D Map Based Games – A tutorial about creating two custom classes that easily enable correct Z-ordering in Cocos2D map based games.
Custom iPad UISplitViewController Adds Many Slick Features – Open Source – Article on the release of an open source project allowing you to easily implement a UISplitViewController with many useful features added.
Good Explanation Of Instruments In Xcode – A good overview of the instruments available in Xcode.
Interesting Info About iAds For Developers – Article including info about how much iAds costs for developers and conversion rates.
How To Use Visio As A Level Editor – Tutorial on how convert Visio files into a .plist and then parse the resulting data as level data.
Hosting A Beta Test For Your iPhone and iPad Apps – Tutorial on the essentials of running an iOS app beta test such as ad-hoc distribution.
That’s it, thanks for reading.
Please share this by using the buttons below!
Welcome to my game programming tutorial on how to create a beginners action game for the iOS. This is a step by step tutorial for creating an iPhone action game. The principles taught also apply to the iPad.
You can see the result of a game running the code in the video below:
The graphics are a bit different with the tutorial (as some of those in the video are being used in an actual project) but that is the result of running the actual code within the tutorial.
Specificially the tutorial features:
- Loading/Placing Images
- Touch Events
- Sound Effects
- Background Music
- Resetting The Game
Pre-requisites For This Game Programming Tutorial
Now before we start there are a few pre-requisites. You should have a basic understanding of Objective-C and will need a Mac with the iPhone SDK installed. The game was created using iPhone SDK 4.0, and the Sparrow Framework. Also note that I created this to be as easy to follow as possible so I used a minimum number of classes/methods to make it as easy as possible for a beginner to follow – I’ve even exclusively used autorelease objects so you don’t need to worry about memory management (one of the facets of Objective-C many beginners have trouble with).
Why Am I Using The Sparrow Framework In This Game Programming Tutorial?
In case you’re wondering why I chose to go the route of using the Sparrow Framework it’s because I believe it is the easiest iPhone game development framework available for free for a beginner to start with, and it has already been used in a number of games in the app store.
Please share this tutorial by tweeting it or sharing using one of the buttons at the bottom.
You can navigate through the tutorial by using the page numbers at the bottom of each page.
If you’d like to jump right in you can download a project with all the resources loaded in here.
Getting The Code
You can download the code using the download links at the end of each page, or you can use the Github project found here:
Otherwise if you’d like to go the route of installing Sparrow, and setting everything up you can visit the Sparrow Framework getting started page here which explains the process of setting up an Xcode project that utilizes the Sparrow Framework. You can get just the game assets (graphics/sound) here.
The tutorial is definitely not perfect, and there are probably some spelling/grammar mistakes, but it is the most extensive single tutorial I’ve seen around and might never be released if I tried to perfect it 🙂
The first thing we’re going to do is start the game scene by displaying in a background image, adding the score and level text, and playing some music. To navigate through this game programming tutorial use the page numbers at bottom, now go to page 2 by clicking that number at the bottom of this article to go to that page.