Aswan
Aswan

Reputation: 5135

opengl game programme

i want to develop same game on different platforms like android,webos,iphone(ios)

i heared we can port native code on this platforms.i am using windows.is there any chance for

me develop game in windows and port that into above platforms.

Thanks in advance

Aswan

Upvotes: 0

Views: 164

Answers (3)

Madhup Singh Yadav
Madhup Singh Yadav

Reputation: 8114

Be careful. iPhone uses OpenGL ES which is a subset of Open GL. A good thought would be to look at this before you proceed.

Hope this helps. Thanks, Madhup

Upvotes: 0

Gemini14
Gemini14

Reputation: 6254

You can't just copy-paste a Windows OpenGL game to one of those platforms and have it work flawlessly. There are tools and engines which can help you develop games once and then have it work on multiple platforms (how well they work I can't say, however, I've never used them). If you check this question here on SO, there is a good list of choices from the OP, some of which had the aforementioned ability.

Upvotes: 0

tensaix2j
tensaix2j

Reputation: 462

You cannot just simply port them, OpenGLES has only a subset of OpenGL functionalities, and there's no GLUT in ES. Besides, each openGL setup code eg:preparing canvas, loading texture can be different from platform to platform.

Upvotes: 3

Related Questions