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?
1
- Porting is easier than two different APIs, but OpenGL itself doesn't guarantee same result for different hardware. Mostly similar but anyway, not guaranteed. So you still need to test all the rendering code output.eonil– eonil2013-11-03 00:06:24 +00:00Commented Nov 3, 2013 at 0:06
Add a comment |
2 Answers
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)
Comments
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.
1 Comment
jesses.co.tt
this really doesn't address the question at hand, and should NOT be the accepted answer!