Added mute button and volume slider to text log

This commit is contained in:
Bad Manners 2024-03-14 20:54:48 -03:00
parent 125e1e5edc
commit c76c9f7268
5 changed files with 154 additions and 15 deletions

View file

@ -548,10 +548,6 @@ func advance_vn(label = null) -> Array:
video_stream.file = video_file
var player: VideoStreamPlayer = $"../Video/VideoStreamPlayer"
player.stream = video_stream
#if can_play_music():
# player.volume_db = -12.0 + FileGlobals.get_global_data("volume", 0.0)
#else:
# player.volume = 0
player.volume = 0
player.visible = true
player.play()