I have my script up and running with no problems, it works as it should, but picky as I am I want it to run exactly the way I want... :/
The true code is WAY too large to post it here, so instead let's say I have this code:
Code: Select all
label music_map:
$ result = renpy.imagemap("ground.jpg", "hover.png", [
(480, 280, 620, 320, "tune1"),
(480, 330, 620, 370, "tune2"),
(480, 380, 620, 420, "tune3"),
(655, 140, 815, 210, "stop_music"),
(585, 525, 840, 570, "exit")
], focus="imagemap")
if result == "tune1":
stop music fadeout 0.5
play music "tune_one.ogg"
show pic_one with dissolve
$renpy.pause()
jump music_map
elif result == "tune2":
stop music fadeout 0.5
play music "tune_two.ogg"
show pic_two with dissolve
$renpy.pause()
jump music_map
elif result == "tune3":
stop music fadeout 0.5
play music "tune_three.ogg"
show pic_three with dissolve
$renpy.pause()
jump music_map
elif result == "stop_music":
stop music fadeout 0.5
jump music_map
elif result == "exit":
jump another_label_I_cant_be_bothered_to_declare_for_an_example
What I want is the image to show and the tune to play, but while they're still on screen, the user should be able to browse the other buttons normally... with the hover functions and all.
Any ideas? ...need me to rephrase? 'cuz I barely understand myself here sometimes. xP