game programming iphone osx android 1.6 shared codebase
im planning to develop a game for iphone and android. what programming language can i use to create a shared codebase between the two platform. i understand that t开发者_如何转开发here are some parts which are device specific.
The shared part should be in C or C++, since the new iPhone SDK agreement doesn't allow non-C languages (and Android allows C and C++ code through the Native Development Kit). The platform-specific parts should be in Objective-C for the iPhone and I'm guessing Java for Android (I haven't done Android programming).
精彩评论