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/
InputProcessor scrolled method now receives scroll amount for X and Y. Changed type to float to support devices which report fractional scroll amounts. Updated InputEvent in scene2d accordingly: added scrollAmountX, scrollAmountY attributes and corresponding setters and getters (#6154).
Vector2 angleRad(Vector2) now correctly returns counter-clockwise angles (#5428).
getDeltaTime() now returns the raw delta time instead of a smoothed one on Android (#6228).
Gdx.files.external on Android now uses app external storage (File handling).
HeadlessApplicationConfiguration#renderInterval was changed to #updatesPerSecond
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
Build the game, which should not display any compile errors.
Run the game and test things as usual
If possible, try using all the avaliable input modes (Keyboard, Keyboard+Mouse and Controller)
If possible, try doing this using both the android and desktop facades
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).
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 fromconfig/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 anallprojects
block are applied to all sub-projects recursively of the root project.Testing
Keyboard
,Keyboard+Mouse
andController
)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).