views:

436

answers:

3

I'm planning to build a simple tile-based RTS (Real-Time Strategy) game for the iPhone and iPod touch.

Is there an existing game engine or framework that I could use? If so, where can I find it?

+1  A: 

Cocos2D is probably your best bet -- http://www.cocos2d-iphone.org/

Sledge
+1  A: 

I don't think there's a high-level engine dedicated to building tile-based RTS games that will run on the iPhone, but the iPhone port of cocos2d is great/easy for 2D games in general. http://code.google.com/p/cocos2d-iphone/

Art Gillespie
I'm already familiar with cocos2d - but (correct me if I'm wrong) none of the examples, samples or tutorials are overhead view tile-based.
Elliot
+1  A: 

Define simple as far as the graphics and animation go... You may not need to bother with Cocos2D at all. If it is simple enough you could use both CoreGraphics and CoreAnimation along with CoreData and create your own engine. Being able to use the three together would simplify development as well as allow for the easiest way to manage and build additional functionality.

Would love to hear more - I might throw some code your way as well.

Ciao Matthew

TouchGameDev
Well, it's a game, so performance is key. My experience with Core Graphics / Core Animation has shown that, in most cases, it's far slower than OpenGL (which cocos2d uses).
Elliot
Check out or consider using Box2D and a level editor their is one by the cocos developer here: http://www.sapusmedia.com/levelsvg/ If you haven't already checked out inkscape that one might help too.This will speed up development for you and you should be able to create custom methods from within them making development easier.As far as performance make sure to see Apple's memory management doc: http://developer.apple.com/iphone/library/documentation/Cocoa/Conceptual/MemoryMgmt/MemoryMgmt.htmlMake sure to read the Garbage Collection Programming Guide.-Matthew
TouchGameDev