How to learn LibGDX?

Hey guys, I like to program in Java (hence why I’m here). So I already know a good amount about Java.

Creating a platformer game has been a long time dream of mine. I’m not looking to do anything completely fancy, I just want to create a base and be able to slowly improve on it overtime.

But a large part of me isn’t understanding LibGDX, and the Dermetfan tutorial series on YouTube doesn’t really help me learn.

What’s a good way to learn how to develop with LibGDX?

The search bar is your friend (in Google and in JGO) :slight_smile:

Check out Articles and Tutorial section
The official documentation

There is a lot more to it, but unless you are specific getting detailed help will be a lot harder for your case.

You just linked me to a post involving its use with the Ruby language.

I’m not interested in Ruby, as I’m on a forum for Java.

However, I do appreciate your help. Thanks.

Haha, I think you are misunderstanding what I’m trying to do.

You see, LibGDX is a framework that has a lot more than just Java. It needs to be set up via an IDE so you can start programming games within it. It also uses OpenGL as a backend. If you read a bit of the documentation, I was leading you on how to set it up, but I see you couldn’t even realize that it also gave step by step on how to set up a LibGDX project. It is actually unfortunate…

Anyway, I wish you the best of luck as you go along in your platforming game. Just be sure you are using all the tools you have at your disposal :slight_smile:

I already have the knowledge requried to setup LibGDX and use it, I’m just having trouble getting used to it in my environment.

As I said, I’ve programmed in Java before, hence my being here - which implies that I’ve used an IDE.

You speak down upon me in an elitist way, with rude intentions, because I am new and have asked a question.

Just because I am new, doesn’t imply that I know nothing. I know a fair amount, and am looking to slowly learn to create games in Java.

I had the same problem learning LibGDX. I spent about a month getting no-where; I could render a tiled map but that was about it. To be honest the only good resource that I’ve found is the wiki. Since LibGDX is built on top of LWJGL, I decided to learn OpenGL. So far I’ve spent just over a month learning OpenGL and the LibGDX wiki all of a sudden makes a lot more sense to me.

My advice is to spend a few months learning OpenGL (it’s difficult to get started but gets easier) and then if you want to target Android, learn LibGDX, otherwise continue to use LWJGL.

Thank-you! I can relate to you on a personal level, because I’ve been banging my head on a wall for the past 2 weeks doing just that; trying to get past rendering tiled maps and simple graphics.

… Still you misunderstand my intentions, but if you want to think I’m elitist, I will not attempt to change your views…

http://chrismweb.com/2013/03/27/libgdx-demo-platformer-for-2d-side-scrolling-game-like-mario/

I hope that this will help further your research into how to build platform games. To be honest with you, help works best when the questions are direct and detailed. Asking such a general question is usually a sign that the programmer does not know what they want. It is nothing against you, as an individual… it is just the common view on broad questions.

As I said before, best of luck on your game. I will be sure not to clutter your thread anymore… :wink:

Troubleshoot offers good advice. I know you want to learn LibGDX, and it is a good library, but I have learned so much more when writing in pure OpenGL. If you want to make games, use libraries. If you want to learn more about how OpenGL works, just use LWJGL!

Or alternatively use MERCury :wink:

I learned basically everything about Libgdx from the wiki.

This advice seems more sincere, thank-you for your efforts to try and help me learn.

Haha, thanks!

Thank-you, I think as you and Troubleshoot have said, I’ll definitely read up on the Wiki as much as possible.