iDevGames Forums
Problem with making a game with the iPhone Game Development book - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: iPhone, iPad & iPod Game Development (/forum-11.html)
+--- Thread: Problem with making a game with the iPhone Game Development book (/thread-376.html)



Problem with making a game with the iPhone Game Development book - MrPenguin9 - Jan 31, 2010 12:57 PM

I've read basically the whole book (except for the 3d chapter but I'm not doing 3d, I'm trying to make a 2d game) and now I want to make a game using the engine from the book. So I downloaded the source code (here: http://sourceforge.net/projects/iphonegamebook/files/) and tried to copy the files and change the code to work, and no matter what I do, it will not work!
One of the ways I tried was to copy all the files then copy the code of the app delegate into the app delegate that was created when I made the new project, and I even made a new project with the same name and just copy the files from source code, nothing will work!

Also, is there a possible way to create some sort of template so I wouldn't have to go through all of this?

Please, can someone try it themselves and if you actually get it to work, please tell me how you did it!
I've spent the WHOLE weekend trying to get it to work

Thank you so much in advance!


Problem with making a game with the iPhone Game Development book - AnotherJake - Jan 31, 2010 03:19 PM

I downloaded the Chapter5 files to test it out for you, and the included Xcode project built and ran just fine for me (minus a little bugginess in the FPS texture, but that's easily fixed by changing the malloc to calloc in GLFont.m).


Problem with making a game with the iPhone Game Development book - MrPenguin9 - Feb 1, 2010 09:13 AM

I figured out what was wrong.

Thanks