Code: Select all
mr.Play(track_file)
Code: Select all
"<from 5 to 15.5>waves.opus"
Code: Select all
mr.Play("<from 5 to 15.5>" + track_file)
Code: Select all
mr.Play(track_file)
Code: Select all
"<from 5 to 15.5>waves.opus"
Code: Select all
mr.Play("<from 5 to 15.5>" + track_file)
Code: Select all
python:
renpy.music.play ("<from 5 to 15.5>"+track_file)
Thank you. Yes, it's working.Ocasota wrote:does this work?for a progress bar, would it work to just use renpy.music.get_pos() ?Code: Select all
python: renpy.music.play ("<from 5 to 15.5>"+track_file)
Code: Select all
Play("music", "<from 10>" + track_file)
Well, as it seems to be an engine limitation somehow, I came up with the idea of the using seekbar, that remembers position on the music track automatically.Arowana wrote:Was this issue actually solved like the title says? I'm interested in knowing the solution if so!
Code: Select all
screen seek_bar:
bar:
value AudioPositionValue('music')
xpos x_p ypos y_p
Code: Select all
screen play_stop_button: #(1040, 100)
python:
play_state_on = soundmode_play_on
play_state_off = soundmode_play_off
if (playing == False):
play_state_on = soundmode_play_on
play_state_off = soundmode_play_off
else:
play_state_on = soundmode_pause_on
play_state_off = soundmode_pause_off
imagebutton idle play_state_off hover play_state_on xcenter xbut ycenter ybut action [PauseAudio("music", value="toggle"), ToggleVariable("playing", True, False) ]
Users browsing this forum: No registered users