1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-22 07:44:17 +00:00
swear-jar/root.tscn

68 lines
2.6 KiB
Text
Raw Normal View History

2023-10-01 21:40:48 +00:00
[gd_scene load_steps=8 format=3 uid="uid://cbccs6kwwf265"]
[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 21:40:48 +00:00
[ext_resource type="Script" path="res://View.gd" id="3_1ki2g"]
[ext_resource type="PackedScene" uid="uid://c3rxmcwa5nqng" path="res://game/game.tscn" id="3_8gkpc"]
2023-10-01 12:39:16 +00:00
[ext_resource type="PackedScene" uid="uid://cklkdygv61bny" path="res://interface/shop_ui.tscn" id="3_lvefk"]
2023-10-01 21:40:48 +00:00
[ext_resource type="Script" path="res://interface/SafeUI.gd" id="4_grf0c"]
2023-10-01 12:39:16 +00:00
[ext_resource type="PackedScene" uid="uid://bo5unrhqpoyim" path="res://interface/game_ui.tscn" id="5_2cc15"]
[node name="Root" type="Node"]
script = ExtResource("1_8jrhk")
2023-10-01 21:40:48 +00:00
[node name="View" type="Control" parent="."]
2023-10-01 12:39:16 +00:00
texture_filter = 1
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-10-01 21:40:48 +00:00
script = ExtResource("3_1ki2g")
2023-10-01 21:40:48 +00:00
[node name="GameWI" type="CenterContainer" parent="View"]
process_mode = 1
layout_mode = 1
2023-10-01 21:40:48 +00:00
anchors_preset = 15
anchor_right = 1.0
2023-10-01 13:40:42 +00:00
anchor_bottom = 1.0
grow_horizontal = 2
2023-10-01 21:40:48 +00:00
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
metadata/_edit_vertical_guides_ = []
2023-10-01 13:40:42 +00:00
2023-10-01 21:40:48 +00:00
[node name="GameWorld" type="Control" parent="View/GameWI"]
layout_mode = 2
2023-10-01 21:40:48 +00:00
[node name="Game" parent="View/GameWI/GameWorld" instance=ExtResource("3_8gkpc")]
[node name="SafeUI" type="MarginContainer" parent="View"]
layout_mode = 1
2023-10-01 21:40:48 +00:00
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("4_grf0c")
2023-10-01 21:40:48 +00:00
[node name="GameUI" parent="View/SafeUI" instance=ExtResource("5_2cc15")]
process_mode = 3
layout_mode = 2
[node name="ShopUI" parent="View/SafeUI" instance=ExtResource("3_lvefk")]
process_mode = 3
2023-10-01 14:43:21 +00:00
visible = false
2023-10-01 21:40:48 +00:00
layout_mode = 2
2023-10-01 21:40:48 +00:00
[connection signal="score_button_pressed" from="View/SafeUI/GameUI" to="." method="_on_game_ui_score_button_pressed"]
[connection signal="shop_button_pressed" from="View/SafeUI/GameUI" to="." method="_on_game_ui_shop_button_pressed"]
2023-10-01 21:56:25 +00:00
[connection signal="spawn_button_pressed" from="View/SafeUI/GameUI" to="View/GameWI/GameWorld/Game" method="trigger_spawn"]
2023-10-01 21:40:48 +00:00
[connection signal="back_button_pressed" from="View/SafeUI/ShopUI" to="." method="_on_shop_ui_back_button_pressed"]
[connection signal="delete_button_pressed" from="View/SafeUI/ShopUI" to="." method="_on_shop_ui_delete_button_pressed"]
[connection signal="purchase_begin" from="View/SafeUI/ShopUI" to="." method="_on_shop_ui_purchase_begin"]
[connection signal="score_button_pressed" from="View/SafeUI/ShopUI" to="." method="_on_shop_ui_score_button_pressed"]