Posts Tagged ‘OpenGL’

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.

This Tutorial also gives you a quick look at some of the other classes we are going to cover in action, so not only how scaling, rotating and colours work but also animation and bitmap fonts.

Play Tutorial 2

Read more

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

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

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.