1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-24 08:34:19 +00:00
swear-jar/main.tscn

128 lines
6.8 KiB
Text
Raw Normal View History

2023-10-03 23:01:36 +00:00
[gd_scene load_steps=11 format=3 uid="uid://dqm0h5h0baqcg"]
2023-10-01 23:12:11 +00:00
[ext_resource type="Script" path="res://main.gd" id="1_fqt34"]
[ext_resource type="Theme" uid="uid://ba5utvfhnxa5i" path="res://interface/interface_theme.tres" id="1_je7w1"]
[ext_resource type="PackedScene" uid="uid://c3rxmcwa5nqng" path="res://game/game.tscn" id="2_32lou"]
[ext_resource type="PackedScene" uid="uid://cklkdygv61bny" path="res://interface/shop_ui.tscn" id="2_qj86l"]
2023-10-02 00:53:12 +00:00
[ext_resource type="Script" path="res://interface/custom_ui.gd" id="3_xav0n"]
2023-10-01 23:12:11 +00:00
[ext_resource type="PackedScene" uid="uid://bo5unrhqpoyim" path="res://interface/game_ui.tscn" id="4_siim3"]
2023-10-02 19:56:04 +00:00
[ext_resource type="PackedScene" uid="uid://bpvx3nkkbluip" path="res://safe_ui.tscn" id="5_2uxda"]
2023-10-02 13:12:08 +00:00
[ext_resource type="Script" path="res://game_camera.gd" id="5_xxjtg"]
2023-10-03 23:01:36 +00:00
[ext_resource type="PackedScene" uid="uid://b1gum13jilhgy" path="res://interface/score_ui.tscn" id="9_ghurm"]
2023-10-02 13:12:08 +00:00
[sub_resource type="GDScript" id="GDScript_kyj65"]
script/source = "extends SubViewport
"
2023-10-01 23:12:11 +00:00
2023-10-12 16:21:22 +00:00
[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2023-10-01 23:12:11 +00:00
script = ExtResource("1_fqt34")
2023-10-02 00:53:12 +00:00
[node name="CustomUI" type="Control" parent="."]
2023-10-01 23:12:11 +00:00
texture_filter = 1
2023-10-12 16:21:22 +00:00
layout_mode = 1
2023-10-01 23:12:11 +00:00
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_vertical = 8
2023-10-02 13:12:08 +00:00
mouse_filter = 1
2023-10-01 23:12:11 +00:00
theme = ExtResource("1_je7w1")
2023-10-02 00:53:12 +00:00
script = ExtResource("3_xav0n")
2023-10-01 23:12:11 +00:00
2023-10-02 13:12:08 +00:00
[node name="GameViewport" type="SubViewportContainer" parent="CustomUI"]
2023-10-01 23:12:11 +00:00
layout_mode = 1
2023-10-02 13:12:08 +00:00
anchors_preset = 15
anchor_right = 1.0
2023-10-02 01:33:41 +00:00
anchor_bottom = 1.0
2023-10-01 23:12:11 +00:00
grow_horizontal = 2
2023-10-02 13:12:08 +00:00
grow_vertical = 2
stretch = true
2023-10-01 23:12:11 +00:00
2023-10-02 13:12:08 +00:00
[node name="Viewport" type="SubViewport" parent="CustomUI/GameViewport"]
2023-10-01 23:12:11 +00:00
disable_3d = true
handle_input_locally = false
2023-10-14 00:27:55 +00:00
audio_listener_enable_2d = true
2023-10-02 13:12:08 +00:00
physics_object_picking = true
2023-10-01 23:12:11 +00:00
size = Vector2i(270, 480)
render_target_update_mode = 4
2023-10-02 13:12:08 +00:00
script = SubResource("GDScript_kyj65")
2023-10-01 23:12:11 +00:00
2023-10-02 13:12:08 +00:00
[node name="Game" parent="CustomUI/GameViewport/Viewport" instance=ExtResource("2_32lou")]
2023-10-01 23:12:11 +00:00
2023-10-02 13:12:08 +00:00
[node name="GameCamera" type="Camera2D" parent="CustomUI/GameViewport/Viewport"]
position = Vector2(135, 480)
script = ExtResource("5_xxjtg")
2023-10-01 23:12:11 +00:00
2023-10-02 13:12:08 +00:00
[node name="GameSafeUI" parent="CustomUI" instance=ExtResource("5_2uxda")]
2023-10-01 23:12:11 +00:00
layout_mode = 1
2023-10-02 13:12:08 +00:00
anchors_preset = 10
anchor_bottom = 0.0
grow_vertical = 1
apply_margin_left = true
apply_margin_right = true
apply_margin_top = true
2023-10-02 00:53:12 +00:00
2023-10-02 13:12:08 +00:00
[node name="GameUI" parent="CustomUI/GameSafeUI" instance=ExtResource("4_siim3")]
2023-10-02 00:53:12 +00:00
layout_mode = 2
2023-10-01 23:12:11 +00:00
2023-10-02 13:12:08 +00:00
[node name="ShopSafeUI" parent="CustomUI" instance=ExtResource("5_2uxda")]
2023-10-13 17:21:07 +00:00
process_mode = 3
2023-10-01 23:12:11 +00:00
visible = false
2023-10-02 13:12:08 +00:00
layout_mode = 1
apply_margin_left = true
apply_margin_right = true
apply_margin_top = true
apply_margin_bottom = true
[node name="ShopUI" parent="CustomUI/ShopSafeUI" instance=ExtResource("2_qj86l")]
2023-10-02 00:53:12 +00:00
layout_mode = 2
2023-10-01 23:12:11 +00:00
2023-10-03 23:01:36 +00:00
[node name="ScoreSafeUI" parent="CustomUI" instance=ExtResource("5_2uxda")]
visible = false
layout_mode = 1
apply_margin_left = true
apply_margin_right = true
apply_margin_top = true
apply_margin_bottom = true
[node name="ScoreUI" parent="CustomUI/ScoreSafeUI" instance=ExtResource("9_ghurm")]
layout_mode = 2
2023-10-05 22:13:39 +00:00
board = "ld54pj3"
secret = "fTpQAFA3mXx7VWfn"
2023-10-03 23:01:36 +00:00
2023-10-02 13:12:08 +00:00
[connection signal="score_changed" from="CustomUI/GameViewport/Viewport/Game" to="CustomUI/GameSafeUI/GameUI" method="_on_game_score_changed"]
2023-10-02 17:19:13 +00:00
[connection signal="score_changed" from="CustomUI/GameViewport/Viewport/Game" to="CustomUI/ShopSafeUI/ShopUI" method="_on_game_score_changed"]
2023-10-03 23:01:36 +00:00
[connection signal="score_changed" from="CustomUI/GameViewport/Viewport/Game" to="CustomUI/ScoreSafeUI/ScoreUI" method="_on_game_score_changed"]
2023-10-02 13:12:08 +00:00
[connection signal="score_button_pressed" from="CustomUI/GameSafeUI/GameUI" to="." method="_on_game_ui_score_button_pressed"]
[connection signal="shop_button_pressed" from="CustomUI/GameSafeUI/GameUI" to="." method="_on_game_ui_shop_button_pressed"]
[connection signal="spawn_button_pressed" from="CustomUI/GameSafeUI/GameUI" to="CustomUI/GameViewport/Viewport/Game" method="trigger_spawn"]
[connection signal="back_button_pressed" from="CustomUI/ShopSafeUI/ShopUI" to="." method="_on_shop_ui_back_button_pressed"]
[connection signal="delete_begin" from="CustomUI/ShopSafeUI/ShopUI" to="." method="_on_shop_ui_delete_begin"]
2023-10-02 18:06:28 +00:00
[connection signal="delete_begin" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_shop_ui_delete_begin"]
[connection signal="delete_begin" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameSafeUI/GameUI" method="_on_shop_ui_delete_begin"]
[connection signal="delete_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="." method="_on_shop_ui_delete_cancel"]
2023-10-02 21:28:20 +00:00
[connection signal="delete_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_shop_ui_delete_cancel"]
2023-10-02 18:06:28 +00:00
[connection signal="delete_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameSafeUI/GameUI" method="_on_shop_ui_delete_cancel"]
2023-10-02 17:21:50 +00:00
[connection signal="ghost_materialize" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_ghost_materialize"]
[connection signal="ghost_requested" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_ghost_requested"]
[connection signal="purchase_begin" from="CustomUI/ShopSafeUI/ShopUI" to="." method="_on_shop_ui_purchase_begin"]
2023-10-02 13:12:08 +00:00
[connection signal="purchase_begin" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_purchase_begin"]
2023-10-02 17:49:55 +00:00
[connection signal="purchase_begin" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameSafeUI/GameUI" method="_on_shop_ui_purchase_begin"]
[connection signal="purchase_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="." method="_on_shop_ui_purchase_cancel"]
2023-10-02 13:12:08 +00:00
[connection signal="purchase_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_purchase_cancel"]
2023-10-02 17:49:55 +00:00
[connection signal="purchase_cancel" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameSafeUI/GameUI" method="_on_shop_ui_purchase_cancel"]
2023-10-02 13:12:08 +00:00
[connection signal="purchase_success" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_purchase_success"]
2023-10-02 17:49:55 +00:00
[connection signal="purchase_success" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameSafeUI/GameUI" method="_on_shop_ui_purchase_success"]
2023-10-02 13:12:08 +00:00
[connection signal="score_button_pressed" from="CustomUI/ShopSafeUI/ShopUI" to="." method="_on_shop_ui_score_button_pressed"]
[connection signal="upgraded_auto_spawn" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_upgraded_auto_spawn"]
[connection signal="upgraded_manual_spawn" from="CustomUI/ShopSafeUI/ShopUI" to="CustomUI/GameViewport/Viewport/Game" method="_on_upgraded_manual_spawn"]
2023-10-03 23:01:36 +00:00
[connection signal="score_button_pressed" from="CustomUI/ScoreSafeUI/ScoreUI" to="." method="_on_score_ui_score_button_pressed"]
[connection signal="score_submission_success" from="CustomUI/ScoreSafeUI/ScoreUI" to="." method="_on_score_ui_score_submission_success"]