big
This commit is contained in:
@@ -645,7 +645,7 @@ func _build_skin_row(parent: Container) -> void:
|
||||
|
||||
func _play_music() -> void:
|
||||
# Menu music is scene-owned, so it stops the moment a level loads.
|
||||
var path := "res://assets/sounds/music_menu.ogg"
|
||||
var path := "res://assets/sounds/music_menu_premium.ogg"
|
||||
if not ResourceLoader.exists(path):
|
||||
return
|
||||
var music := AudioStreamPlayer.new()
|
||||
@@ -653,9 +653,11 @@ func _play_music() -> void:
|
||||
if music.stream is AudioStreamOggVorbis:
|
||||
music.stream.loop = true
|
||||
music.bus = "Music"
|
||||
music.volume_db = -8.0
|
||||
music.autoplay = true
|
||||
music.volume_db = -36.0
|
||||
add_child(music)
|
||||
music.play()
|
||||
create_tween().tween_property(music, "volume_db", -6.0, 1.4) \
|
||||
.set_trans(Tween.TRANS_SINE).set_ease(Tween.EASE_OUT)
|
||||
|
||||
|
||||
# ── Background ───────────────────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user