monele wrote:
I find this one a lot better than the previous one but there's *one* thing that annoys me a lot : whenever you click on the Read choice, the music starts all over again.... Whyy?... It's a good tune too ^^;... There is a way to check whether a music is already playing or not.
Code:
if not renpy.music.get_playing() == "something.mp3":
$ renpy.music.play("something.mp3")
This would help ^^
There's an even better way to do that:
Code:
$ renpy.music.play("something.mp3", if_changed = True)
This will make Ren'Py only restart the music if the music's changed

_________________
Author of
Elven Relations (IntRenAiMo 2007),
When I Rule The World (NaNoRenO 2005), Cloud Fairy (Cute Light & Fluffy, 2009), the
TileEngine and UnitEngine (LSF@5), and the fantasy novel
Ultimate Dream (NaNoWriMo 2006 onwards).
In development (progress slow but ongoing):
Elven Relations 2: Mermaid Liaisons: Story 96% done, script 75% done, character art 95% done, event CGs 60% done, backgrounds 50% done, customisation 0% done; demo available