semi-idle-arpg/scenes/testScrollScene.tscn

159 lines
5.4 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=3 format=3 uid="uid://0h3dpe6fuhe8"]
2024-10-08 20:51:11 -06:00
[ext_resource type="Script" path="res://scripts/test_scroll_scene.gd" id="1_gc1kb"]
[ext_resource type="PackedScene" uid="uid://dvwo26vsk46tl" path="res://scenes/ability_ph.tscn" id="2_heria"]
2024-10-08 20:51:11 -06:00
[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
2024-10-08 20:51:11 -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
2024-10-15 16:35:03 -06:00
[node name="UIBottom" type="HBoxContainer" parent="MarginContainer"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
size_flags_vertical = 8
2024-10-15 16:35:03 -06:00
[node name="PlayerInfo" type="VBoxContainer" parent="MarginContainer/UIBottom"]
layout_mode = 2
size_flags_horizontal = 3
[node name="PlayerHealthbar" type="ProgressBar" parent="MarginContainer/UIBottom/PlayerInfo"]
layout_mode = 2
size_flags_vertical = 2
[node name="UIBottomCenter" type="VBoxContainer" parent="MarginContainer/UIBottom"]
custom_minimum_size = Vector2(384, 0)
2024-10-08 20:51:11 -06:00
layout_mode = 2
size_flags_horizontal = 4
2024-10-15 16:35:03 -06:00
size_flags_vertical = 4
2024-10-08 20:51:11 -06:00
2024-10-15 16:35:03 -06:00
[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
2024-10-15 16:35:03 -06:00
[node name="AbilityA2" parent="MarginContainer/UIBottom/UIBottomCenter/AbilityBar" instance=ExtResource("2_heria")]
custom_minimum_size = Vector2(64, 64)
layout_mode = 2
size_flags_horizontal = 6
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
2024-10-15 16:35:03 -06:00
[node name="MainMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
text = "Menu"
2024-10-15 16:35:03 -06:00
[node name="MapMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
text = "Map"
2024-10-15 16:35:03 -06:00
[node name="SkillsMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
text = "Skills"
2024-10-15 16:35:03 -06:00
[node name="InvMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
text = "Inventory"
2024-10-15 16:35:03 -06:00
[node name="LogMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
text = "Log"
2024-10-15 16:35:03 -06:00
[node name="CraftMenuButton" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
text = "Crafting"
2024-10-15 16:35:03 -06:00
[node name="DebugMenu" type="HBoxContainer" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
2024-10-15 16:35:03 -06:00
[node name="ButtonTest" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
text = "Complete Quest"
2024-10-08 20:51:11 -06:00
2024-10-15 16:35:03 -06:00
[node name="TouchScreenButton" type="TouchScreenButton" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu/ButtonTest"]
2024-10-08 20:51:11 -06:00
2024-10-15 16:35:03 -06:00
[node name="ButtonExit" type="Button" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu"]
2024-10-08 20:51:11 -06:00
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 8
text = "Exit"
2024-10-15 16:35:03 -06:00
[node name="TouchScreenButton" type="TouchScreenButton" parent="MarginContainer/UIBottom/UIBottomCenter/MenuButtons/DebugMenu/ButtonExit"]
[node name="Player2FollowerInfo" type="VBoxContainer" parent="MarginContainer/UIBottom"]
layout_mode = 2
size_flags_horizontal = 3
[node name="P2FHealthbar" type="ProgressBar" parent="MarginContainer/UIBottom/Player2FollowerInfo"]
visible = false
layout_mode = 2
2024-10-08 20:51:11 -06:00
[connection signal="timeout" from="SpawnTimer" to="." method="_on_spawn_timer_timeout"]
2024-10-15 16:35:03 -06:00
[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"]