When I Click This Button Something Went Wrong With The Button Animation.
This also happend to my home screen but with diffrent button layout instead use
Code: Select all
has vboxCode: Select all
has hboxCode: Select all
screen othperfs():
tag menu
# The background of the game menu.
window:
style "gm_root"
# The various buttons.
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
#textbutton _("Preferences") action ShowMenu("preferences")
#textbutton _("Save Game") action ShowMenu("save")
#textbutton _("Load Game") action ShowMenu("load")
textbutton ("Music Room") action ShowMenu("music_room")
textbutton _("Credits") action ShowMenu("credits")
textbutton _("Help") action Help()
spacing 0
null height 20
textbutton _("Back") action ShowMenu ("preferences") Also At The Music Room I Also Have A Problem -.- There 1 Button That I Cant Click :
The Code Is :
Code: Select all
init python:
mr2 = MusicRoom(fadeout=1.0)
mr2.add("music/floatingcity.ogg", always_unlocked=True)
mr2.add("music/great.ogg")
mr2.add("music/cots.ogg")
screen music_room2:
tag menu
window:
background "images/system/mroom.png"
frame:
style_group "gm_nav"
xalign .98
yalign .98
has vbox
textbutton "Floating City" action mr2.Play("music/floatingcity.ogg")
textbutton "Great" action mr2.Play("music/great.ogg")
textbutton "Curse" action mr2.Play("music/cots.ogg")
null height 20
textbutton "Next" action mr2.Next()
textbutton "Previous" action mr2.Previous()
null height 20
textbutton _("Back") action ShowMenu ("music_room")
on "replace" action mr2.Play()
on "replaced" action Play("music", "music/mnutheme.ogg")Also in the credits screen i want to play a diffrent music automatically, and when user click back the main menu music re played .
i try the method that used in music room but it wont work ><.
Im just a beginner at renpy so i dont know much to do ><.
i try to read the documentation but it doesnt help me ><.
And wich one is better to be used in the back button
Code: Select all
textbutton _("Back") action Hide("xxxxxx")Code: Select all
textbutton _("Back") action ShowMenu ("xxxxxxxx")