iPhone From Scratch

October 5, 2009

So here, I wanted to post some of what I have found out while learning to make iPhone games. My hope is that by posting my results it may help others to get going faster and ultimately make a better community for iPhone coders.

The Baseline

I imagine that anyone who may be reading this probably knows how to get started, but for completeness, let’s start with the absolutely easiest thing. This is equivalent to Hello World, just a proof-of-concept to verify that everything works.

Start a new Xcode project by going to File - New Project.

Choose OpenGL ES as a new project

Choose OpenGL ES as a new project

Pick a reasonable place to store your project like any other, then click the nice big Build and Go button.

Build the new project and run it in the Simulator.

Build the new project and run it in the Simulator.

If you click Build and Go (instead of just Building), and if you left everything else as the defaults, then Xcode will run your app in the iPhone Simulator right after it’s done compiling. You should see something exciting like this:

Standard output window for seeing compilation results.

Standard output window for seeing compilation results.

Observe the template's content running in the iPhone Simulator

Observe the template's content running in the iPhone Simulator

I know it’s not too exciting. Mostly this post is for me to build confidence in posting pictures and whatnot to these posts. Interesting (!) stuff starts next time.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.