added background music and improved model code

reduced switch case for creating different ship models
created a new class for background music
added a button to toggle background music
added a slider so adjust volume
added new style for labeling the slider
This commit is contained in:
Timo Brennförder
2024-10-03 22:08:26 +02:00
parent 3bcaca8810
commit 9cfabdb15d
18 changed files with 186 additions and 697582 deletions

View File

@@ -37,3 +37,7 @@ dialog.error=Error
dialog.question=Question
port.must.be.integer=Port must be an integer number
map.doesnt.fit=The map doesn't fit to this game
ships.dont.fit.the.map=Ships are out of bounds
menu.music.toggle= Music on/off
menu.music.volume= Volume

View File

@@ -27,7 +27,7 @@ host.name=Host
port.number=Port
wait.its.not.your.turn=Warte, Du bist nicht dran!!
menu.quit=Spiel beenden
menu.return-to-game=Zurück zum Spiel
menu.return-to-game=Zurück zum Spiel
menu.sound-enabled=Sound eingeschaltet
menu.map.load=Karte von Datei laden...
menu.map.save=Karte in Datei speichern...
@@ -37,3 +37,7 @@ dialog.error=Fehler
dialog.question=Frage
port.must.be.integer=Der Port muss eine ganze Zahl sein
map.doesnt.fit=Diese Karte passt nicht zu diesem Spiel
ships.dont.fit.the.map=Schiffe sind außerhalb der Map
menu.music.toggle= Musik an/aus
menu.music.volume= Lautstärke