renpy/renpy — pull request #157 by kyouryuukunn (2013-09-28 04:37:02+00:00)
Title: Allow a user to change a loop settiong in MusicRoom in a game.

I allow a user to chose the setting from loop/sequence/random/nothing in a game.

I added actions.

MusicRoom.Init()
This must be called before opening the music room screen to prevent actions being also called when opening a music room screen.

example
textbutton "MusicRoom" [Show("MusicRoom"),mr.Init()]

MusicRoom.EnableLoop()
enable looping
MusicRoom.EnableSequence()
enable advancing
MusicRoom.EnableRandam()
enable randam playing

sample
https://dl.dropboxusercontent.com/u/122050682/test-1.0-all.zip