Categories
71squared.com development games iphone programming WordPress

iPhone Game Programming – Tutorial Update 1


So I’ve decided to try something different, which is to provide a quick update on what I’m doing via a screen cast rather than the written word. Its just a small video of around 4 minutes and shows some of the things I’m working on at the moment.
Let me know if you think if small video updates are useful or not. They don’t take long to do and I think its good to show the kind of things which will be coming up.
Check out these cool WordPress plugins! – CodeRevolution.

Categories
71squared.com development game iphone programming WordPress

iPhone Game Programming – Tutorial Update 2


Hi all and welcome to Video Update 2. This is a quick 8 min video just to show you what I’m working on for Tutorial 10. Things are hectic at the moment, but progress is being made.
I hope you enjoy the video update and as always, it would be great to get feedback and comments.
Check out these cool WordPress plugins! – CodeRevolution.

Categories
71squared.com development game iphone programming WordPress

iPhone Game Programming – Tutorial 10 – Part 1 – Game Structure


You will be pleased to know that the first part of tutorial 10 is now available for viewing. It’s taken me much longer than I would have liked to get this ready, but I’m glad that at least part 1 is out.

This part of the tutorial covers the changes to the project structure I have made along with how I am managing different game scenes such as the main menu and core game scene. It also covers some of the changes I’ve made to the Image class etc.
Check out these cool WordPress plugins! – CodeRevolution.

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 a game.

The Singleton pattern is a design pattern that is used to restrict the number of instantiations of a class to just one object. For our purposes we are going to use it to control state information we want to make global and share throughout our game, or at least available to other objects which want to get state information.

This tutorial covers the creation of a simple Singleton class and how it is implemented to provide state control of the currently bound OpenGL texture. I will be using this Singleton class in coming tutorials to help manage any state which is why I’ve done this tutorial to get the concept introduced.
Check out these cool WordPress plugins! – CodeRevolution.

Categories
71squared.com development game iphone programming WordPress

iPhone Game Programming – Tutorial 9 – Sound Manager


In this tutorial I create a simple sound manager class that can play back multiple sounds using OpenAL. It also allows you to play background music as well using the AVAudioPlayer class.
The reason for writing my own sound manager was to see how OpenAL works. Commenters on this blog provided some great links, see the “Sound of music… explosions and lasers”, so I decided to work through them and get something working.

This class is simple and provides basic access to playing sounds in OpenAL. It also makes use of all 32 sources OpenAL sources available on the iPhone so that the same sound can be played simultaneously which is great for explosions and laser fire.
Check out these cool WordPress plugins! – CodeRevolution.

Categories
71squared.com development game iphone programming WordPress

iPhone Game Programming – Tutorial 6 – Tiled Map Class


The next installment of the 71Squared iPhone Programming tutorials is now available. This tutorial covers a tile map class which can consume configuration files created using the Tiled map editor.
Check out these cool WordPress plugins! – CodeRevolution.

Categories
71squared.com development game iphone programming WordPress

iPhone Game Programming – Tutorial 3 – SpriteSheet Class


Hi all and welcome to Tutorial 3 in my iPhone Programming series on creating an OpenGL game.

This video runs for 46 minutes and covers changes to the project so far which are based on feedback I have had in the blog and also the creation of the SpriteSheet class.
Check out these cool WordPress plugins! – CodeRevolution.

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 frame should appear, so, rather than having every frame only appear on screen for the same period of time, each frame can have its own display time.
The class also supports the ability to repeat animations and ping pong backwards and forwards.
Check out these cool WordPress plugins! – CodeRevolution.

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 think would be useful in a game such as scaling, rotation and applying a colour filter and alpha etc. This image class will form the basis for the next tutorials where we will create a class for handling sprite maps, animation and bitmap fonts.
Check out these cool WordPress plugins! – CodeRevolution.

Categories
71squared.com development game iphone programming WordPress

iPhone Game Programming – Tutorial 1


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)
Check out these cool WordPress plugins! – CodeRevolution.