mirror of
https://github.com/mx42/my-gd-game.git
synced 2026-01-14 13:29:52 +01:00
feat: upgrade sound
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
[ext_resource type="Script" path="res://scenes/game_over.gd" id="1_h2fw8"]
|
||||
[ext_resource type="PackedScene" uid="uid://byrjn2ta5gsld" path="res://scenes/level.tscn" id="2_latqh"]
|
||||
[ext_resource type="Texture2D" uid="uid://p8npigebbm88" path="res://assets/gfx/ship.png" id="3_rgq6y"]
|
||||
[ext_resource type="AudioStream" uid="uid://cr5eb0te0go26" path="res://assets/sfx/ship_explosion2.wav" id="4_0i6ac"]
|
||||
[ext_resource type="AudioStream" uid="uid://bthpukbec82b0" path="res://assets/sfx/ship_explosion3.wav" id="4_p52ie"]
|
||||
|
||||
[node name="GameOver" type="Node2D"]
|
||||
script = ExtResource("1_h2fw8")
|
||||
@@ -70,12 +70,14 @@ size_flags_vertical = 4
|
||||
theme_override_constants/separation = 20
|
||||
|
||||
[node name="Label" type="Label" parent="CanvasLayer/VBoxContainer2"]
|
||||
visible = false
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
text = "Press space to continue"
|
||||
text = "Press space or click the ship to continue"
|
||||
|
||||
[node name="ShipDestroyed" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("4_0i6ac")
|
||||
stream = ExtResource("4_p52ie")
|
||||
pitch_scale = 1.21
|
||||
autoplay = true
|
||||
|
||||
[connection signal="resized" from="CanvasLayer/BG" to="." method="_on_bg_resized"]
|
||||
|
||||
Reference in New Issue
Block a user