Categories
71squared.com class development game iphone programming singleton WordPress

iPhone Game Programming – Tutorial 7 – Singleton Class

This is a small tutorial on how to create and use a Singleton class. Whilst I’ve been creating these tutorials it has become clear that managing state is important in your game. The ability to manage both the OpenGL state locally and also any state related to your game is a key building block for…

Categories
71squared.com game iphone programming Tutorial WordPress

iPhone Game Programming – Tutorial 5 – Animation Class

Tutorial 5 is now uploaded and ready to view and runs for around 37mins. This tutorial covers the Animation class which allows you to specify a series of sprites which are displayed on screen in order. This class allows you to add any number of frames to an animation and also specify how long each…

Categories
71squared.com development game iphone programming WordPress

iPhone Game Programming – Tutorial 2 – Image Class

I have finally been able to upload the second tutorial on writing a game on the iPhone using OpenGL. This Tutorial has turned out to be longer than I thought and comes in at around 1.5 hours. It covers the creation of an Image class which wraps around the Texture2D class and functions which I…