MovingBlocks / DestinationSol

Official continuation of Destination Sol, the great fun little arcade space shooter from http://sourceforge.net/projects/destinationsol/ Modules live at https://github.com/DestinationSol/
Apache License 2.0
325 stars 122 forks source link

Update LibGDX to version 1.9.14 #637

Closed BenjaminAmos closed 2 years ago

BenjaminAmos commented 2 years ago

Description

This pull request updates LibGDX to version 1.9.14.

To see what has changed you can view the release notes for interim LibGDX versions:

In terms of breaking LibGDX API changes:

The gdx-controllers library has changed its versioning, so it no longer shares a version number with its corresponding LibGDX release. The version numbers have therefore been changed in the corresponding gradle files that use them.

I found that the libGdxVersion variable was being defined seperately in two different gradle files, so I removed the variables from config/gradle/common.gradle so that they are all defined in the same file (build.gradle in the root directory). I assumed that all variables in an allprojects block are applied to all sub-projects recursively of the root project.

Testing

This should not require any android changes, as it uses the gradle gdxVersion variable rather than hard-coding the version used.

Notes

LibGDX 1.9.13 introduced the foregroundFPS setting for the LWJGL3 back-end, which was previously present in the LWJGL2 back-end. I have not used it for now though as there is no equivalent code for the android back-end.

This depends on MovingBlocks/TeraNUI#68, as there can only be one version of LibGDX present on the classpath (and the newer versions have ABI-breaking changes in them).

Cervator commented 2 years ago

Tests out locally on both PC and Android :-) Merging!