diff options
author | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 00:59:28 +0200 |
---|---|---|
committer | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 00:59:28 +0200 |
commit | 1d79bbbb95f1372650914cf543e7d9179653ef6e (patch) | |
tree | 822b4f1b696a818178f764e9bb1e8603a0eb686d /godot/scenes/Game.tscn | |
parent | 598a36466e76d0c7c16a690a72d4a0e8d7326351 (diff) | |
download | 2022-1d79bbbb95f1372650914cf543e7d9179653ef6e.tar.gz 2022-1d79bbbb95f1372650914cf543e7d9179653ef6e.tar.bz2 2022-1d79bbbb95f1372650914cf543e7d9179653ef6e.zip |
added bgm
Diffstat (limited to 'godot/scenes/Game.tscn')
-rw-r--r-- | godot/scenes/Game.tscn | 15 |
1 files changed, 14 insertions, 1 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"] |