r/libgdx • • Jul 16 '25

My turn-based prototype

90 Upvotes

r/libgdx • • Mar 22 '21

Every single jam

Post image
85 Upvotes

r/libgdx • • Feb 22 '26

My little particle experiment is joining next fest tomorrow

78 Upvotes

In the video, what's going on is that I activated the special "stop the time" effect at the PERFECT time, exactly when the boss explodes, I genuinely was like "OMG that is SO COOL !"

For those asking, I'm rolling my own particles, not using the built in editor. The shader is quite simple just doing the lighting computation. The "particles" are also super simple actually, there are just a ton of them :)
One secret sauce is to sprinkle some randomness in an ordered system with a gaussian distribution. I would recommend to use Tommy's implementation of probit, available here : https://gist.github.com/tommyettinger/967b82f2e2f81f7a6929a3f9ce59abc1

So yeah Particulitix is joining next fest tomorrow, I would appreciate all the help I get <3 Even 1 wishlist would be awesome ! And if you feel like sharing it, go ahead :D


r/libgdx • • Nov 25 '25

First attempt to make a dragon quest clone

71 Upvotes

r/libgdx • • Feb 13 '20

An infinite, destructible voxel world. Made in 3 weeks of using Libgdx with no previous experience

70 Upvotes

r/libgdx • • Apr 19 '21

libGDX 1.10.0 - After over five years, we are proud to present a new major release of libGDX: version 1.10.0!

67 Upvotes

I'm not part of the libGDX team, as it were. The original news post is at https://libgdx.com/news/2021/04/gdx-1-10 - updates made to it may not be reflected in this Reddit post.


If you are looking for past changelogs, check out this page.

It has been over five years since the release of 1.9.0, the last major version of libGDX. That doesn’t mean that libGDX did not change over the last years – in fact, it has quite a lot – but we weren’t always as strict about our versioning as we should have been. We already promised to improve on that, but today we want to fulfill our promise and are proud to present to you version 1.10.0 of libGDX!

By and large, version 1.10.0 doesn’t include any shining new features, but it provides a clean cut from the past 1.9.x releases and contains a few breaking changes. So let’s dive right in and take a look at those.

Natives

A few weeks ago, Mario (our benevolent ex-dictator) briefly came back from his retirement to migrate our whole build setup to GitHub Actions. While we have already been using GitHub Actions as our CI service, up until now the natives as well as the snapshot releases were built via a self-hosted Jenkins instance. This was prone to failures and hard to maintain. As a result of this migration, building is now a lot more convenient and reproducible, which will help us keep everything up to date and allows others to take a look behind the scenes.

In the course of this update, we also changed some of the platforms, for which our natives are built:

  • Android ARMv5 (armeabi) support has been removed, as it hasn’t been compatible with the Android NDK since June 2018. To migrate your projects remove any dependency with the natives-armeabi qualifier (but not natives-armeabi-v7a!) from your gradle build file. This applies to gdx-platform, gdx-bullet-platform, gdx-freetype-platform and gdx-box2d-platform.

  • tvOS libraries have been removed, since at the moment you can’t target it with MobiVM anyway. No migration steps required.

  • Linux x86 (32-bit) support has been removed. No migration steps required.

  • Linux ARM and AARCH64 support has been added. No migration steps required.

Java 7

libGDX now requires Java 7 or above. See #5839 for more information. Please note that this has no effect on the maximum Java version that is supported by a platform!

JCenter is shutting down

At the end of last month, the JCenter repository stopped accepting new submissions. This is the first step of sunsetting the repository and in February 2020 JCenter will stop serving any packages. This means that projects depending on this repo need to migrate. To update your libGDX Gradle projects, open the main build.gradle file in your project and in both of the two repositories {} sections replace jcenter() with gradlePluginPortal().

Other breaking changes

  • Scaling is now an object instead of an enum. This may change behaviour when used with serialisation.

  • Group#clear() and #clearChildren() now unfocus the children. Added clear(boolean) and clearChildren(boolean) for when this isn’t wanted. Code that overrides clear()/clearChildren() probably should change to override its counterpart taking a boolean parameter. See #6423.

  • Lwjgl3WindowConfiguration#autoIconify is enabled by default. See #6422.

For those of you that are still stuck on older versions of libGDX, we have compiled a list of all breaking changes from 1.9.10 to 1.10.0. This should make it easier to upgrade all in one go.

Full changelog

The latest version of dependencies can, as always, be found here.

- [BREAKING CHANGE] Android armeabi support has been removed.
- [BREAKING CHANGE] tvOS libraries have been removed. No migration steps required.
- [BREAKING CHANGE] Linux x86 (32-bit) support has been removed. No migration steps required.
- [BREAKING CHANGE] Requires Java 7 or above.
- [BREAKING CHANGE] API Change: Scaling is now an object instead of an enum. This may change behavior when used with serialization.
- [BREAKING CHANGE] Group#clear() and #clearChildren() now unfocus the children. Added clear(boolean) and clearChildren(boolean) for when this isn't wanted. Code that overrides clear()/clearChildren() probably should change to override the (boolean) method. #6423
- [BREAKING CHANGE] Lwjgl3WindowConfiguration#autoIconify is enabled by default.
- Architecture support: Linux ARM and AARCH64 support has been added. The gdx-xxx-natives.jar files now contain native libraries of these architectures as well.
- Scene2d.ui: Added new ParticleEffectActor to use particle effects on Stage
- API addition: iOS: Added HdpiMode option to IOSApplicationConfiguration to allow users to set whether they want to work in logical or raw pixels (default logical).
- Fix for #6377 Gdx.net.openURI not working with targetSdk 30
- API Addition: Added a Pool#discard(T) method.
- API Addition: Desktop Sound now returns number of channels and sample rate.

r/libgdx • • Mar 06 '26

I wrote a 5000-word modern guide for libGDX scene2d, full of diagrams and examples

66 Upvotes

Hi all,

libGDX scene2d in my opinion is powerful but mostly underused and misunderstood. So I took my time to write a detailed guide from the ground up, including all the essential concepts with practical examples. It comes from my experiences working with scene2d while building a lot of games with libGDX, you can see it here:

https://raizensoft.com/tutorial/libgdx-scene2d-explained-complete-guide/

The guide also serves as my own references when I forget how to do certain things with scene2d. Hope someone finds this useful. Cheers!

EDIT: I also wrote a guide on using libGDX Table too, since it's so widely used in scene2d but also has caused many confusions for beginners:

https://raizensoft.com/tutorial/libgdx-table-explained-complete-beginner-guide/


r/libgdx • • Jan 11 '20

Some paletted 2D lights using a normal map

65 Upvotes

r/libgdx • • Jul 17 '25

My match-three prototype

64 Upvotes

I also decided to share my prototype~ // made in libGDX, obviously 🤝🏻


r/libgdx • • Jun 06 '26

I finally shipped.

63 Upvotes

It's finally live.

The whole thing is libGDX, and since I can't draw, everything is rendered in code with no textures at all.

That made some fun stuff easy, like switchable C64 and Game Boy DMG palettes you can play the entire game in :)

Genuinely couldn't have built it without libGDX. Steam: https://store.steampowered.com/app/4139330/Particulitix

Thanks <3


r/libgdx • • Oct 22 '17

libGDX 1.9.7 released

Thumbnail
badlogicgames.com
62 Upvotes

r/libgdx • • Mar 11 '26

After several years building a game with LibGDX, I finally released it: Pig Jump 🐷🚀

60 Upvotes

Hi everyone!

I recently released Pig Jump, a mobile game I've been building with LibGDX for several* years.

The concept is simple:
🐷 Make a pig fly
💥 Survive ridiculous crashes
🏆 Climb the leaderboard

It also hides deeper mechanics than it first appears. 🤫

The game somehow reached 4.9★ on Google Play and 5★ on the App Store, and I'd love feedback from fellow devs to keep improving it.

Thanks!

https://playpigjump.com/app


r/libgdx • • Jul 23 '18

Hey guys, I released a game some weeks ago using libgdx. It took about 3.5 years.

Thumbnail
youtu.be
58 Upvotes

r/libgdx • • Jun 21 '26

Hello! Here are some updates for my game done with libgdx

54 Upvotes

r/libgdx • • Aug 05 '26

