• Advertisement
Sign in to follow this  

What is the best way to use OpenGL in Android

This topic is 1568 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I would like to start my game in Android, and I already know what I have to know in Java, I have been practising and debugging to the point I have a little game running...

I made it with Kilobolt tutorials (You can find them on google, the robot tutorial)

So, now I want to get started using OpenGL as I understand is a better tool for this, since it has advanced and more optimized physics and drawing functions that are very useful.

 

Can somebody tell me if there is a tutorial or something I could use?

 

Thanks!

Share this post


Link to post
Share on other sites
Advertisement

Sure.

 

First, get the Android SDK.  

 

Install it.

 

Go through the Building Your First App tutorial.

 

Work through the examples for a while, get familiar with the differences of the Android system vs a desktop PC.

 

Go through the Graphics and Animation tutorials. 

 

Realize that building a game is a very large software development project.

 

Spend several thousand hours working on your game.  Done!  wink.png

Share this post


Link to post
Share on other sites

I started of with those tutorials from developer.android.com as well, now I'm working my way through Beginning Android Games (which is a good read and discusses a lot of topics (at a beginners level))

 

I did note though that you refer to OpenGL as having optimized physics, but please understand, OpenGL is there only for your rendering and will not provide you with any physics. You'll probably encounter OpenGL ES in your Android endeavours, and not OpenGL (Even though Nvidia's Logan project, scheduled for the near future will provide you with a full blown OpenGL implementation, but so far I know there aren't any other OpenGL Android devices out there).

 

If you are looking for a physics engine, then Box2D might be something you are looking for.

 

If you just want to have your game out, you might want to have a look at libGDX as VIkato already proposed. Then you'll be able to hit the ground running and you won't have to develop your engine from the ground up. Since you'll also need to consider input management, your game loop, animation, sound...

 

Anyway, good luck!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement