Game Development Community

iTorque 2D Pong Code and Art

by Michael Perry · 06/13/2011 (11:37 am) · 2 comments

iTorque 2D Pong Project

Greetings everyone! On 6/10/2011, GarageGames streamed its first live tutorial. During the stream, someone asked if I could provide the code and art when I finished. Well, here it is!

Installing:

1. Download the zip file here

2. Create a new iTorque 2D project. This was created using the 1.5 Preview 1, but it should still work with 1.4.1

3. Unzip the projectFiles from the download into your new project. This should overwrite all the scripts and add the new art/sounds

That's it. You should be able to run this on Windows, OS X and iOS "out of the box". I took the time to go through and comment the code so you know what's going on. I don't have the time to turn this into a tutorial (yet), but you can watch the recorded version of the live stream on our Ustream.tv account. A new version of the video will probably be uploaded later.


NOTE - There are several ways to create Pong. The code here is not the most elegant I could have written. People in the stream pointed out a couple of easier ways to perform tasks, like calculating score. This works, but there is room for improvement. You might be able to learn a few things from the code itself, but the live stream was the real lesson.

Request - Just in case, could someone duplicate the zip file and host it. I would hate for this to become another one of my dead resources.

Obligatory Image:
img805.imageshack.us/img805/4855/ipong.jpg

About the author

Associate Producer / Project Manager for GarageGames


#1
06/13/2011 (12:46 pm)
When I get home tonight I can upload it to one of my sites and host it there as well. I'll post the link here when I get it done.
#2
06/24/2011 (2:16 pm)
@Michael:
Quote:Just in case, could someone duplicate the zip file and host it. I would hate for this to become another one of my dead resources.

I upload and host this resource on my web site Game Alchemy Entertainment

Thank you very much for this great works!