[Tool] scene2d-ui-builder — a free visual editor for libGDX Scene2D UI, no more fighting with Table

52 Upvotes

Hey r/libgdx,

I've been building a free desktop tool that lets you put together Scene2D UI/HUDs visually instead of hand-calculating x/y or wrestling Table into doing free-form layout it was never really meant for. Figured this community would get the most use out of it, so here it is.

What it does

You load a skin, drag buttons/labels/images from a palette straight onto a canvas that matches your game's actual target resolution, position everything exactly where you want it (WYSIWYG, free positioning — not a grid), and export the layout as a plain JSON file.

A small companion library, scene2d-hud-loader, turns that JSON into a real Scene2D Skin + Group + Actors with one call:

HudView hud = HudLoader.load(Gdx.files.internal("ui/hud.json"));
stage.addActor(hud.root);
Gdx.input.setInputProcessor(stage);

That's it — no Table cells, no manual positioning math, no separate loader code to write yourself.

What you need

Just a skin: skin.json + .atlas + the texture .png. If you don't already have one lying around, Skin Composer is the standard way to build one from scratch or reskin an existing UI pack — the builder loads whatever it produces directly.

Features

  • Free-positioning canvas at your real target resolution — what you see is what you get in-game

  • Drag straight from your skin's palette — buttons, text buttons, labels, and raw atlas regions all show up automatically once a skin is loaded

  • Alignment guides while dragging, plus an optional grid overlay

  • Nickname any widget, then look it up by name in your own game code and wire up a click listener like you normally would — the builder never needs to know anything about your game logic:

    TextButton playButton = hud.get("play", TextButton.class);
    playButton.addListener(new ClickListener() { ... });
  • Reference background image while you work (visual only — real game backgrounds are drawn with SpriteBatch, so this is ignored by the loader, it's just there to help you line things up)

  • Light/dark theme

  • Self-contained export — copies the skin's files alongside the exported JSON, so the output folder is ready to drop straight into your assets

Get it

Still early — this is a young project and I'm actively working on it, so bug reports, feature requests, and general feedback are very welcome. Let me know if it's useful for your project!


r/libgdx • • Jul 28 '26

First game built with libgdx live on play store

52 Upvotes

Hi,

We are new indie developer and recently published our game on playstore, built with libgdx.

The game is a tower defense game with chess as a central concept with pieces replicating there attack patterns. Currently it has 2 worlds and 5 defense pieces. Would love feedback and bug report.

Do give it a try.

Game link : https://play.google.com/store/apps/details?id=com.chesssiege


r/libgdx • • Nov 19 '25

New libGDX focused tutorials and resources website

52 Upvotes

Hey everyone,

I've been working on my game development tutorials and resources website which heavily focuses on libGDX for a few months https://raizensoft.com/tutorials/

which I figure it could help out new beginners who are curious and aspiring to learn the framework.

When I first started with libGDX years ago, there was barely any beginner friendly resources but my love for Java and code-centric framework keeps driving me to use and learn libGDX. The awesome libGDX wiki has been the only comprehensive resource until now. My goal is to create another comprehensive tutorials hub that focuses on practical use cases and examples with downloadable projects so it's easier to start developing games with libGDX.

I plan to cover all topics from basics to advances. This is more or less a passionate project, currently there are over 100 articles and I'm going to add more.

About me: 20 years of full stack web dev and indie game dev. I also developed more than 200 games mostly with libGDX and threejs:

https://ookigame.com/

Thanks for reading and checking it out!


r/libgdx • • Jan 01 '21

libGDX 1.9.13

Thumbnail
libgdx.com
52 Upvotes

r/libgdx • • Sep 14 '26

Just to update on some of the things this incredible library has offered, the game now has controller support and also runs on mobile!

51 Upvotes

Agro Tycoon on STEAM

EDIT: FRAMEWORK*


r/libgdx • • May 11 '22

libGDX 1.11.0 - We are proud to present a new major release of libGDX: version 1.11.0!

50 Upvotes

This is not an official libGDX Reddit post. The original news post is at https://libgdx.com/news/2022/05/gdx-1-11 (it was also tweeted about as per usual) - updates made to it may not be reflected in this Reddit post.


If you are looking for past changelogs, check out this page.

Since our last release a little over a year ago, a great deal of work has been done! libGDX 1.11.0 brings improvements and new features in various areas – take a look below to find out more! If you are upgrading from an older version, be sure to also check out the Ultimate Migration Guide (1.9.10 to 1.10.0).

LWJGL 3!

As announced in Status Report #7, the LWJGL 3 backend is now the default desktop backend. This ensures continued support for newer hardware and JVMs and includes a few other nifty features. Check out the Status Report to see how to update your projects, if you haven’t already! We also updated from LWJGL 3.2.3 to 3.3.1, which adds the long awaited M1 Mac support!

Another cool new feature is the gdx-lwjgl3-glfw-awt-macos extension. If you add it as a dependency to your desktop project (api "com.badlogicgames.gdx:gdx-lwjgl3-glfw-awt-macos:$gdxVersion"), LWJGL 3/libGDX must no longer run on the main thread in macOS, which allows AWT to work in parallel, i.e. file dialogs, JFrames, ImageIO, etc. can be used. Moreover, you no longer need to pass the -XstartOnFirstThread argument when starting a LWJGL 3 app on macOS. See AwtTestLWJGL in gdx-tests-lwjgl3 for an example. For more information, take a look at #6772.

In addition, legacy LWJGL 3 projects must update their sourceCompatibility to 1.8 or higher! Otherwise an error similar to the one below will appear:

Execution failed for task ':desktop:compileJava'.
> Could not resolve all files for configuration ':desktop:compileClasspath'.
   > Could not resolve com.badlogicgames.gdx:gdx-backend-lwjgl3:1.11.0.
     Required by:
         project :desktop
      > No matching variant of com.badlogicgames.gdx:gdx-backend-lwjgl3:1.11.0 was found. The consumer was configured to find an API of a library compatible with Java 7, preferably in the form of class files, and its dependencies declared externally but:
          - Variant 'apiElements' capability com.badlogicgames.gdx:gdx-backend-lwjgl3:1.11.0 declares an API of a library, packaged as a jar, and its dependencies declared externally:
              - Incompatible because this component declares a component compatible with Java 8 and the consumer needed a component compatible with Java 7
      [...]

Futhermore:

  • Please note that Lwjgl3ApplicationConfiguration#useOpenGL3 was replaced by #setOpenGLEmulation.

  • LWJGL3Net#openURI does now work on macOS & JDK >= 16; we also added a fallback to xdg-open on Linux if Desktop.BROWSE is unavailable

  • Issues with LWJGL 3 and borderless fullscreen were resolved

  • The AL_DIRECT_CHANNELS_SOFT option is now enabled by default for Sounds and AudioDevices as well; see #6527

LWJGL 3 ANGLE Extension

Mario also recently added a LWJGL3 ANGLE extension. It emulates OpenGL ES 2.0 through DirectX (Windows), desktop OpenGL (Linux), and Metal (macOS) and may become the preferred method of rendering on macOS if Apple removes OpenGL support entirely.

To use it, add the gdx-lwjgl3-angle extension to your gdx-lwjgl3 desktop project. Then call config.setOpenGLEmulation(GLEmulation.ANGLE_GLES20, 0, 0) on your Lwjgl3ApplicationConfiguration instance before creating your Lwjgl3Application. Check out #6672 for more information.

Pros:

  • Better compatibility with systems that don’t support OpenGL 2 by using DirectX on Windows and Metal on macOS.

  • May fix some OpenGL driver issues.

Cons:

  • Does only support OpenGL ES 2.0, as the macOS ANGLE Metal backend only supports OpenGL ES 2.0 at this point in time.

  • Currently contains non-working 32-bit Windows natives (see #6806).

  • Doesn’t support window transparency on macOS/Linux.

A few notable changes

  • Updated to MobiVM 2.3.16 from 2.3.12. This adds iOS 15.4 bindings, native M1 support as well as other fixes and improvements, including Gradle 7 support.

  • The GWT reflection cache was split into two generated classes, which doubles its size! (#6386)

  • An octree structure was added; see #6229

  • Added NWSEResize, NESWResize, AllResize, NotAllowed and None system cursors; see #6756 & #6822; and Graphics#setSystemCursor() now works on Android as well

  • GWT assets can now be hosted on a different URL than the Javascript files themselves (#6851)

Other breaking changes

  • We increased the minimum supported iOS version to 9.0. Update your Info.plist file if necessary.

  • On Android, we moved the natives loading out of static init block (see #5795); this allows users to run code before the initialisation of the natives

  • Shared libraries are now built on Ubuntu 18.04 (up from Ubuntu 16.04) to match the behaviour of LWJGL 3; this may make older Linux operating systems no longer compatible (see #6659)

  • The built-in font files arial-15.fnt and arial-15.png have been replaced with lsans-15.fnt and lsans-15.png. The new files should match the old ones very closely, but there is the possibility that it may change some text layout that uses the built-in font. Code that expects arial-15 assets to be present must change to lsans-15! (#6727)

  • AndroidApplicationConfiguration#hideStatusBar was removed; see #6683

Full changelog

Updating your Gradle project is straight-forward: Check out the instructions on the wiki! The latest version of dependencies can, as always, be found here.

- [BREAKING CHANGE] iOS: Increased min supported iOS version to 9.0. Update your Info.plist file if necessary.
- [BREAKING CHANGE] Android Moved natives loading out of static init block, see #5795
- [BREAKING CHANGE] Linux: Shared libraries are now built on Ubuntu 18.04 (up from Ubuntu 16.04)
- [BREAKING CHANGE] The built-in font files arial-15.fnt and arial-15.png have been replaced with lsans-15.fnt and lsans-15.png; this may change some text layout that uses the built-in font, and code that expects arial-15 assets to be present must change to lsans-15.
- [BREAKING CHANGE] Legacy LWJGL3 projects must update the sourceCompatibility to 1.8 or higher.
- [BREAKING CHANGE] Android Removed hideStatusBar configuration, see #6683
- [BREAKING CHANGE] Lwjgl3ApplicationConfiguration#useOpenGL3 was replaced by #setOpenGLEmulation
- [CONTRIBUTING] Removed Maven and Ant build systems. libGDX is now solely built with Gradle. See https://libgdx.com/dev/from-source/ for updated build instructions.
- [CONTRIBUTING] Gradle build now takes -PjavaVersion=7|8|9... to specify the Java version against which to compile libGDX. Default is Java 7 for everything, except the LWJGL3 backend, which is compiled for Java 8.
- LWJGL3 extension: Added gdx-lwjgl3-glfw-awt-macos extension. Fixes GLFW in such a way, that the LWJGL3/libGDX must no longer run on the main thread in macOS, which allows AWT to work in parallel, i.e. file dialogs, JFrames, ImageIO, etc. You no longer need to pass `-XstartOnFirstThread` when starting an LWJGL3 app on macOS. See `AwtTestLWJGL` in gdx-tests-lwjgl3. For more information, see https://github.com/libgdx/libgdx/pull/6772
- API Addition: Added LWJGL3 ANGLE support for x86_64 Windows, Linux, and macOS. Emulates OpenGL ES 2.0 through DirectX (Windows), desktop OpenGL (Linux), and Metal (macOS). May become the preferred method of rendering on macOS if Apple removes OpenGL support entirely. May fix some OpenGL driver issues. More information here: https://github.com/libgdx/libgdx/pull/6672
- iOS: Update to MobiVM 2.3.16
- Update to LWJGL 3.3.1; adds support for M1 Macs
- API Addition: ObjLoader now supports ambientColor, ambientTexture, transparencyTexture, specularTexture and shininessTexture
- API Addition: PointSpriteParticleBatch blending is now configurable.
- TOOLS Features: Blending mode and sort mode can be changed in Flame particle 3D editor.
- API Addition: Polygon methods setVertex, getVertex, getVertexCount, getCentroid.
- API Addition: TMX built-in tile property "type" is now supported.
- API Addition: Octree structure.
- API Addition: Added StringBuilder#toStringAndClear() method.
- FirstPersonCameraController keys mapping is now configurable
- Fix: GlyphLayout: Several fixes for color markup runs with multi-line or wrapping texts
- API change: GlyphLayout#GlyphRun is now one GlyphRun per line. "color" was removed from GlyphRun and is now handled by GlyphLayout.
- Gdx Setup Tool: Target Android API 30 and update AGP plugin to 4.1.3
- API Fix: Sound IDs are now properly removed; this prevents changes to music instances with the same ID
- API Fix: LWJGL3Net#openURI does now work on macOS & JDK >= 16
- API Fix: Fixed a possible deadlock with AssetManager#dispose() and #clear()
- API Change: Enable the AL_DIRECT_CHANNELS_SOFT option for Sounds and AudioDevices as well to fix stereo sound
- API Addition: CameraInputController#setInvertedControls(boolean)
- API Removal: AnimatedTiledMapTile#frameCount
- LWJGL 3 is now the default desktop backend. If you want to port your existing applications, take a look here: https://gist.github.com/crykn/eb37cb4f7a03d006b3a0ecad27292a2d
- Brought the official and third-party extensions in gdx-setup up to date. Removed some unmaintained ones and added gdx-websockets & jbump.
- API Fix: Escaped characters in XML attributes are now properly un-escaped
- Bug Fix: AssetManager backslash conversion removed - fixes use of filenames containing backslashes
- gdx-setup now places the assets directory in project root instead of android or core. See advanced settings (UI) or arguments (command line) if you don't want it in root.
- API Fix: Resolved issues with LWJGL 3 and borderless fullscreen
- API Addition: GeometryUtils,polygons isCCW, ensureClockwise, reverseVertices
- API Addition: Added FreeTypeFontGenerator#hasCharGlyph method.
- API Fix: Pool discard method now resets object by default. This fixes the known issue about Pool in libGDX 1.10.0.
- API Addition: Split GWT reflection cache into two generated classes
- API Fix: Fix Box2D memory leak with ropes on GWT
- API Fix: Fix NPE in Type#getDeclaredAnnotation
- API Addition: Add pause/resume methods to AudioDevice
- API Fix: Protection against NullPointerException in World#destroyBody()
- API Fix: Prevent repeated mipmap generation in FileTextureArrayData
- API Fix: Fix issue with camera reference in CameraGroupStrategy’s default sorter
- API Fix: Move vertex array index buffer limit to backends to fix issue with numIndices parameter
- API Fix: TexturePacker: Fix wrong Y value when using padding
- API Fix: Lwjgl3Net: Add fallback to xdg-open on Linux if Desktop.BROWSE is unavailable
- API Addition: Add NWSEResize, NESWResize, AllResize, and NotAllowed and None SystemCursors
- API Addition: GWTApplication#getJavaHeap and getNativeHeap are now supported
- API Addition: Box2D Shape now implements Disposable
- API Addition: Added ChainShape#clear method
- API Addition: Adds Tooltip#setTouchIndependent; see #6758
- API Addition: Emulate Timer#isEmpty on GWT
- API Addition: Bits add copy constructor public Bits (Bits bitsToCpy)
- API Addition: Added List#drawSelection().
- API Addition: GwtApplicationConfiguration#xrCompatible
- API Fix: setSystemCursor() now works on Android
- API Fix: getDisplayMode() is now more accurate on Android and GWT.
- API Addition: JsonValue#iterator(String) to more easily iterate a child that may not exist.
- API Addition: Added ExtendViewport#setScaling, eg for use with Scaling.contain.
- API Addition: Added getBoundingRectangle() to Polyline
- API Addition: ShapeRenderer#check() has now protected visibility
- API Addition: Add ability to host GWT module on a different domain than the site, see #6851
- Various minor Scene2D improvements

r/libgdx • • Jan 01 '20

Happy New Year 2020 to all LibGDX users! Have a great year ahead and wish the LibGDX project continue to prosper!

Post image
48 Upvotes

r/libgdx • • Aug 22 '17

There is now a libGDX discord server!

48 Upvotes

Thank you /u/spaceemaster for creating the new libGDX discord server. There are a number of channels, including but not limited to: screenshot sharing, question & answers, and kotlin discussions.

Click the link below to join in.

 

https://discord.gg/6pgDK9F

 


Original post


r/libgdx • • Dec 13 '16

libGDX 1.9.5 released

Thumbnail
badlogicgames.com
48 Upvotes

r/libgdx • • Jun 09 '24

Wizardo : How it started vs how it's going

47 Upvotes