Archive for the ‘iPhone Game Programming’ Category

Two Plus Two

Two Plus Two is a puzzle game that will get your brain flowing.

You are given twelve numbers which you must add together to make a randomly generated number at the bottom of the screen. You get a point for each of the twelve buttons you use. However, you get more points if you do it in the amount of turns displayed! Simple!

Read more

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

Joystick Tutorial?

Hey everyone

First of all thanks to all those who are still reading the blog and checking out the tutorials. It has been quiet recently due to me travelling on business and Johns wedding and as I’ve said a few times the book is taking up a lot of my time.

That said, I have just finished implementing a touch joystick into Sir Lamorak’s Quest and was wondering if this is a tutorial people would like to see. As I don’t have much time I wanted to see what the interest was be before I did a quick tutorial on it.

Read more

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

iPhone Developers Conference

I wanted to let people know that I have been invited to talk at the “Voices That Matter – iPhone Developers Conference” in Boston on the 17th and 18th October.

This will be a really great conference with some of the most well known names in Mac OS X and iPhone development on the speakers list. People such as Erica Sadun who wrote “The iPhone Deveopers Cook Book” and Aaron Hillegass who wrote “COCOA Programming for Mac OS X”.

Read more

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

News: Is Granny Coder the oldest iPhone developer in the world?

They say you’re never too old to make a change, and Marie Bila is certainly proof when it comes to iPhone game development.

The 77-year-old Czech granny has been hard at work this year on her physics puzzle iPhone game Gelex, and has been documenting the process on her Granny Coder blog.

Read More »

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

Shake it all about

For Sir Lamorak’s Quest I’ve just implemented the settings page. I have a UIKit view containing slider controls etc slide up over the game view, pausing the game and allowing you to set the volume etc.

Rather than waste space on the game screen I decided today that I wanted to shake the phone during game play and have the settings appear. I knew that there was a new feature in OS 3.0 that would allow me to capture a shake with the SDK doing all the hard work.

Read more

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

CACurrentMediaTime rather than CFAbsoluteTimeGetCurrent

Hi all

A regular reader of the blog has sent in some interesting information about CFAbsoluteTimeGetCurrent.

It would appear that Apple recommend using CACurrentMediaTime rather than CFAbsoluteTimeGetCurrent. It would appear that CFAbsoluteTimeGetCurrent uses the network synched time which can cause irregular skips in timing. I’ve changes to CACurrentMediaTime and its working well. I’ve not noticed a huge difference, but the odd larger than usual skips I was getting have gone.

More can be found at the Apple Dev forum here.

Mike

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

Presenting in London

Just wanted to let you know that I have kindly been invited to present at the next London iPhone Developers Group meeting. This will be take place at 7pm in the Regents Street Apple store on the 2nd September.

I’m going to be presenting for 20-30 minutes on creating an iPhone game using OpenGL ES. I’m really looking forward to meeting the group members as its the first time I will have been able to get to a meet since joining the group.

If your in the area drop by :o)

Mike

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

New SoundManager Class

Just as with the bitmap font class, I’ve also been making changes to the SoundManager class. This new version has fixes which means that is plays nicely with other sounds on the iPhone. Previously if a phone call came in or an alarm went off whilst the sound engine was being used, on returning to the game the sound would have stopped.

This is now fixed the the sounds will continue to play normally.

Read more

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

Particle Collider

It you want to see what is possible with the code we have been using in the tutorials check out Particle Collider on the App Store. ExoticPixel have done a great job on this game which has sharp graphics and sound and is very well put together. They have very kindly mentioned 71Squared in the credits for the game as they are using elements of the tutorial code such as the Image, AngelCodeFont and Sound Manager classes.

I think this is an excellent example of what can be achieved and also of how slick indie apps can look.

Great job and I’m looking forward to their next game.

Read more

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

Tutorial Code License Details

There have been a number of request in comments about any license which may exist on the code provided from this site in the tutorials and projects. This is something I should have had from the start but I was too interested in just diving into the tutorials to worry about it.

I am more than happy for people to use the code they take from the site in their own projects. These could be personal projects just for learning purposes or projects which are going onto the App store either as free or commercial.

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 the largest enterprise software company in the world.

They both love technology, especially Apple and dabble in iPhone dev in their spare time.