开发者

iOS OpenGL ES compatible with Android OpenGL ES?

In theory, can I write a game for iOS in openGL ES and expect to easily port it 开发者_运维百科to Android? How about from Android to iOS?


There are differences in Android and iOS game development that you need to take into account:

In android you need to support multiple graphics chips:

  • Different texture compression support
  • Major differences in performance

Different OpenGL ES implementations:

  • Buggy gluUnproject implementation in Android (there are custom implementations, for example )
  • Lack of glGet* functions in Android (however you can use MatrixTrackingGL)


Yes, I believe that if you write a game in C/C++ for iOS, to port it to Android wouldn't be too much of a hassle. However, if you write the game in Objective-C, then it could be quite a hassle indeed.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