Releases: mynttt/gnuman
Java 11 Support
Java 11 is now supported. (Update to 2020 version that contained no longer needed Linux resize fix)
Linux resize issue that is a JavaFX bug has been mitigated by replacing the setResizable call and trapping the window between maxWidth/minWidth and maxHeight/minHeight which has the same effect.Mitigation will be applied only if Linux is detected as OS.- Platform dependant fat jars instead of one giant Überjar.
- Gradle added as build tool to repo
- Java 8 branch archived
New Sound System
I updated my Ubuntu today and saw that JavaFX 8's AudioClip has issues with the newer Ubuntu version. This could be bypassed by using wav files but they would be huge.
So instead the new audio system loads .ogg and extracts the raw audio. Which uses more RAM but keeps the filesize small and is now independent of JavaFX bugs.
Update: Java 11 compatible version added. With my Kubuntu system there exists a critical bug within JavaFXs window resizement. If you start to load the game screen it will crash with the message "gtk_window_resize: assertion 'height > 0' failed" as some cpp backend fails to work properly. I tried some hotfixes but there is nothing I can do as it is on JavaFXs side.
The Java 11 jar is a fat jar build with maven which packages all the native libraries. There is currently no other way to deploy a cross platform JavaFX 11 app otherwise sadly.
Resizing window glitches with some Linux DEs regarding GDK and JavaFX with the Java 11 version and how to circumvent them:
Tiny black window on start-up:
- The disclaimer is not being rendered properly, wait a few seconds for the menu to show itself or press a button and hope that your DE caught focus and trigger the skip manually.
Tiny black window when exiting map editor:
- Press ARROW-DOWN and then ENTER. You'll be back in the main menu with a properly sized window.
Wrongly sized window when starting a game:
- Press Escape to get in the pause menu and then resume the game.
Wrongly sized high score enter name window:
- Nothing to do here sadly, enter your name and press enter. Then press new game and go back to get a normal sized menu again.
Easter Egg will be cut off because the window fails to resize.
- No fix for that.
Bouncing / Debug renderer / UI Updates
- Debug renderer now shows the ghosts behavior which is cool if you want to visualize the ghosts targeting system
- Ghosts will now bounce in the ghost house
- Minor UI Fixes regarding scaling
Rare conditional bugs regarding ghosts / special item
- fixed bug where ghosts switch movement state after being dead because the internal state supervisor has not been instantly paused after switching the behavior state to dead.
- fixed bug where the special item can be picked up indefinitely because there was no tracking of how often the item has spawned in one level
- disabled logging by default
Thanks to silec for finding these bugs again!
UI Update and fixes
- Mostly just better design choices for the UI
- UI Bug with the Highscore fixed, thanks silec!
Timer bug fixed
- The timers did not scale properly with the game speed, this is now fixed.
Important!
- fixed semantic in the help.
Linux related fixes
- fixed bug with JavaFX scene rendering under linux
- fixed map editor margin on start up on linux
- fixed bug with the map editor teleporter fixing tool
- new location for highscore file
Small fixes
- Integer overflow @ scoring fixed that only occurs if one creates a really weird custom map consisting mainly of power ups
- File extension filter . for loading a map added as some Linux DE's don't append the .gnuman from the map editors save filter and thus the user would have to rename the map file
- NullPointerException fixed that occurs when going into a chunk located at Y: -1
First release!
Java 8 compatible JAR.