Porting a C ++ opengl game on Android and IOS in the easiest way

I have a simple C ++ game with opengl, and I would like to put it in the Android platform and ios. I have read many articles, but I cannot find a tool that can do this at the same time.

Can i use cocos2d-x? http://www.cocos2d-x.org/download

Or what best port the C ++ game to Android and ios.

+4
source share
2 answers

I would watch SDL 2.0. It supports OpenGL, iOS, and Android out of the box and is a great way to hide platform differences. If you already have an OpenGL game, this should be very easy.

Steam Steam Days :

http://www.youtube.com/watch?v=MeMPCSqQ-34&list=PLckFgM6dUP2hc4iy-IdKFtqR9TeZWMPjm

, SDL 2.0 (zlib ).

SDL :

http://www.libsdl.org

+1

Android, NDK, , openGL ES OpenGL. , . NDK.

0

Source: https://habr.com/ru/post/1526883/


All Articles