Jump to content

  • Log In with Google      Sign In   
  • Create Account


HELP! in Android Game Development.


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
5 replies to this topic

#1 PaulJabs   Members   -  Reputation: 130

Like
0Likes
Like

Posted 13 July 2013 - 07:12 PM

What should i use?
opengl or libgdx?
is it the same thing? which is better?



Sponsor:

#2 David.M   Members   -  Reputation: 731

Like
3Likes
Like

Posted 13 July 2013 - 09:47 PM

Use what you want and are comfortable with. In your other topic you said you know Android development and OpenGL so you should already be able to do games for Android. You can either work with OpenGL ES directly or though a framework like LibGDX. LibGDX automatically handles other things like asset loading/management, sound, etc. It also allows for deployment to desktop, the web, and iOS (with a license).



#3 PaulJabs   Members   -  Reputation: 130

Like
1Likes
Like

Posted 13 July 2013 - 10:31 PM

Thank you for the reply.
I really appreciate your reply. thanks 100 times. What i understand is that libgdx or game engine makes your life easier in coding. game engine uses shading language. while shaders like opengl, makes your code become longer or shall i say, hassle?
is this right?



#4 David.M   Members   -  Reputation: 731

Like
2Likes
Like

Posted 14 July 2013 - 01:13 AM

If you use LibGDX or another engine, you'll still need to write your own shaders. OpenGL is a graphics library (Open Graphics Library). It lets you render using the power of the GPU. It is not, in itself, a shader. It can, however, use shaders to make pretty effects. Wiki has a nice reading on Shaders that you might want to check out. Depending on what you want to do, shaders aren't necessary.

 

LibGDX and other libraries or engines are there to extend OpenGL. In itself, OpenGL can tell the GPU to render things. It doesn't have window management, asset loading/management, sound (OpenAL does that), input handling, or anything else. It just draws. What LibGDX and other frameworks and engines do is give you access to (by handling) those things that OpenGL doesn't do alone.


Edited by David.M, 14 July 2013 - 01:14 AM.


#5 PaulJabs   Members   -  Reputation: 130

Like
0Likes
Like

Posted 14 July 2013 - 01:15 AM

Ok. I understand now. THanks for clarifying. So there are things that opengl cant do which libgdx can do. Nice. Thanks for the reply



#6 _greyfox()   Members   -  Reputation: 1133

Like
0Likes
Like

Posted 14 July 2013 - 11:50 AM

Ok. I understand now. THanks for clarifying. So there are things that opengl cant do which libgdx can do. Nice. Thanks for the reply

You're still missing the point. OpenGL is ONLY meant for graphics. While LibGDX is meant for everything: physics, graphics, input, output, files, sounds, fonts etc. It handles all the low level stuff for you. Though I personaly don't like to use this kind of library, because I can learn much more when I do it by my own hands. But if you want to quickly make a game, LibGDX is for you.


“There are thousands and thousands of people out there leading lives of quiet, screaming desperation, where they work long, hard hours at jobs they hate to enable them to buy things they don't need to impress people they don't like.”― Nigel Marsh




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS