Helveds wrote:I am still having trouble understanding this, though.
Your code should look like this:
Code: Select all
screen main_menu:
tag menu
window:
style "mm_root" # This should be defined as an image on your script.
imagemap:
idle "mm_idle_text.png" # This should be your Text, not your background.
hover "mm_hover_text.png" # This should be Text highlighted.
ground "mm_ground.png" # This should be your Circle.
alpha False
Idle is your TEXT when no one is touching it.
Hover is your TEXT when someone puts a mouse pointer over it.
Ground is what your TEXT sits on, or when the text is not accessible.
mm_root is the Background Image for the menus screen.
Helveds wrote:...when I replace it with my background image as you suggested, post-apocalyptic-city.jpg, I get an error that says that style does not exist.
On your
script.rpy file, do you have your
mm_root defined like this?
Code: Select all
image mm_root = "post-apocalyptic-city.jpg"
Also, when you first load it, the text will Not Be There. It won't show up until you set the Hotspot parameters:
Code: Select all
hotspot (827, 74, 107, 77) action Start() activate_sound "sfx/click.wav"
hotspot (815, 155, 140, 57) action ShowMenu("load") activate_sound "sfx/click.wav"
hotspot (795, 221, 173, 81) action ShowMenu("preferences") activate_sound "sfx/click.wav"
hotspot (750, 302, 260, 68) action ShowMenu("howto") activate_sound "sfx/click.wav"
hotspot (804, 373, 149, 59) action ShowMenu("bonus_menu") activate_sound "sfx/click.wav"
hotspot (830, 443, 107, 65) action Help() activate_sound "sfx/click.wav"
hotspot (827, 515, 110, 59) action Quit(confirm=False) activate_sound "sfx/click.wav"
Example images:
- mm_root.jpg
- mm_ground.png
- mm_idle_text.png
- mm_hover_text.png
It looks like this: