Game programming iphone osx android 1.6 shared codebase

im planning to develop a game for iphone and android. which programming language can I use to create a common code base between the two platforms. I understand that there are some parts that are specific to the device.

+4
source share
1 answer

The common part should be in C or C ++, since the new iPhone SDK agreement does not allow the use of non-C languages โ€‹โ€‹(and Android allows C and C ++ code through the Native Development Kit ). Details for the platform must be in Objective-C format for the iPhone, and I assume that Java is for Android (I have not programmed Android).

+5
source

Source: https://habr.com/ru/post/1307513/


All Articles