Included in the iPhone SDK is another “application-builder” named Dashcode.  If you have the iPhone SDK installed (and the iPhone SDK is the only way to get Dashcode as far as I know), then you can find Dashcode at Developers::Applications folder. The icon looks like this: Dashcode was originally a tool for developing Widgets, is […]

Random Tech Posts
May 16, 2009

Running Mac OS X Leopard on Netbooks (Mini Laptops). Yes, I know it can be done but I wasn’t brave enough to try it.  Mac OS was built to handle some set of hardware, which Apple know for sure are on their Macs.   And when Mac OS is run on a machine where it’s not […]

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 […]

Here are some links to get started with iPhone game programming: Brandon Trebitowsky at http://icodeblog.com/ has nice tutorials on Game Programming using the UIImage.  Following the first two-parts of the tutorial, you can build a nice pong-like game.  He also has sections for iPhone general programming, in case you’re interested in that sort of thing […]

Hello Cocos2d
April 8, 2009

This is a guide to create a Hello World application for cocos2d.  If you have not installed and compiled the Cocos2d successfully, then follow the previous guide here. Note: this guide is written for cocos2d version 0.71. If you are using 0.73 or later and are having issues, check the following post: https://permadi.com/blog/2010/03/cocos2d-compiling-hint/ https://permadi.com/blog/2010/03/cocos2d-for-iphone-migrating-0-71-to-0-73/ Step1 […]