Add sound, imprint and icons
* Fix random quest generator putting out zero rewards
This commit is contained in:
@@ -54,11 +54,11 @@ Label.red {
|
||||
Label.green {
|
||||
-fx-text-fill: #457229;
|
||||
}
|
||||
.options-menu > Label {
|
||||
.menu > Label {
|
||||
-fx-font-size: 16;
|
||||
}
|
||||
.options-menu .heading {
|
||||
-fx-padding: 10 0 0 0;
|
||||
.menu > .heading {
|
||||
-fx-padding: 8 0 0 0;
|
||||
-fx-font-size: 20;
|
||||
-fx-font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -21,27 +21,38 @@
|
||||
</ToolBar>
|
||||
<ScrollPane fitToWidth="true" VBox.vgrow="ALWAYS">
|
||||
<content>
|
||||
<GridPane styleClass="options-menu">
|
||||
<GridPane styleClass="menu">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" />
|
||||
<ColumnConstraints halignment="RIGHT" hgrow="SOMETIMES" minWidth="10.0" />
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="SOMETIMES" />
|
||||
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="30.0" vgrow="SOMETIMES" />
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<Label styleClass="heading" text="%menu.options.general" GridPane.columnSpan="2147483647" />
|
||||
<Label text="Language" GridPane.rowIndex="1" />
|
||||
<ChoiceBox fx:id="languageChoice" prefWidth="150.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label styleClass="heading" text="%menu.options.gameplay" GridPane.columnSpan="2147483647" GridPane.rowIndex="2" />
|
||||
<Label text="%menu.options.gameplay.quest-resolving" GridPane.rowIndex="3" />
|
||||
<ToggleButton fx:id="allowQuestResolvingToggle" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="3" />
|
||||
<Label text="%menu.options.gameplay.auto-quest-refill" GridPane.rowIndex="4" />
|
||||
<ToggleButton fx:id="autoQuestRefillToggle" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
<Label minHeight="-Infinity" text="Language" wrapText="true" GridPane.rowIndex="1" />
|
||||
<ChoiceBox fx:id="languageChoice" minWidth="-Infinity" GridPane.columnIndex="1" GridPane.rowIndex="1" />
|
||||
<Label styleClass="heading" text="%menu.options.gameplay" GridPane.columnSpan="2147483647" GridPane.rowIndex="3" />
|
||||
<Label minHeight="-Infinity" text="%menu.options.gameplay.quest-resolving" wrapText="true" GridPane.rowIndex="4" />
|
||||
<ToggleButton fx:id="allowQuestResolvingToggle" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="4" />
|
||||
<Label minHeight="-Infinity" text="%menu.options.gameplay.auto-quest-refill" wrapText="true" GridPane.rowIndex="5" />
|
||||
<ToggleButton fx:id="autoQuestRefillToggle" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="5" />
|
||||
<Label styleClass="heading" text="%menu.options.imprint" GridPane.rowIndex="6" />
|
||||
<Label minHeight="-Infinity" text="%menu.options.general.sounds" wrapText="true" GridPane.rowIndex="2" />
|
||||
<ToggleButton fx:id="soundsEnabledToggle" mnemonicParsing="false" GridPane.columnIndex="1" GridPane.rowIndex="2" />
|
||||
<Label alignment="TOP_LEFT" minHeight="-Infinity" text="%menu.options.imprint.developer" textAlignment="JUSTIFY" wrapText="true" GridPane.rowIndex="7" />
|
||||
<Label minHeight="-Infinity" text="%menu.options.imprint.assets" textAlignment="JUSTIFY" wrapText="true" GridPane.rowIndex="8" />
|
||||
<Label minHeight="-Infinity" text="%menu.options.imprint.javafx" textAlignment="JUSTIFY" wrapText="true" GridPane.rowIndex="9" />
|
||||
</children>
|
||||
<padding>
|
||||
<Insets left="20.0" right="20.0" />
|
||||
|
||||
BIN
src/main/resources/assets/sound/destroy.wav
Normal file
BIN
src/main/resources/assets/sound/destroy.wav
Normal file
Binary file not shown.
BIN
src/main/resources/assets/sound/earn-money.wav
Normal file
BIN
src/main/resources/assets/sound/earn-money.wav
Normal file
Binary file not shown.
BIN
src/main/resources/assets/sound/lose-money.wav
Normal file
BIN
src/main/resources/assets/sound/lose-money.wav
Normal file
Binary file not shown.
BIN
src/main/resources/assets/sound/place.wav
Normal file
BIN
src/main/resources/assets/sound/place.wav
Normal file
Binary file not shown.
BIN
src/main/resources/assets/textures/icon.png
Normal file
BIN
src/main/resources/assets/textures/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
@@ -5,9 +5,14 @@ menu.options = Optionen
|
||||
menu.options.available = Verf\u00fcgbare Optionen:
|
||||
menu.options.back = Anwenden und zur\u00fcck
|
||||
menu.options.general = Allgemein
|
||||
menu.options.general.sounds = Geräusche
|
||||
menu.options.gameplay = Spielmechanik
|
||||
menu.options.gameplay.quest-resolving = Erlauben Auftr\u00e4ge gegeneinander aufzul\u00f6sen
|
||||
menu.options.gameplay.auto-quest-refill = Automatisch neue Auftr\u00e4ge akzeptieren
|
||||
menu.options.imprint = Impressum
|
||||
menu.options.imprint.developer = Entwickelt von Johannes Freitag.
|
||||
menu.options.imprint.assets = Die Grafiken wurden von mir selbst erstellt. Die Audio-Dateien stammen von freesound.org und sind lizensiert als CC0.
|
||||
menu.options.imprint.javafx = Die Benutzeroberfläche wurde mit JavaFX und dem Gluon Scene Builder erstellt.
|
||||
|
||||
general.invalid-input = Ung\u00fcltige Eingabe
|
||||
|
||||
|
||||
@@ -8,9 +8,14 @@ menu.options = Options
|
||||
menu.options.available = Available options:
|
||||
menu.options.back = Apply & Leave
|
||||
menu.options.general = General
|
||||
menu.options.general.sounds = Sounds
|
||||
menu.options.gameplay = Gameplay
|
||||
menu.options.gameplay.quest-resolving = Allow quest resolving
|
||||
menu.options.gameplay.auto-quest-refill = Automatically refill quests
|
||||
menu.options.imprint = Imprint
|
||||
menu.options.imprint.developer = Developed by Johannes Freitag.
|
||||
menu.options.imprint.assets = Images are made by myself. Sounds are licensed as CC0 and taken from freesound.org.
|
||||
menu.options.imprint.javafx = User Interface created with JavaFX and the Gluon Scene Builder.
|
||||
|
||||
general.invalid-input = Invalid input
|
||||
|
||||
|
||||
Reference in New Issue
Block a user