开发者

game programming iphone osx android 1.6 shared codebase

开发者 https://www.devze.com 2022-12-27 10:07 出处:网络
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

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).

0

精彩评论

暂无评论...
验证码 换一张
取 消