game-dev #8

Merged
leon merged 9 commits from game-dev into dev/game 2023-09-24 13:32:16 +02:00
2 changed files with 253 additions and 0 deletions
Showing only changes of commit e0da928eee - Show all commits

4
godot/SPECIAL.tres Normal file
View File

@ -0,0 +1,4 @@
[gd_resource type="Theme" format=3 uid="uid://b16massh2pdbt"]
[resource]
/font_sizes/12 = 20

View File

@ -7,6 +7,7 @@
[node name="Node2D" type="Node2D"]
[node name="Ingame" type="CanvasLayer" parent="."]
visible = false
[node name="Eingabe" type="VBoxContainer" parent="Ingame"]
anchors_preset = 12
@ -106,3 +107,251 @@ focus_neighbor_bottom = NodePath("../Ingame/Eingabe")
texture = SubResource("CompressedTexture2D_ncw85")
expand_mode = 1
stretch_mode = 1
[node name="HauptMenü" type="CanvasLayer" parent="."]
[node name="VBoxContainer" type="VBoxContainer" parent="HauptMenü"]
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -640.0
offset_top = -520.0
offset_right = 640.0
offset_bottom = 520.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 0
[node name="Titelbild" type="TextureRect" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(0, 200)
layout_mode = 2
[node name="Pop up Menu Szenen" type="MenuButton" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
text = "Beispielszenen"
flat = false
icon_alignment = 1
switch_on_hover = true
item_count = 12
popup/item_0/text = "Fantasy"
popup/item_0/id = 0
popup/item_0/separator = true
popup/item_1/text = "Fantasy 1"
popup/item_1/id = 1
popup/item_2/text = "Fantasy 2"
popup/item_2/id = 2
popup/item_3/text = "Sci Fi"
popup/item_3/id = 3
popup/item_3/separator = true
popup/item_4/text = "Sci Fi 1"
popup/item_4/id = 4
popup/item_5/text = "Sci Fi 2"
popup/item_5/id = 5
popup/item_6/text = "Cyberpunk"
popup/item_6/id = 6
popup/item_6/separator = true
popup/item_7/text = "Cyberpunk 1"
popup/item_7/id = 7
popup/item_8/text = "Cyberpunk 2"
popup/item_8/id = 8
popup/item_9/text = "Krimi"
popup/item_9/id = 9
popup/item_9/separator = true
popup/item_10/text = "Krimi 1"
popup/item_10/id = 10
popup/item_11/text = "Krimi 2"
popup/item_11/id = 11
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 300)
layout_direction = 1
layout_mode = 2
size_flags_horizontal = 4
placeholder_text = "Enter a custom setting"
drag_and_drop_selection_enabled = false
middle_mouse_paste_enabled = false
[node name="Strength" type="HBoxContainer" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="StrengthLabel" type="TextEdit" parent="HauptMenü/VBoxContainer/Strength"]
layout_mode = 2
size_flags_horizontal = 3
text = "Strength"
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer/Strength"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
[node name="Perception" type="HBoxContainer" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="PerceptionLabel" type="TextEdit" parent="HauptMenü/VBoxContainer/Perception"]
layout_mode = 2
size_flags_horizontal = 3
text = "Perception"
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer/Perception"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
[node name="Endurance" type="HBoxContainer" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="EnduranceLabel" type="TextEdit" parent="HauptMenü/VBoxContainer/Endurance"]
layout_mode = 2
size_flags_horizontal = 3
text = "Endurance"
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer/Endurance"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
[node name="Charisma" type="HBoxContainer" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="CharismaLabel" type="TextEdit" parent="HauptMenü/VBoxContainer/Charisma"]
layout_mode = 2
size_flags_horizontal = 3
text = "Charisma"
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer/Charisma"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
[node name="Intelligence" type="HBoxContainer" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="CharismaLabel" type="TextEdit" parent="HauptMenü/VBoxContainer/Intelligence"]
layout_mode = 2
size_flags_horizontal = 3
text = "Intelligence"
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer/Intelligence"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
[node name="Agillity" type="HBoxContainer" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="AgillityLabel" type="TextEdit" parent="HauptMenü/VBoxContainer/Agillity"]
layout_mode = 2
size_flags_horizontal = 3
text = "Agillity"
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer/Agillity"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
[node name="Luck" type="HBoxContainer" parent="HauptMenü/VBoxContainer"]
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
[node name="LuckLabel" type="TextEdit" parent="HauptMenü/VBoxContainer/Luck"]
layout_mode = 2
size_flags_horizontal = 3
text = "Luck"
editable = false
context_menu_enabled = false
shortcut_keys_enabled = false
selecting_enabled = false
deselect_on_focus_loss_enabled = false
drag_and_drop_selection_enabled = false
virtual_keyboard_enabled = false
middle_mouse_paste_enabled = false
[node name="TextEdit" type="TextEdit" parent="HauptMenü/VBoxContainer/Luck"]
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
[node name="Playbutton" type="Button" parent="HauptMenü/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 3
text = " PLAY "