aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scenes
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--godot/scenes/Game.tscn15
-rw-r--r--godot/scenes/Menu.tscn7
2 files changed, 20 insertions, 2 deletions
diff --git a/godot/scenes/Game.tscn b/godot/scenes/Game.tscn
index 0896836..9891f4e 100644
--- a/godot/scenes/Game.tscn
+++ b/godot/scenes/Game.tscn
@@ -1,9 +1,11 @@
-[gd_scene load_steps=5 format=2]
+[gd_scene load_steps=7 format=2]
[ext_resource path="res://scenes/Game.gd" type="Script" id=1]
[ext_resource path="res://scenes/levels/test_scene_movement/TestSceneMovement.tscn" type="PackedScene" id=2]
[ext_resource path="res://assets/theme.tres" type="Theme" id=3]
[ext_resource path="res://assets/fonts/format.tres" type="DynamicFont" id=4]
+[ext_resource path="res://scenes/objects/Scoreboard.tscn" type="PackedScene" id=5]
+[ext_resource path="res://assets/sounds/bgm.mp3" type="AudioStream" id=6]
[node name="Game" type="Spatial"]
script = ExtResource( 1 )
@@ -57,5 +59,16 @@ margin_right = 360.0
margin_bottom = 343.0
text = "Quit"
+[node name="Scoreboard" parent="." instance=ExtResource( 5 )]
+visible = false
+margin_right = -0.319946
+margin_bottom = 0.47998
+
+[node name="Level1" type="Spatial" parent="."]
+
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
+stream = ExtResource( 6 )
+autoplay = true
+
[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/ResumeButton" to="." method="_on_ResumeButton_pressed"]
[connection signal="pressed" from="PausePopup/Panel/VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]
diff --git a/godot/scenes/Menu.tscn b/godot/scenes/Menu.tscn
index 5529448..792bc28 100644
--- a/godot/scenes/Menu.tscn
+++ b/godot/scenes/Menu.tscn
@@ -1,7 +1,8 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=4 format=2]
[ext_resource path="res://assets/theme.tres" type="Theme" id=1]
[ext_resource path="res://scenes/Menu.gd" type="Script" id=2]
+[ext_resource path="res://assets/sounds/main_menu.mp3" type="AudioStream" id=3]
[node name="Menu" type="Control"]
anchor_right = 1.0
@@ -38,5 +39,9 @@ margin_bottom = 251.0
focus_neighbour_bottom = NodePath("../StartButton")
text = "Quit"
+[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
+stream = ExtResource( 3 )
+autoplay = true
+
[connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"]
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_QuitButton_pressed"]