2024-10-08 20:51:11 -06:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://0h3dpe6fuhe8"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/test_scroll_scene.gd" id="1_gc1kb"]
|
|
|
|
|
|
|
|
[node name="TestInstanceScene" type="Control"]
|
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
script = ExtResource("1_gc1kb")
|
|
|
|
debug = true
|
|
|
|
|
2024-10-09 20:55:46 -06:00
|
|
|
[node name="SpawnTimer" type="Timer" parent="."]
|
|
|
|
|
2024-10-08 20:51:11 -06:00
|
|
|
[node name="SpawnArea" type="PanelContainer" parent="."]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 10
|
|
|
|
anchor_right = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
|
|
layout_mode = 1
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
theme_override_constants/margin_left = 10
|
|
|
|
theme_override_constants/margin_top = 10
|
|
|
|
theme_override_constants/margin_right = 10
|
|
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
|
|
|
|
[node name="Menus" type="VBoxContainer" parent="MarginContainer"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
|
|
|
|
|
|
|
[node name="MenuButtons" type="HBoxContainer" parent="MarginContainer/Menus"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
|
|
|
|
|
|
|
[node name="MainMenuButton" type="Button" parent="MarginContainer/Menus/MenuButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Menu"
|
|
|
|
|
|
|
|
[node name="MapMenuButton" type="Button" parent="MarginContainer/Menus/MenuButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Map"
|
|
|
|
|
|
|
|
[node name="SkillsMenuButton" type="Button" parent="MarginContainer/Menus/MenuButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Skills"
|
|
|
|
|
|
|
|
[node name="InvMenuButton" type="Button" parent="MarginContainer/Menus/MenuButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Inventory"
|
|
|
|
|
|
|
|
[node name="LogMenuButton" type="Button" parent="MarginContainer/Menus/MenuButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Log"
|
|
|
|
|
|
|
|
[node name="CraftMenuButton" type="Button" parent="MarginContainer/Menus/MenuButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
text = "Crafting"
|
|
|
|
|
|
|
|
[node name="DebugMenu" type="HBoxContainer" parent="MarginContainer/Menus/MenuButtons"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
|
|
|
|
|
|
|
[node name="ButtonTest" type="Button" parent="MarginContainer/Menus/MenuButtons/DebugMenu"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
2024-10-09 20:55:46 -06:00
|
|
|
text = "Complete Quest"
|
2024-10-08 20:51:11 -06:00
|
|
|
|
|
|
|
[node name="TouchScreenButton" type="TouchScreenButton" parent="MarginContainer/Menus/MenuButtons/DebugMenu/ButtonTest"]
|
|
|
|
|
|
|
|
[node name="ButtonExit" type="Button" parent="MarginContainer/Menus/MenuButtons/DebugMenu"]
|
|
|
|
layout_mode = 2
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
size_flags_vertical = 8
|
|
|
|
text = "Exit"
|
|
|
|
|
|
|
|
[node name="TouchScreenButton" type="TouchScreenButton" parent="MarginContainer/Menus/MenuButtons/DebugMenu/ButtonExit"]
|
|
|
|
|
2024-10-09 20:55:46 -06:00
|
|
|
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
|
2024-10-08 20:51:11 -06:00
|
|
|
[connection signal="pressed" from="MarginContainer/Menus/MenuButtons/DebugMenu/ButtonTest" to="." method="_on_button_test_pressed"]
|
|
|
|
[connection signal="pressed" from="MarginContainer/Menus/MenuButtons/DebugMenu/ButtonExit" to="." method="_on_button_exit_pressed"]
|