[gd_scene load_steps=8 format=3 uid="uid://0h3dpe6fuhe8"] [ext_resource type="Script" path="res://scripts/test_scroll_scene.gd" id="1_gc1kb"] [ext_resource type="Theme" uid="uid://clhh3c3gxotjg" path="res://assets/healthbar.tres" id="2_2v2l0"] [ext_resource type="PackedScene" uid="uid://klcyjys703l5" path="res://scenes/quest.tscn" id="2_dodxo"] [ext_resource type="PackedScene" uid="uid://dvwo26vsk46tl" path="res://scenes/ability_ph.tscn" id="2_heria"] [ext_resource type="Theme" uid="uid://cp82s71sduhcv" path="res://assets/expbar.tres" id="3_n8q4b"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_imvmd"] [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_6jnvr"] [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 spawnTimerValue = 20.0 [node name="SpawnTimer" type="Timer" parent="."] [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="UITop" type="VBoxContainer" parent="MarginContainer"] layout_mode = 2 size_flags_vertical = 0 [node name="QuestsContainer" type="HBoxContainer" parent="MarginContainer/UITop"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 4 [node name="PHQuest" parent="MarginContainer/UITop/QuestsContainer" instance=ExtResource("2_dodxo")] layout_mode = 2 [node name="UIBottom" type="HBoxContainer" parent="MarginContainer"] layout_mode = 2 size_flags_vertical = 8 [node name="PlayerContainer" type="PanelContainer" parent="MarginContainer/UIBottom"] layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/panel = SubResource("StyleBoxEmpty_imvmd") [node name="PlayerInfo" type="VBoxContainer" parent="MarginContainer/UIBottom/PlayerContainer"] layout_mode = 2 size_flags_horizontal = 3 [node name="PlayerLabel" type="HBoxContainer" parent="MarginContainer/UIBottom/PlayerContainer/PlayerInfo"] layout_mode = 2 [node name="PlayerLevel" type="Label" parent="MarginContainer/UIBottom/PlayerContainer/PlayerInfo/PlayerLabel"] layout_mode = 2 text = "1" [node name="PlayerName" type="Label" parent="MarginContainer/UIBottom/PlayerContainer/PlayerInfo/PlayerLabel"] layout_mode = 2 text = "Player" [node name="PlayerHealthBar" type="ProgressBar" parent="MarginContainer/UIBottom/PlayerContainer/PlayerInfo"] custom_minimum_size = Vector2(0, 32) layout_mode = 2 size_flags_vertical = 2 theme = ExtResource("2_2v2l0") step = 1.0 value = 100.0 [node name="PlayerExpBar" type="ProgressBar" parent="MarginContainer/UIBottom/PlayerContainer/PlayerInfo"] layout_mode = 2 size_flags_vertical = 10 theme = ExtResource("3_n8q4b") step = 1.0 value = 43.0 [node name="UIBottomCenter" type="VBoxContainer" parent="MarginContainer/UIBottom"] custom_minimum_size = Vector2(384, 0) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 4 [node name="AbilityBar" type="HBoxContainer" parent="MarginContainer/UIBottom/UIBottomCenter"] custom_minimum_size = Vector2(64, 64) layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 6 alignment = 1 [node name="AbilityA1" parent="MarginContainer/UIBottom/UIBottomCenter/AbilityBar" instance=ExtResource("2_heria")] custom_minimum_size = Vector2(64, 64) layout_mode = 2 [node name="AbilityA2" parent="MarginContainer/UIBottom/UIBottomCenter/AbilityBar" instance=ExtResource("2_heria")] visible = false custom_minimum_size = Vector2(64, 64) layout_mode = 2 size_flags_horizontal = 6 attack_type = 3 attack_damage = 500 attack_speed = 3.5 [node name="AbilityA3" parent="MarginContainer/UIBottom/UIBottomCenter/AbilityBar" instance=ExtResource("2_heria")] visible = false custom_minimum_size = Vector2(64, 64) layout_mode = 2 size_flags_horizontal = 6 [node name="AbilityA4" parent="MarginContainer/UIBottom/UIBottomCenter/AbilityBar" instance=ExtResource("2_heria")] visible = false custom_minimum_size = Vector2(64, 64) layout_mode = 2 size_flags_horizontal = 6 [node name="AbilityB1" parent="MarginContainer/UIBottom/UIBottomCenter/AbilityBar" instance=ExtResource("2_heria")] visible = false custom_minimum_size = Vector2(64, 64) layout_mode = 2 size_flags_horizontal = 6 [node name="AbilityB2" parent="MarginContainer/UIBottom/UIBottomCenter/AbilityBar" instance=ExtResource("2_heria")] visible = false custom_minimum_size = Vector2(64, 64) layout_mode = 2 size_flags_horizontal = 6 [node name="MenuButtons" type="HBoxContainer" parent="MarginContainer/UIBottom/UIBottomCenter"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 8 [node name="MainMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"] layout_mode = 2 text = "Menu" [node name="MapMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"] layout_mode = 2 text = "Map" [node name="SkillsMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"] layout_mode = 2 text = "Skills" [node name="InvMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"] layout_mode = 2 text = "Inventory" [node name="LogMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"] layout_mode = 2 text = "Log" [node name="CraftMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"] layout_mode = 2 text = "Crafting" [node name="DebugMenu" type="HBoxContainer" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 8 [node name="ButtonTest" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 8 text = "Complete Quest" [node name="TouchScreenButton" type="TouchScreenButton" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu/ButtonTest"] [node name="ButtonExit" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu"] layout_mode = 2 size_flags_horizontal = 4 size_flags_vertical = 8 text = "Exit" [node name="TouchScreenButton" type="TouchScreenButton" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu/ButtonExit"] [node name="MPlayerFollowerContainer" type="PanelContainer" parent="MarginContainer/UIBottom"] layout_mode = 2 size_flags_horizontal = 3 theme_override_styles/panel = SubResource("StyleBoxEmpty_6jnvr") [node name="MPlayerFollowerInfo" type="VBoxContainer" parent="MarginContainer/UIBottom/MPlayerFollowerContainer"] visible = false layout_mode = 2 size_flags_horizontal = 3 [node name="MPlayerFollowerHealthBar" type="ProgressBar" parent="MarginContainer/UIBottom/MPlayerFollowerContainer/MPlayerFollowerInfo"] layout_mode = 2 theme = ExtResource("2_2v2l0") [connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"] [connection signal="pressed" from="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu/ButtonTest" to="." method="_on_button_test_pressed"] [connection signal="pressed" from="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu/ButtonExit" to="." method="_on_button_exit_pressed"]