Quick Menu Bug?

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
Xerofit51
Veteran
Posts: 376
Joined: Thu Jan 09, 2014 12:58 am
Completed: Freak-quency, Harvest-Moon spin off
Projects: Freak-quency
Deviantart: xerofit51
Location: Indonesia
Contact:

Quick Menu Bug?

#1 Post by Xerofit51 »

I'm not sure is this a bug or not, but when I call a screen, and return back or Jump to a label the default quick menu buttons disappear, here's my screens that may or may not caused this. Anyone know what might have caused this?

Code: Select all

screen character_pick:
    add "gabus"
    add "warning" at mymove
    tag menu
    imagebutton idle "gui/Chara_select/angel_0.png" hover "gui/Chara_select/angel.png" insensitive "gui/Chara_select/lock.png" xpos 252 ypos 17 focus_mask True action [ShowMenu('case_lock'), Play ("test_one", "page.wav"), SensitiveIf(lock_keyes)] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/Chara_select/cass_0.png" hover "gui/Chara_select/cass.png" insensitive "gui/Chara_select/lock.png" xpos 541 ypos 17 focus_mask True action [Jump('Keyes_1'), Play ("test_one", "page.wav"), SensitiveIf(lock_keyes)] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/Chara_select/lock.png" hover "gui/Chara_select/lock.png" xpos 824 ypos 17 focus_mask True action [Play ("test_one", "type.wav")] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/Chara_select/lock.png" hover "gui/Chara_select/lock.png" xpos 252 ypos 355 focus_mask True action [Play ("test_one", "type.wav")] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/Chara_select/lock.png" hover "gui/Chara_select/lock.png" xpos 541 ypos 355 focus_mask True action [Play ("test_one", "type.wav")] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/Chara_select/lock.png" hover "gui/Chara_select/lock.png" xpos 824 ypos 355 focus_mask True action [Play ("test_one", "type.wav")] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/back_main.png" hover "gui/back_main_hover.png" xpos 20 ypos 650 focus_mask True action ShowMenu('main_menu') hovered [ Play ("test_one", "type.wav")]

screen case_lock:
    tag menu
    add "images/porto/buku.jpg"
    imagebutton idle "gui/Chara_select/back.png" hover "gui/Chara_select/back_select.png" xpos 1190 ypos 275 focus_mask True action [Return(), Play ("test_one", "page.wav")] hovered [ Play ("test_one", "type.wav")]
    #imagebutton idle "gui/Chara_select/back.png" hover "gui/Chara_select/back_select.png" xpos 1190 ypos 275 focus_mask True action [Jump('character'), Hide("case_lock"), Play ("test_one", "page.wav")] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/Chara_select/help.png" hover "gui/Chara_select/help_select.png" xpos 79 ypos 479 focus_mask True action [Hide("my_tooltip"), Play ("test_one", "page.wav")] hovered [ Play ("test_one", "type.wav"), Show("my_tooltip", my_picture="warning_character.png", my_tt_xpos=0.5, my_tt_ypos=0.5)] unhovered [Hide("my_tooltip")]
    imagebutton idle "gui/Chara_select/1.png" hover "gui/Chara_select/1_hover.png" xpos 713 ypos 121 action [Jump("Lock_1"), Play ("test_one", "page.wav"), Hide("case_lock")] hovered [ Play ("test_one", "type.wav")]
    imagebutton idle "gui/Chara_select/2.png" hover "gui/Chara_select/2_hover.png" insensitive "gui/Chara_select/2_sensi.png" xpos 698 ypos 150 action [Jump("Lock_2"), Play ("test_one", "page.wav"), SensitiveIf(lock2_flag)] hovered [ Play ("test_one", "type.wav")]
      
    

User avatar
Xerofit51
Veteran
Posts: 376
Joined: Thu Jan 09, 2014 12:58 am
Completed: Freak-quency, Harvest-Moon spin off
Projects: Freak-quency
Deviantart: xerofit51
Location: Indonesia
Contact:

Re: Quick Menu Bug?

#2 Post by Xerofit51 »

Seems like this issue is because I jump from one screen to another, why is this an issue though? I have done these kinds of things in previous renpy builds without any issues

Post Reply

Who is online

Users browsing this forum: Amazon [Bot]