Does it really take that amount of code for a simple iPhone game?
Does it really take that amount of code for a simple iPhone game?
http://www.informationisbeautiful.net/visualizations/million...
When I first started I thought it was going to be really simple, but it turns out that building a game can be quite tough. Compared to building a web or mobile app where you have lots of generic scaffolding available to you (web frameworks like RoR, stuff like UIKit for iOS that provide all the UI elements for basic apps), for a game your code has to manage every image and every interaction, so all the special cases and checks and loops add up pretty quickly.
Plus, implementing stuff like ragdolls and physics adds a lot of complexity.
Objective-C is pretty verbose, so that adds to the total.