Jump to content
  • Advertisement
Sign in to follow this  
simondid

a few questions about using libgdx :)

This topic is 2198 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

hey


so i have been working with slick library for some time now and wanna take my project to android with seems to be a work in progress for slick :( so i been googling for some time and found this library called libgdx with seems to be used on android :) so my questions is


1.
if im desiden to use libdgx am i going to use openGL ??

2.
is my code going to look any thing like slick ?? when working with graphics??

3.
is libgdx using like a render metode and a update and a create metode ?? and is it like state based??

4.
is there any othere librarys out there is shut take a look at ??

Share this post


Link to post
Share on other sites
Advertisement
Hey simondid.

1. The whole library uses OpenGL, but in difference to something else, you don't have to "learn" OpenGL, due to the fact, that you could use SpriteBatch & Textures and so on. So you don't have to explicity code some openGL.
(Maybe a little bit like glClear(GL10.GL_COLOR_BUFFER_BIT), but it's not so much.)

2. Yes and no. You can structure your code like you did in slick. But you have to implement it into the libGdx-Framework (like 'Game' if your main class extends from it).

3. When you use Screens it have a render method (where you can also update), show and hide methods ("what must be done, if the window is not in the foreground?" etc.), resume and stop methods, which you have to overwrite or just implement your own class into it.

4. I don't know any, but maybe some other users do. smile.png

PS: Excuse me for my bad english. My english teacher can't really teach and I'm too lazy doing it in my free space... ^^

Share this post


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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!