Releases: crykn/libgdx-screenmanager
Releases · crykn/libgdx-screenmanager
0.7.1
- Update to libGDX 1.13.5
- Fix shader compilation on macOS with OpenGL 3.2+ which was accidentally broken in the last release
- Add
FboScreenUtils#retrieveFboStatusand#restoreFboStatusto make dealing with external libraries simpler - You can now return null in
ManagedScreen#getClearColor()andScreenTransition#getClearColor()to disable screen clearing - Fix compatibility issue which prevented the library from working with MobiVM
- Minor improvements to the documentation
0.7.0
- Update to libGDX 1.12.1
- The screen manager now no longer reuses screen instances to closer resemble libGDX's
Gameclass. Previous users of the library should take note of the following:- Screens & transitions don't have to be registered anymore;
ScreenManager#pushnow takes aManagedScreenand aScreenTransitioninstance as arguments ManagedGame#initialize&ManagedGame#createwere removed to eliminate the confusion around the difference between constructors,#create()and#show(); old code should be put in the constructor or#show().#show()might be preferred, since it is guaranteed to be always called on the active GL thread.ScreenTransition#resetwas removed in favour ofScreenTransition#showand#hide; old code should be put in#show()ShaderTransitions now compile their shader in the constructor; this means that the constructor has to be called on the OpenGL thread- Use
ScreenManager#setAutoDispose(true, true)if you don't want to reuse your screens and transitions and thus they should be disposed automatically upon#hide()
- Screens & transitions don't have to be registered anymore;
- The GWT support was reworked; please check out the wiki for the new dependency structure
Common issues
Tracing compile failure path for type 'de.damios.guacamole.Stopwatch'
[ERROR] Errors in 'jar:file:/C:/Users/xyz/.gradle/caches/modules-2/files2.1/com.github.crykn.guacamole/core/0.3.5/36467acd0d6577ed9ca41b43ae0b6dabb3f45aba/core-0.3.5-sources.jar!/de/damios/guacamole/Stopwatch.java'
[ERROR] Line 48: The method nanoTime() is undefined for the type System
libgdx-screenmanager requires GWT 2.10.0 to work on the web. Support for this was only recently added in libGDX 1.12.2-SNAPSHOT, but can be achieved for older versions of libGDX via tommyettinger/gdx-backends.
0.6.9
- Update to libGDX 1.12.0
- Add
ManagedScreenAdapter - Improve the documentation
Common Issues
Could not resolve com.github.crykn.guacamole:gdx:0.3.3.
Required by:
project :core-game > project :core > com.github.crykn:libgdx-screenmanager:0.6.9
Sometimes there seem to be troubles when retrieving a built artifact from Jitpack. You can try to fix this by adding api "com.github.crykn.guacamole:gdx:v0.3.3" (note the v before the version!) as additional dependency. If that does not work, removing mavenLocal() as repository in your build.gradle might help. Alternatively, you can also delete the com/github/crykn subfolder of .m2/repository/ to trigger another download.
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
0.6.3
- Fix an issue happening on GWT by updating to guacamole 0.2.2