Archive for category Uncategorized

Augmented Reality with Cocos2D Tutorial

AR with Cocos2DThe tutorial I created for Ray Wenderlich’s website is now live! Click here to view it.

Here is a snippet of the beginning:

In this tutorial you will learn how to make a simple augmented reality game for the iPhone/iPod touch!
In this game you will utilize the camera, gyroscope, and Cocos2d framework. Sounds exciting right?
It definitely was fun exploring these technologies while writing this article. There is a bit of math and conversions, but don’t worry – it’s nothing too hard!

To use this tutorial, you need an iPhone 4 because the tutorial uses the gyroscope to move your view of the world.
You also need to have at least basic knowledge of Cocos2D and have Cocos2D installed. If you are a complete beginner to Cocos2D, you should go through some of the other Cocos2D tutorials on this site first.

Are you ready to start blasting some virtual aliens? Let’s go!

Gopher Hunter now available in the iTunes App Store

The new game Gopher Hunter for the iPhone/iPod Touch is now available in iTunes. This is my first game, and has been a great experience putting it together. Check it out!

Game Description:
Gophers have overtaken a farmer’s field, help keep these gophers under control by shooting them. Gopher Hunter is a mix of a shooting and whack-a-mole style game. Three game modes allow for a fun time, and Game Center achievements will keep you coming back for more.

Gopher Hunter now available in iTunes

DC Traffic Cams 1.1 Update

The update for DC Traffic Cams was approved by Apple and is now available in the iTunes App Store. In this update, I added an error message when the traffic camera images are unavailable. I also added a brief snippet of text to the info screen explaining why the images might not be available and a link to the DC Department of Transportation.

http://itunes.com/apps/dctrafficcams

Snowstorm of Trouble

The Issue:

Over the past weekend I found out why I was getting bad reviews for DC Traffic Cams in the App Store. The source from where the camera images are being downloaded from was not delivering images. If you view Washington DC’s department of transportation website, they were having the same issue. I also took a look at my competitors’ apps and they fell prey to the same issue.

The Big Problem:

I in no way shape or form was informing the app user of what was going on. This was a big mistake on my part. In an effort to alleviate the issue, I have been working on a solution and will be submitting an update very soon. This will at least let the user know that the app is working but there is no image to display, versus just displaying a blank screen.

Cocos2d Tutorial

Over the past month, I have been looking at every tutorial and sample code that I could get my hands on regarding cocos2d on the iPhone. This past week I came across some professor’s wordpress blog for his class. One of the lectures was on cocos2d. Have a look at it. I went through the example code and used some mario graphics I found on the web to come up with my own game level. I’m currently in the process of adding a character and some kind of control mechanism to move it around on the level (beyond the scope of the lecture).

Mario Level Cocos2d example

Do you have a good website or tutorial? Please let me know.