4 ms·
no no no..a game developers do not use the same exact code for both iOs and Android..as the app life-cycle and other things are different enough that its a full
by shareme 15y ago
no no no..a game developers do not use the same exact code for both iOs and Android..as the app life-cycle and other things are different enough that its a full port..especially when you consider that the UI is 70% of the code
- deleted 15y ago[deleted]
- glhaynes 15y agoMany (most? I imagine so) games of any complexity use a game framework, very often one that's cross-platform.
- hesdeadjim 15y agoYea no. Now that the NDK is somewhat decent, 95% of the code we write for a game is shared between iOS and Android. We have our own GUI layer as well because it was a cost effective choice when compared to the option of re-writing our UI for each platform for each game. The parent is very correct as well, lack of native code support is a HUGE problem if they expect to get a rich ecosystem of games for their smartphone platform.
- cppsnob 15y agoUI code should be in the same portable OpenGL that the rest of your game is in.
- tomjen3 15y agoBoth of them use OpenGLES, so really the UI is the same (imagine Angry Birds looking differently on the IOS platform than on Android).