add simple decorative ui elements

This commit is contained in:
Damian 2023-09-23 10:42:36 +02:00
parent e8dc69f22e
commit d5c8b318eb
2 changed files with 17 additions and 17 deletions

View File

@ -6,9 +6,9 @@
[node name="Node2D" type="Node2D"] [node name="Node2D" type="Node2D"]
[node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="Ingame" type="CanvasLayer" parent="."]
[node name="Eingabe" type="VBoxContainer" parent="CanvasLayer"] [node name="Eingabe" type="VBoxContainer" parent="Ingame"]
anchors_preset = 12 anchors_preset = 12
anchor_top = 1.0 anchor_top = 1.0
anchor_right = 1.0 anchor_right = 1.0
@ -19,12 +19,12 @@ grow_horizontal = 2
grow_vertical = 0 grow_vertical = 0
size_flags_vertical = 0 size_flags_vertical = 0
[node name="TextEdit" type="TextEdit" parent="CanvasLayer/Eingabe"] [node name="TextEdit" type="TextEdit" parent="Ingame/Eingabe"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
script = ExtResource("1_5gfrp") script = ExtResource("1_5gfrp")
[node name="Story" type="VBoxContainer" parent="CanvasLayer"] [node name="Story" type="VBoxContainer" parent="Ingame"]
anchors_preset = 11 anchors_preset = 11
anchor_left = 1.0 anchor_left = 1.0
anchor_right = 1.0 anchor_right = 1.0
@ -34,7 +34,7 @@ grow_horizontal = 0
grow_vertical = 2 grow_vertical = 2
size_flags_horizontal = 8 size_flags_horizontal = 8
[node name="TextEdit" type="TextEdit" parent="CanvasLayer/Story"] [node name="TextEdit" type="TextEdit" parent="Ingame/Story"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
placeholder_text = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet." placeholder_text = "Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
@ -42,7 +42,7 @@ editable = false
context_menu_enabled = false context_menu_enabled = false
wrap_mode = 1 wrap_mode = 1
[node name="Stats" type="VBoxContainer" parent="CanvasLayer"] [node name="Stats" type="VBoxContainer" parent="Ingame"]
anchors_preset = 15 anchors_preset = 15
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
@ -52,7 +52,7 @@ offset_bottom = -360.0
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
[node name="TextEdit" type="TextEdit" parent="CanvasLayer/Stats"] [node name="TextEdit" type="TextEdit" parent="Ingame/Stats"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
placeholder_text = "SampleStat = 1 placeholder_text = "SampleStat = 1
@ -60,49 +60,49 @@ placeholder_text = "SampleStat = 1
editable = false editable = false
context_menu_enabled = false context_menu_enabled = false
[node name="TextEdit2" type="TextEdit" parent="CanvasLayer/Stats"] [node name="TextEdit2" type="TextEdit" parent="Ingame/Stats"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
editable = false editable = false
context_menu_enabled = false context_menu_enabled = false
[node name="TextEdit3" type="TextEdit" parent="CanvasLayer/Stats"] [node name="TextEdit3" type="TextEdit" parent="Ingame/Stats"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
editable = false editable = false
context_menu_enabled = false context_menu_enabled = false
[node name="TextEdit4" type="TextEdit" parent="CanvasLayer/Stats"] [node name="TextEdit4" type="TextEdit" parent="Ingame/Stats"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
editable = false editable = false
context_menu_enabled = false context_menu_enabled = false
[node name="TextEdit5" type="TextEdit" parent="CanvasLayer/Stats"] [node name="TextEdit5" type="TextEdit" parent="Ingame/Stats"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
editable = false editable = false
context_menu_enabled = false context_menu_enabled = false
[node name="TextEdit6" type="TextEdit" parent="CanvasLayer/Stats"] [node name="TextEdit6" type="TextEdit" parent="Ingame/Stats"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
editable = false editable = false
context_menu_enabled = false context_menu_enabled = false
[node name="TextEdit7" type="TextEdit" parent="CanvasLayer/Stats"] [node name="TextEdit7" type="TextEdit" parent="Ingame/Stats"]
layout_mode = 2 layout_mode = 2
size_flags_vertical = 3 size_flags_vertical = 3
editable = false editable = false
context_menu_enabled = false context_menu_enabled = false
[node name="TextureRect" type="TextureRect" parent="."] [node name="Szenerie" type="TextureRect" parent="."]
offset_left = -3.0 offset_left = -3.0
offset_top = -1.0 offset_top = -1.0
offset_right = 1277.0 offset_right = 1277.0
offset_bottom = 719.0 offset_bottom = 719.0
focus_neighbor_left = NodePath("../CanvasLayer/Stats") focus_neighbor_left = NodePath("../Ingame/Stats")
focus_neighbor_bottom = NodePath("../CanvasLayer/Eingabe") focus_neighbor_bottom = NodePath("../Ingame/Eingabe")
texture = SubResource("CompressedTexture2D_ncw85") texture = SubResource("CompressedTexture2D_ncw85")
expand_mode = 1 expand_mode = 1
stretch_mode = 1 stretch_mode = 1

View File

@ -12,7 +12,7 @@ config_version=5
config/name="God of AI" config/name="God of AI"
run/main_scene="res://UI.tscn" run/main_scene="res://UI.tscn"
config/features=PackedStringArray("4.1", "GL Compatibility") config/features=PackedStringArray("4.1", "C#", "GL Compatibility")
config/icon="res://icon.svg" config/icon="res://icon.svg"
[display] [display]