ImageMap QuickMenu Error

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.
Post Reply
Message
Author
User avatar
neometalero
Regular
Posts: 198
Joined: Sun Oct 23, 2016 3:51 am
Completed: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Projects: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Deviantart: neometalero
Contact:

ImageMap QuickMenu Error

#1 Post by neometalero »

Im trying to create my own quickmenu, like this tutorial shows viewtopic.php?f=51&t=22565

But I get this error when I try to show the quickmenu :

Image


On the script file I use

Code: Select all

show example quick_menu2
to show the quickmenu

And this is the code on the screens.rpy file

Code: Select all

## ■██▓▒░ QUICK MENU ░▒▓████████████████████████████████████■

#begin quick_menu2
screen quick_menu2:
    imagemap:
        xpos 660 ypos 390
        auto "GUI/quick_imagemap_%s.png"
        hotspot (0,0,80,36) action ShowMenu("save")
        hotspot (162,0,80,36) action ShowMenu("load")
        hotspot (162,0,80,36) action ShowMenu("preferences")
        hotspot (243,0,80,36) action MainMenu()
#end quick_menu2
Working on many weird narrative games at Curse Box Studios
Image
https://www.curseboxstudios.com/

User avatar
neometalero
Regular
Posts: 198
Joined: Sun Oct 23, 2016 3:51 am
Completed: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Projects: My Dream Sport Dating Simulator, Attack Helicopter Dating Simulator
Deviantart: neometalero
Contact:

Re: ImageMap QuickMenu Error

#2 Post by neometalero »

I also tried using this method, but the error is the same.

on Script :

Code: Select all

show example quick_menu3
on screens:

Code: Select all

#begin quick_menu3
screen quick_menu3:
    imagebutton auto "gui/quick_config_%s.png" action ShowMenu('preferences') xpos 690 ypos 390 focus_mask True
    imagebutton auto "gui/quick_save_%s.png" action ShowMenu('save') xpos 760 ypos 390 focus_mask True
    imagebutton auto "gui/quick_load_%s.png"action ShowMenu('load') xpos 830 ypos 390 focus_mask True
    imagebutton auto "gui/quick_main_%s.png" action MainMenu() xpos 900 ypos 390 focus_mask True
#end quick_menu3
Working on many weird narrative games at Curse Box Studios
Image
https://www.curseboxstudios.com/

Post Reply

Who is online

Users browsing this forum: No registered users