diff options
author | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 13:20:46 +0200 |
---|---|---|
committer | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 13:20:46 +0200 |
commit | f24e47e0ecdfb8a1f0bc97fb81194851c4740dbe (patch) | |
tree | 02d0d65348a58eaeb77f22cca017bfa7cd9762d8 /godot/scenes/Game.tscn | |
parent | 36ebe2ad7c72628f414b0a6cedc61c6be2716236 (diff) | |
parent | 83985c5b2f9829c7f335e31158bd7d3b56a3e2d6 (diff) | |
download | 2022-f24e47e0ecdfb8a1f0bc97fb81194851c4740dbe.tar.gz 2022-f24e47e0ecdfb8a1f0bc97fb81194851c4740dbe.tar.bz2 2022-f24e47e0ecdfb8a1f0bc97fb81194851c4740dbe.zip |
Merge branch 'ScoreEvaluation'
Diffstat (limited to 'godot/scenes/Game.tscn')
-rw-r--r-- | godot/scenes/Game.tscn | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/godot/scenes/Game.tscn b/godot/scenes/Game.tscn index 411b825..f7223a4 100644 --- a/godot/scenes/Game.tscn +++ b/godot/scenes/Game.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=8 format=2] [ext_resource path="res://scenes/Game.gd" type="Script" id=1] [ext_resource path="res://scenes/levels/level1/level1.tscn" type="PackedScene" id=2] @@ -6,6 +6,7 @@ [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] +[ext_resource path="res://assets/sounds/jingle.wav" type="AudioStream" id=7] [node name="Game" type="Spatial"] script = ExtResource( 1 ) @@ -16,10 +17,30 @@ visible = false margin_right = -0.319946 margin_bottom = 0.47998 -[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +[node name="Evaluation" type="Control" parent="."] +visible = false +anchor_right = 1.0 +anchor_bottom = 1.0 + +[node name="EvaluationLabel" type="Label" parent="Evaluation"] +anchor_left = 0.3 +anchor_top = 0.4 +anchor_right = 0.7 +anchor_bottom = 0.5 +theme = ExtResource( 3 ) +text = "Finished +" +align = 1 +valign = 1 + +[node name="BGMPLayer" type="AudioStreamPlayer" parent="."] stream = ExtResource( 6 ) autoplay = true +[node name="JinglePlayer" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource( 7 ) +volume_db = 1.0 + [node name="Level1" parent="." instance=ExtResource( 2 )] [node name="PausePopup" type="Control" parent="."] @@ -75,6 +96,7 @@ margin_right = 360.0 margin_bottom = 393.0 text = "Quit" +[connection signal="finished" from="JinglePlayer" to="." method="_on_JinglePlayer_finished"] [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"] |