it just werks
This commit is contained in:
parent
1311e18f1f
commit
7e26433676
50 changed files with 1181 additions and 11 deletions
|
@ -28,6 +28,7 @@ enum ScaleMode {
|
|||
ProjectSettings.get_setting("display/window/size/viewport_height")
|
||||
)
|
||||
|
||||
@onready var win_sound = $WinSound
|
||||
|
||||
## The currently active scene.
|
||||
##
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://ckgsfhfpg00ys"]
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ckgsfhfpg00ys"]
|
||||
|
||||
[ext_resource type="Script" path="res://autoloads/scene_manager.gd" id="1_1hxm1"]
|
||||
[ext_resource type="AudioStream" uid="uid://sci5aqar0oyx" path="res://assets/audio/bgs/amb_sog.wav" id="2_dr7pa"]
|
||||
[ext_resource type="AudioStream" uid="uid://flc817bekeh6" path="res://assets/audio/sfx/level_win.ogg" id="3_8ri5f"]
|
||||
|
||||
[node name="SceneManager" type="Node" node_paths=PackedStringArray("viewport", "viewport_holder")]
|
||||
script = ExtResource("1_1hxm1")
|
||||
|
@ -47,3 +49,14 @@ handle_input_locally = false
|
|||
canvas_item_default_texture_filter = 0
|
||||
size = Vector2i(288, 216)
|
||||
render_target_update_mode = 4
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("2_dr7pa")
|
||||
volume_db = -10.0
|
||||
autoplay = true
|
||||
bus = &"Background Sound"
|
||||
|
||||
[node name="WinSound" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("3_8ri5f")
|
||||
volume_db = -6.558
|
||||
bus = &"Sound Effects"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue