Reputation: 973
We want to create a mobile game for Android and iOS. But we don't want to code it for iOS and Android seperatly via native codes. Is there any way to code it with something like OpenGL library separate from iOS SDK and Android SDK? If it is, is there any tutorial? I couldn't find.
Upvotes: 0
Views: 182
Reputation: 1780
My commercial product, which is not a game, but is very graphics intensive and uses three-dimensional techniques, uses OpenGL ES 2.0 and runs identically on Android, iOS, Windows, Linux and Mac OS.
The core code is written in C++. On iOS I use the free MetalAngle library to get around the fact that soon Apple will no longer support Open GL.
Upvotes: 0
Reputation: 1332
It's not as simple as that. The easiest solution is to use special framework, like libgdx http://libgdx.badlogicgames.com/ (I'm nost saying it's the best choice, I have used it in the past and it worked fine however), unity or gamemaker
Upvotes: 1
Reputation: 201
Maybe you could use a game-engine that deploys on multiple platforms. For example: http://unity3d.com/unity
Upvotes: 0
Reputation: 29547
SpriteBuilder is a development kit for creating 2D games in Objective-C. You can develop the app once and deploy to iOS with Xcode and to Android with Apportable.
Tutorials are available here.
Upvotes: 3