News for hackers. Stuff that matters.
Re:The Critics Rave... for Microsoft? by shareme on Saturday January 07, 2012 @09:51PM (#3438734)
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
Re:The Critics Rave... for Microsoft? by hesdeadjim on Sunday January 08, 2012 @01:11AM (#3439012)
Yea 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.
Re:The Critics Rave... for Microsoft? by glhaynes on Saturday January 07, 2012 @11:19PM (#3438877)
Many (most? I imagine so) games of any complexity use a game framework, very often one that's cross-platform.
Re:The Critics Rave... for Microsoft? by tomjen3 on Sunday January 08, 2012 @06:33AM (#3439352)
Both of them use OpenGLES, so really the UI is the same (imagine Angry Birds looking differently on the IOS platform than on Android).
Re:The Critics Rave... for Microsoft? by cppsnob on Sunday January 08, 2012 @02:50AM (#3439123)
UI code should be in the same portable OpenGL that the rest of your game is in.