Continuing from Part 1, this part will demonstrate the followings: * Loading image dynamically using UIImageView * Using array Step 1 Open the Ball project created in Part1. Step 2 Import another image into the Resources Group (you can use the same image as previously, but it won’t be as much fun). Step 3 We […]

iPhone likes CAF (Core Audio Format), but how do you create or convert to a CAF file? 1) Use the afconvert tool from Apple. This is a command line application that you need to run from the shell prompt. Example: Documentation: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man1/afconvert.1.html To batch multiple files, I have found it useful to write a batch […]

There are what will be demonstrated: * Using Transformation. * Using UIImageView. * Using interval for animation. * Associating image with objects. * Deriving a class from UIImageView. Step 1 Create a New Project. Select iPhone OS Application -> View-Based Application. Name it Ball. Step 2 Import an image into the Resources Group.  If you […]

In this example, we will use Cocos2d’s scripted animation to create a bouncing ball animation. This example assumes familiarity with setting up a simple cocos2d project.  Please review the previous guides if necessary.  The example below is based on the cocos2d example named Click And Move which came with the cocos2d package. Note: this guide […]

Coco2d is an SDK geared toward games development for iPhone and iTouch.   It was originally written for Phyton language.  It is licensed under GNU LGPL. Where To Download: http://code.google.com/p/cocos2d-iphone/ Requirements: Mac running Mac OS that supports the iPhone SDK (mine is Mac OS 10.5.6) Xcode version 3 or newer iPhone SDK For help on installing […]

Some people are asking where to get the iPhone SDK?  First of all, you need: a machine running Mac OS X Leopard. Xcode IDE (this is Apple’s development tool). the iPhone SDK You do not necessarily need an actual iPhone for development because the iPhone SDK comes with an iPhone simulator which can run iPhone […]

John Carmack of Wolfenstein fame has released an iPhone port of the ground-breaking game.  Read his note and insight into iPhone game-development at: http://www.idsoftware.com/wolfenstein3dclassic/wolfdevelopment.htm Source code download link: ftp://ftp.idsoftware.com/idstuff/wolf3d/wolf3d_iphone_v1.0_src.zip Apple Store link: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=309470478&mt=8 Note: screen-shots taken from Apple’s AppStore.