diff options
Diffstat (limited to 'Nodes/game.tscn')
-rw-r--r-- | Nodes/game.tscn | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/Nodes/game.tscn b/Nodes/game.tscn new file mode 100644 index 0000000..5553ea5 --- /dev/null +++ b/Nodes/game.tscn @@ -0,0 +1,76 @@ +[gd_scene load_steps=3 format=3 uid="uid://b7wp8w46l64vc"] + +[ext_resource type="Script" path="res://Scripts/game.gd" id="1_1dait"] + +[sub_resource type="AudioStream" id="AudioStream_n3sou"] + +[node name="Game" type="Node2D"] +script = ExtResource("1_1dait") + +[node name="JinglePlayer" type="AudioStreamPlayer2D" parent="."] +stream = SubResource("AudioStream_n3sou") +volume_db = 1.0 + +[node name="Evaluation" type="Control" parent="."] +visible = false +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="EvaluationLabel" type="Label" parent="Evaluation"] +layout_mode = 0 +anchor_left = 0.3 +anchor_top = 0.4 +anchor_right = 0.7 +anchor_bottom = 0.5 +text = "Finished +" + +[node name="PausePopup" type="Control" parent="."] +process_mode = 2 +visible = false +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="Panel" type="Panel" parent="PausePopup"] +layout_mode = 0 +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="Label" type="Label" parent="PausePopup/Panel"] +layout_mode = 0 +anchor_right = 1.0 +anchor_bottom = 0.3 +text = "Game is Paused" + +[node name="VBoxContainer" type="VBoxContainer" parent="PausePopup/Panel"] +layout_mode = 0 +anchor_top = 0.3 +anchor_right = 1.0 +anchor_bottom = 1.0 +alignment = 1 + +[node name="ResumeButton" type="Button" parent="PausePopup/Panel/VBoxContainer"] +layout_mode = 2 +text = "Resume" + +[node name="MainMenuButton" type="Button" parent="PausePopup/Panel/VBoxContainer"] +layout_mode = 2 +text = "Main Menu" + +[node name="QuitButton" type="Button" parent="PausePopup/Panel/VBoxContainer"] +layout_mode = 2 +text = "Quit" + +[node name="LoadedLevel" type="Node2D" parent="."] + +[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"] +[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/MainMenuButton" to="." method="_on_MainMenuButton_pressed"] +[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"] |