She made some buttons(?) and asked for help. How does she-
...So, anyway, I made hover and an idle image. I used idle for the ground, too.
Here's the code I used:
Code: Select all
screen main_menu:
tag menu
# This ensures that any other menu screen is replaced.
# The background of the main menu.
window:
style "mm_root"
imagemap:
ground "idlemenu.png"
idle "idlemenu.png"
hover "hovermenu.png"
alpha False
# This is so that everything transparent is invisible to the cursor.
hotspot ((0, 479, 045, 002) action Start()
hotspot (072, 483, 063, 93) action ShowMenu("load")
hotspot (376, 492, 057, 99) action ShowMenu("preferences")
hotspot (550, 480, 056, 007) action Quit(confirm=False)
init -2 python:
# Make all the main menu buttons be the same size.
style.mm_button.size_group = "mm"
Yet again, when I play the game, they don't appear, and it's like I haven't changed anything.
The default buttons remain.
Am I missing out something?