Snake3D: Released Version 1.1 containing an upgrade of the GUI.

Words
252
Reading
2 min
Listen
Play
7y

Repository

https://github.com/IntegratedQuantum/Snake3D

New Features

The menu GUI now contains several buttons which can be pressed with the mouse:
Screenshot from 2019-07-24 23-08-18.png
The buttons are triggered using the java MouseListener which I added here.
The buttons simply consist of one Rectangle containing a text that changes color if the mouse was pressed above it. The level and difficulty selection is also indicated by another color.
The Start button simply starts the game, but space can still be used for that.
Difficulty and level can now be selected using the mouse or you can cycle through them with G(for the difficulty) and L(for the level).
Now that level and difficulty are seperated it has also become possible to select a level in hard mode:
Screenshot from 2019-07-25 12-12-21.png
The death-screen pretty much remained the same, but you now have to leave it pressing any key to start a new game. I made it this way so the death-screen isn't overloaded with the same details as the main-screen having also the "Game Over" at the position where the start button would be.

Minor changes

GitHub Account

https://github.com/IntegratedQuantum

Snake3D: Released Version 1.1 containing an upgrade of the GUI. | Ecency