Tag: the

  • iPhone Game Programming – Tutorial 7 – Singleton Class

    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.

  • iPhone Game Programming – Tutorial 9 – Sound Manager

    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.

  • Basic C Programming

    Basic C Programming


    This episode of the TeachMeCocoa.com video tutorials will instruct the viewer on the basic principles and syntax of programming in the C language.

    This tutorial is geared towards those who have some programming experience in another language, and would like to understand the basics of using C.

    Understanding C is vital for writing quality Objective-C code, and this language is the primary language for Mac and iPhone application development.
    Check out these cool WordPress plugins! – CodeRevolution.

  • iPhone Game Programming – Tutorial 6 – Tiled Map Class

    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.

  • iPhone Game Programming – Tutorial 3 – SpriteSheet Class

    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.

  • iPhone Game Programming – Tutorial 5 – Animation Class

    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.

  • iPhone Game Programming – Tutorial 2 – Image Class

    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.

  • iPhone Game Programming – Tutorial 1

    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.

  • THE CORE WordPress Theme – Video Presentation

    THE CORE WordPress Theme – Video Presentation


    The Core is mostly aimed at the creative corporate crowd but not exclusively. The main demo comes with everything you’d ever wanted or needed in a website.
    Check out these cool WordPress plugins! – CodeRevolution.