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.
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:
#1
Post
by neometalero » Fri Dec 29, 2017 12:41 am
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 :
On the
script file I use
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
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:
#2
Post
by neometalero » Fri Dec 29, 2017 12:52 am
I also tried using this method, but the error is the same.
on Script :
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
Users browsing this forum: No registered users