If it just normal main menu-linking screen like "about" or "preferences" (that open by ShowMenu() ), the button works perfectly, but when it comes to other screen opens by 'Show()', it doesn't work.
Code: Select all
imagebutton idle "gui/button/mainmenu_return_button.png" xpos 1173 ypos 617 action Return() activate_sound "music/click_sound_return.mp3"
I tried to change the destination of the button by change it from Return() to ShowMenu("profile") and Show("profile"), still nothing happened.
Can someone tell me why and help me solve this case?
PS: I'm a completely newbie both in Ren'Py and Python
Since I'm not sure where the problem is, I will upload both Profile screen and its sub-screen
Profile screen:
Code: Select all
#_#_#PROFILE_SCREEN_____KAMI
screen profile():
# Ensure this replaces the main menu.
tag menu
style_prefix "profile"
add gui.profile_background
add gui.profile_background_frame_full
#_MAIN_CLASSIFICATION
textbutton _("Kami") xpos 1177 ypos 58 action Show("profile") activate_sound "music/click_sound_subscreen.mp3"
textbutton _("Human") xpos 1168 ypos 130 action Show("human") activate_sound "music/click_sound_subscreen.mp3"
textbutton _("Shiki") xpos 1177 ypos 202 action Show("shiki") activate_sound "music/click_sound_subscreen.mp3"
textbutton _("Youkai") xpos 1171 ypos 274 action Show("youkai") activate_sound "music/click_sound_subscreen.mp3"
#_#_#PROFILE_SCREEN_____KAMI_____START____##################
#_#_# ____ROW ___1_______
imagebutton idle "gui/character profile/kami_iwanaga.png" xpos 30 ypos 37 action Show("kami_iwanaga")
imagebutton idle "gui/character profile/kami_miketsu.png" xpos 190 ypos 37 #action Show("kami_miketsu")
imagebutton idle "gui/character profile/kami_susabi.png" xpos 350 ypos 37 #action Show("kami_susabi")
imagebutton idle "gui/character profile/kami_amaterasu.png" xpos 510 ypos 37 #action Show("kami_amaterasu")
imagebutton idle "gui/button/mainmenu_return_button.png" xpos 1173 ypos 617 action Return() activate_sound "music/click_sound_return.mp3"
Code: Select all
#_#_IWANAGA_
screen kami_iwanaga():
# Ensure this replaces the main menu.
tag menu3
style_prefix "kami_iwanaga"
add gui.profile_background
add gui.character_profile_iwanaga
add gui.character_profile_contents_box_iwanaga
imagebutton idle "gui/button/mainmenu_return_button.png" xpos 1173 ypos 617 action Return() activate_sound "music/click_sound_return.mp3"