Posts Tagged ‘programming’

iPhone Game Programming – Tutorial 1

OK, so I have finally managed to get my first video tutorial done for writing a game on the iPhone.

This Tutorial will cover the basics of taking an OpenGL ES Application template available in Xcode and making the changes necessary so that we can use it for writing out game. The game I am going to be creating is a 2D game to keep things simple as I’m still learning myself :o)

I have found some very using sites for learning OpenGL on the internet. Its important to remember that the iPhone use OpenGL ES which is different to normal OpenGL. For our needs it should not present a problem, but it something you need to be aware of. I’ll be mentioning in the Tutorials where I come across the differences.

A couple of sites I have found useful are:

NeHe Productions

OpenGL ES 1.1 Ref Page

I am sure there are many other sites out there that can help as well.

The basis for my learning to write a game on the iPhone so far is the CrashLanding exmples provided by Apple. This is something I refer to in the video and also something we will be taking some classes from so its worth having it to hand. It should have been included with the SDK or can be downloade from the iPhone portal.

I hope you enjoy this first Tutorial. It is my first so forgive any mistakes or poor style. I hope it will improve over time. Please post any questions or comments you may have.

Play Tutorial 1

Tutorial 1 Project

Mike

Discuss in our community forum.

Share:
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • Design Float
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • Scoopeo
  • Tumblr

Custom button in UITableViewCell – indexPath

Hi all

I am currently working on iPhone app number two when I came across a problem that it has taken me a while to sort out.  I wanted to place a button inside each UITableCell I am displaying.  I then wanted to call a method when the user pressed that button which would perform some action on the information related to the contents of that cell.


Read more

Share:
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • Design Float
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • Scoopeo
  • Tumblr

Programming the iPhone

I don’t write software at work anymore, although I used to be a developer years back, but I still enjoy writing software at home for my own uses.  My main area of interest at the moment is Java and writing 2D games in it.  I’ve got a couple of projects on the go which I will post about later.

As I mentioned in an earlier post, I’m looking forward to the iPhone 3G coming out, and also being able to write native apps in it. I downloaded the iPhone SDK a month back and have been playing with it a little since.


Read more

Share:
  • Digg
  • del.icio.us
  • Facebook
  • MySpace
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • Design Float
  • DZone
  • email
  • Google Bookmarks
  • LinkedIn
  • Scoopeo
  • Tumblr

Twitter (@71squared)

About the authors

John is a Web Developer working in Perth, Australia for Bouncing Orange - graphic + web design.

Mike works for Vindicia, the leading subscription and payment management solution for digital merchants.

They both love technology, especially Apple.