Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
screen main_menu():
# This ensures that any other menu screen is replaced.
tag menu
# The background of the main menu.
window:
style "mm_root"
imagemap:
ground "GUI/main_idle.png"
idle "GUI/main_idle.png"
hover "GUI/main_hover.png"
alpha False
# This is so that everything transparent is invisible to the cursor.
hotspot (600, 961, 147, 79) action Start() activate_sound "click.wav"
hotspot (854, 964, 138, 83) action ShowMenu("load") activate_sound "click.wav"
hotspot (1137, 958, 178, 96) action ShowMenu("preferences") activate_sound "click.wav"
hotspot (1481, 958, 130, 88) action Help() activate_sound "click.wav"
hotspot (1727, 961, 119, 92) action Quit(confirm=False)
can you delete gui.rpy? Also, is there any way to get the old script of screens.rpy and options.rpy?
Personally I end up with a ton of different old versions of RenPy installed for various reasons. The easy way to get older versions of those files is to download an older RenPy installer, I'm pretty sure they're still available.
I can't answer questions about imagemaps because I'm always so sad that people use them OTOH, 'try it and see' is probably a start?