Posts Tagged ‘programming’
Incredible iPhone Game Programming Tutorials With Video
Just like to turn you guys on to what are the best video iPhone game programming tutorials on the web so far in case you haven’t seen them.
– Update Jan. 2nd 2010 – Tutorial 11 has been added, and I have upgrade this list to reflect that.
These tutorials are from 71 squared. They run through the steps to creating a game on the iPhone in tremendous detail, and include source code. Included are in-depth videos.
My Top 10 Favorite iPhone Developer Blogs
I’m often asked how I keep up with all the new API’s available for an iPhone developer at each OS patch, and really the secret is just keeping up with some blogs. I use Google Reader, place the blogs in there, and skim over them. There’s alot of great blogs out there, these are the 10 that I currently keep in my Google Reader. You’ll go nuts trying to keep up with everything, I tried for awhile, but now I find I can get up to speed just with these resources.
Easier Debugging With NSLog Statements
Something that comes up frequently, and something I’ve had difficulty in the past with myself is debugging iPhone apps. There is a fairly easy way to alleviate that problem, and that is to place NSLog statements that print out the name of the method, class, whatever information you like to the console so that you can find out the problem area of a program, however there is a big problem with NSLog statements, and that is that they seem to use a an overly large amount of system resources.
UILabel Subclass – Align The Text How You Want!
I received a question in the last few days from an iPhone developer who was having difficulty aligning the text in a UILabel properly. The problem was that they needed the UILabel to accomodate multiple lines, but also needed to dynamically adjust the text, and the problem was that whenever there is only one line of text the vertical alignment was always centered.
I found a subclass in an older thread on the apple forums here: http://discussions.apple.com/thread.jspa?threadID=1759957
The Open Source iPhone Game Engine Comparison
I’m often asked about which iPhone game engine to use, and I know most people are looking for a free game engine so here is a comparison of the different open source iPhone game engines that actually have apps out there.
Cocos2D for IPhone
The Cocos2D iPhone game engine is a port of a game engine originally created in Python and converted to iPhone Objective-C. As you can tell from the name, Cocos2D is designed for 2D games, that being said, although the engine is in a 2D world, the engine includes a growing collection of high quality 3D special effects.