diff options
author | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-01-28 16:09:56 +0200 |
---|---|---|
committer | Henrique Alves <henrique.alves@itsjungle.xyz> | 2024-01-28 16:10:02 +0200 |
commit | 74df105d71a7109297d270bfddb293f0cc6bf57b (patch) | |
tree | c38f9b6b2b12f8e14e00e9ea43fdfab4b4e010e7 | |
parent | 62cf60c22f09c02d71222c913c0c35755c43277d (diff) | |
download | gamejam-ggj-2024-74df105d71a7109297d270bfddb293f0cc6bf57b.tar.gz gamejam-ggj-2024-74df105d71a7109297d270bfddb293f0cc6bf57b.tar.bz2 gamejam-ggj-2024-74df105d71a7109297d270bfddb293f0cc6bf57b.zip |
Fix audio
-rw-r--r-- | game/main.gd | 6 | ||||
-rw-r--r-- | game/main.tscn | 2 | ||||
-rw-r--r-- | game/microgames/heart_break/player_heart.tscn | 1 | ||||
-rw-r--r-- | project.godot | 2 |
4 files changed, 7 insertions, 4 deletions
diff --git a/game/main.gd b/game/main.gd index 5254527..7e32d1e 100644 --- a/game/main.gd +++ b/game/main.gd @@ -2,9 +2,9 @@ extends Node2D var MICROGAMES = [ preload("res://game/microgames/flowers_delivery/flowers_delivery.tscn"), - #preload("res://game/microgames/heart_break/heart_break.tscn"), - #preload("res://game/microgames/find_window/find_window.tscn"), - #preload("res://game/microgames/baseball_kiss/baseball_kiss.tscn") + preload("res://game/microgames/heart_break/heart_break.tscn"), + preload("res://game/microgames/find_window/find_window.tscn"), + preload("res://game/microgames/baseball_kiss/baseball_kiss.tscn") ] @onready var transition: Transition = %Transition diff --git a/game/main.tscn b/game/main.tscn index 3eff98b..67984ff 100644 --- a/game/main.tscn +++ b/game/main.tscn @@ -284,6 +284,8 @@ stretch = true [node name="MicrogameSubViewport" type="SubViewport" parent="MicrogameViewport"] unique_name_in_owner = true handle_input_locally = false +audio_listener_enable_2d = true +audio_listener_enable_3d = true size = Vector2i(2, 2) render_target_update_mode = 4 diff --git a/game/microgames/heart_break/player_heart.tscn b/game/microgames/heart_break/player_heart.tscn index ed55534..2661018 100644 --- a/game/microgames/heart_break/player_heart.tscn +++ b/game/microgames/heart_break/player_heart.tscn @@ -23,4 +23,5 @@ autoplay = "default" shape = SubResource("CircleShape2D_sp11c") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +process_mode = 3 stream = ExtResource("3_rntdb") diff --git a/project.godot b/project.godot index 150d30c..63ee2e2 100644 --- a/project.godot +++ b/project.godot @@ -10,7 +10,7 @@ config_version=5 [application] -run/main_scene="res://game/main.tscn" +run/main_scene="res://game/menu.tscn" config/features=PackedStringArray("4.2") [autoload] |