fix: sound tweaks
This commit is contained in:
5
main.gd
5
main.gd
@ -35,8 +35,8 @@ func _ready() -> void:
|
||||
child.became_active.connect(on_camera_became_active)
|
||||
|
||||
ambiance.get_stream_playback().switch_to_clip_by_name("Start")
|
||||
#opening_cutscene.play("opening_cutscene")
|
||||
#opening_fade_to_black.visible = true
|
||||
opening_cutscene.play("opening_cutscene")
|
||||
opening_fade_to_black.visible = true
|
||||
|
||||
func on_camera_became_active(camera: SuperCamera):
|
||||
active_camera = camera
|
||||
@ -59,6 +59,7 @@ func _process(delta: float) -> void:
|
||||
|
||||
func _on_start_dancing() -> void:
|
||||
dance_cutscene.play("dance")
|
||||
ambiance.stop()
|
||||
|
||||
func restart_at_first_scene():
|
||||
get_tree().change_scene_to_file("res://main.tscn")
|
||||
|
Reference in New Issue
Block a user