LibGDX project setup?

Is it possible to have LibGDX only create one project? And if so, how would I go about doing that?

Everything is possible, but it might be ugly.
You can setup LibGDX for Desktop with Maven easily, Android/Web is a bit trickier.

If you only want Desktop LibGDX have a look at my project:


Just pull/download from git and import into eclipse, you could delete everything except the asset folder and the eclipse specific files.
The pom.xml specifies which jars are added to the project.

I’m not sure if you mean something different, but when you launch the setup, just select the type of project you want (desktop, android, or ios), and whichever options you want to add, then when you generate the project it will only generate what you select.

I think he means having everything in one “IDE-project”-folder, right now, it creates a sub-project(core/desktop/android/ios/html) for every part of the libgdx-project and links them together, which is useful if you have multiple export targets, but not really if you only target one platform.

That makes sense, I think if its android target, you could, but, at least for me, i need assets loaded in the android/assets to work… but I’m a noob, I just thought, “ooh, finally a question I might be able to help with”

Im pretty sure once the project is loaded, that you could manually sort things how you like, but I haven’t felt the need to try to know how much grief that might cause.