2023-10-01 12:43:52 +00:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://cbccs6kwwf265"]
|
2023-09-20 22:58:47 +00:00
|
|
|
|
2023-10-01 13:31:49 +00:00
|
|
|
[ext_resource type="Script" path="res://root.gd" id="1_8jrhk"]
|
2023-10-01 12:39:16 +00:00
|
|
|
[ext_resource type="Theme" uid="uid://ba5utvfhnxa5i" path="res://interface/interface_theme.tres" id="1_h26ax"]
|
2023-10-01 13:40:42 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://c3rxmcwa5nqng" path="res://game/game.tscn" id="3_hrdyr"]
|
2023-10-01 12:39:16 +00:00
|
|
|
[ext_resource type="PackedScene" uid="uid://cklkdygv61bny" path="res://interface/shop_ui.tscn" id="3_lvefk"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://bo5unrhqpoyim" path="res://interface/game_ui.tscn" id="5_2cc15"]
|
2023-09-20 22:58:47 +00:00
|
|
|
|
|
|
|
[node name="Root" type="Node"]
|
2023-10-01 13:31:49 +00:00
|
|
|
script = ExtResource("1_8jrhk")
|
2023-10-01 13:40:42 +00:00
|
|
|
ui_state = null
|
2023-09-20 22:58:47 +00:00
|
|
|
|
|
|
|
[node name="UI" type="Control" parent="."]
|
2023-10-01 12:39:16 +00:00
|
|
|
texture_filter = 1
|
2023-09-20 22:58:47 +00:00
|
|
|
layout_mode = 3
|
|
|
|
anchors_preset = 15
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
size_flags_vertical = 8
|
2023-10-01 12:39:16 +00:00
|
|
|
theme = ExtResource("1_h26ax")
|
2023-09-20 22:58:47 +00:00
|
|
|
|
2023-10-01 13:40:42 +00:00
|
|
|
[node name="GameContainer" type="Control" parent="UI"]
|
2023-10-01 13:31:49 +00:00
|
|
|
process_mode = 1
|
2023-10-01 00:38:27 +00:00
|
|
|
layout_mode = 1
|
2023-10-01 13:40:42 +00:00
|
|
|
anchors_preset = 7
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 1.0
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 0
|
|
|
|
|
|
|
|
[node name="Game" parent="UI/GameContainer" instance=ExtResource("3_hrdyr")]
|
2023-10-01 00:38:27 +00:00
|
|
|
|
2023-10-01 12:39:16 +00:00
|
|
|
[node name="GameUI" parent="UI" instance=ExtResource("5_2cc15")]
|
2023-10-01 13:31:49 +00:00
|
|
|
process_mode = 3
|
2023-09-20 22:58:47 +00:00
|
|
|
layout_mode = 1
|
|
|
|
|
2023-10-01 12:39:16 +00:00
|
|
|
[node name="ShopUI" parent="UI" instance=ExtResource("3_lvefk")]
|
2023-10-01 13:31:49 +00:00
|
|
|
process_mode = 3
|
2023-10-01 12:39:16 +00:00
|
|
|
layout_mode = 1
|
2023-10-01 13:31:49 +00:00
|
|
|
|
|
|
|
[connection signal="score_button_pressed" from="UI/GameUI" to="." method="_on_game_ui_score_button_pressed"]
|
|
|
|
[connection signal="shop_button_pressed" from="UI/GameUI" to="." method="_on_game_ui_shop_button_pressed"]
|
|
|
|
[connection signal="spawn_button_pressed" from="UI/GameUI" to="." method="_on_game_ui_spawn_button_pressed"]
|
|
|
|
[connection signal="back_button_pressed" from="UI/ShopUI" to="." method="_on_shop_ui_back_button_pressed"]
|
|
|
|
[connection signal="delete_button_pressed" from="UI/ShopUI" to="." method="_on_shop_ui_delete_button_pressed"]
|
|
|
|
[connection signal="score_button_pressed" from="UI/ShopUI" to="." method="_on_shop_ui_score_button_pressed"]
|