This repository has been archived on 2023-11-16. You can view files and clone it, but cannot push or open issues or pull requests.
GOA/godot/UI.tscn

379 lines
11 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=8 format=3 uid="uid://1gar30yhw8ay"]
2023-09-23 10:28:37 +02:00
2023-09-23 20:23:55 +02:00
[ext_resource type="Script" path="res://MainMenu.cs" id="1_m0gay"]
2023-09-23 17:04:11 +02:00
[ext_resource type="Texture2D" uid="uid://vn2ficr8n4n5" path="res://GodofAi.jpg" id="2_m684j"]
[ext_resource type="Script" path="res://Playbutton.cs" id="3_ucfae"]
[ext_resource type="Script" path="res://LLMApiRequests.cs" id="4_ff2gi"]
[ext_resource type="Script" path="res://SendIngamePrompt.cs" id="5_tk0bn"]
[ext_resource type="Script" path="res://FetchButton.cs" id="5_xvgwq"]
2023-09-23 10:28:37 +02:00
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ncw85"]
2023-09-23 17:04:11 +02:00
[node name="Root" type="Node2D"]
2023-09-23 10:28:37 +02:00
2023-09-23 20:23:55 +02:00
[node name="MainMenu" type="Node2D" parent="."]
2023-09-23 17:04:11 +02:00
position = Vector2(320, 20)
2023-09-23 20:23:55 +02:00
script = ExtResource("1_m0gay")
2023-09-23 10:28:37 +02:00
2023-09-23 20:23:55 +02:00
[node name="MainMenuCanvas" type="CanvasLayer" parent="MainMenu"]
2023-09-23 10:28:37 +02:00
2023-09-23 20:23:55 +02:00
[node name="VBoxContainer" type="VBoxContainer" parent="MainMenu/MainMenuCanvas"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="Titelbild" type="TextureRect" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(0, 200)
layout_mode = 2
2023-09-23 17:04:11 +02:00
texture = ExtResource("2_m684j")
2023-09-23 13:33:52 +02:00
2023-09-23 20:23:55 +02:00
[node name="Pop up Menu Szenen" type="MenuButton" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 21:52:03 +02:00
[node name="ScenarioTextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="Strength" type="HBoxContainer" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="StrengthLabel" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Strength"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Strength"]
2023-09-23 13:33:52 +02:00
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
2023-09-23 20:23:55 +02:00
[node name="Perception" type="HBoxContainer" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="PerceptionLabel" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Perception"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Perception"]
2023-09-23 13:33:52 +02:00
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
2023-09-23 20:23:55 +02:00
[node name="Endurance" type="HBoxContainer" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="EnduranceLabel" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Endurance"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Endurance"]
2023-09-23 13:33:52 +02:00
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
2023-09-23 20:23:55 +02:00
[node name="Charisma" type="HBoxContainer" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="CharismaLabel" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Charisma"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Charisma"]
2023-09-23 13:33:52 +02:00
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
2023-09-23 20:23:55 +02:00
[node name="Intelligence" type="HBoxContainer" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="CharismaLabel" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Intelligence"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Intelligence"]
2023-09-23 13:33:52 +02:00
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
2023-09-23 20:23:55 +02:00
[node name="Agillity" type="HBoxContainer" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="AgillityLabel" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Agillity"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Agillity"]
2023-09-23 13:33:52 +02:00
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
2023-09-23 20:23:55 +02:00
[node name="Luck" type="HBoxContainer" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
custom_minimum_size = Vector2(520, 50)
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="LuckLabel" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Luck"]
2023-09-23 13:33:52 +02:00
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
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="MainMenu/MainMenuCanvas/VBoxContainer/Luck"]
2023-09-23 13:33:52 +02:00
clip_contents = true
layout_mode = 2
size_flags_horizontal = 3
placeholder_text = "0"
2023-09-23 20:23:55 +02:00
[node name="Playbutton" type="Button" parent="MainMenu/MainMenuCanvas/VBoxContainer"]
2023-09-23 13:33:52 +02:00
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 3
text = " PLAY "
2023-09-23 17:04:11 +02:00
script = ExtResource("3_ucfae")
2023-09-23 20:23:55 +02:00
[node name="Ingame" type="Node2D" parent="."]
2023-09-23 17:04:11 +02:00
2023-09-23 20:23:55 +02:00
[node name="IngameCanvas" type="CanvasLayer" parent="Ingame"]
2023-09-23 17:04:11 +02:00
2023-09-23 20:23:55 +02:00
[node name="Eingabe" type="VBoxContainer" parent="Ingame/IngameCanvas"]
2023-09-23 17:04:11 +02:00
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -360.0
offset_right = -500.0
grow_horizontal = 2
grow_vertical = 0
size_flags_vertical = 0
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="Ingame/IngameCanvas/Eingabe"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
[node name="Button" type="Button" parent="Ingame/IngameCanvas/Eingabe"]
layout_mode = 2
text = "Send"
script = ExtResource("5_tk0bn")
[node name="Button2" type="Button" parent="Ingame/IngameCanvas/Eingabe"]
layout_mode = 2
text = "Fetch"
script = ExtResource("5_xvgwq")
2023-09-23 20:23:55 +02:00
[node name="Story" type="VBoxContainer" parent="Ingame/IngameCanvas"]
2023-09-23 17:04:11 +02:00
anchors_preset = 11
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -500.0
grow_horizontal = 0
grow_vertical = 2
size_flags_horizontal = 8
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="Ingame/IngameCanvas/Story"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
editable = false
context_menu_enabled = false
wrap_mode = 1
2023-09-23 20:23:55 +02:00
[node name="Stats" type="VBoxContainer" parent="Ingame/IngameCanvas"]
2023-09-23 17:04:11 +02:00
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 1280.0
offset_right = -500.0
offset_bottom = -360.0
grow_horizontal = 2
grow_vertical = 2
2023-09-23 20:23:55 +02:00
[node name="TextEdit" type="TextEdit" parent="Ingame/IngameCanvas/Stats"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
placeholder_text = "SampleStat = 1
"
editable = false
context_menu_enabled = false
2023-09-23 20:23:55 +02:00
[node name="TextEdit2" type="TextEdit" parent="Ingame/IngameCanvas/Stats"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
editable = false
context_menu_enabled = false
2023-09-23 20:23:55 +02:00
[node name="TextEdit3" type="TextEdit" parent="Ingame/IngameCanvas/Stats"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
editable = false
context_menu_enabled = false
2023-09-23 20:23:55 +02:00
[node name="TextEdit4" type="TextEdit" parent="Ingame/IngameCanvas/Stats"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
editable = false
context_menu_enabled = false
2023-09-23 20:23:55 +02:00
[node name="TextEdit5" type="TextEdit" parent="Ingame/IngameCanvas/Stats"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
editable = false
context_menu_enabled = false
2023-09-23 20:23:55 +02:00
[node name="TextEdit6" type="TextEdit" parent="Ingame/IngameCanvas/Stats"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
editable = false
context_menu_enabled = false
2023-09-23 20:23:55 +02:00
[node name="TextEdit7" type="TextEdit" parent="Ingame/IngameCanvas/Stats"]
2023-09-23 17:04:11 +02:00
layout_mode = 2
size_flags_vertical = 3
editable = false
context_menu_enabled = false
2023-09-23 20:23:55 +02:00
[node name="Szenerie" type="TextureRect" parent="Ingame/IngameCanvas"]
2023-09-23 17:04:11 +02:00
offset_left = -3.0
offset_top = -1.0
offset_right = 1277.0
offset_bottom = 719.0
texture = SubResource("CompressedTexture2D_ncw85")
expand_mode = 1
stretch_mode = 1
[node name="LLMApiRequests" type="HTTPRequest" parent="."]
script = ExtResource("4_ff2gi")