This is what I have now (sorry I had to blur out some spoilers)
https://media.discordapp.net/attachment ... nknown.png
What I am trying to achieve:
https://media.discordapp.net/attachment ... nknown.png
(they are scrollbars in the box)
Ideally I'd like to consolidate the boxes to two instead of three so the screen isn't so crowded.
here is the music room code:
Code: Select all
screen music_room:
tag menu
window:
background "images/bg shrine night.jpg"
xalign 0.0
yalign 0.0
frame: #these positioning changes depending on your layout
xpos 100
ypos 15
has vbox:
xalign 0.5
yalign 0.5
textbutton "Return" action Return()
frame: #these positioning changes depending on your layout
xpos 1100
ypos 15
has vbox:
xalign 0.5
yalign 0.5
textbutton "Main Menu" action MainMenu()
frame: #these positioning changes depending on your layout
xpos 112
ypos 90
has vbox:
xalign 0.5
yalign 0.5
# The buttons that play each track. MUST CORRESPOND TO THE TRACK LIST ABOVE
textbutton "1.placeholder" action mr.Play("audio/wa.ogg")
textbutton "2.placeholder" action mr.Play("audio/gs.ogg")
textbutton "3.placeholder" action mr.Play("audio/introplaceholder.ogg")
textbutton "4.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "5.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "6.placeholder" action mr.Play("audio/placeholder")
textbutton "7.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "8.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "9.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "10.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "11.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "12.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "13.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "14.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "15.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "16.placeholder" action mr.Play("audio/placeholder.ogg")
frame: #these positioning changes depending on your layout
xpos 500
ypos 90
has vbox:
xalign 0.5
yalign 0.5
#seconded
textbutton "17.placeholder" action mr.Play("audio/wa.ogg")
textbutton "18.placeholder" action mr.Play("audio/gs.ogg")
textbutton "19.placeholder" action mr.Play("audio/introplaceholder.ogg")
textbutton "20.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "21.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "22.placeholder" action mr.Play("audio/placeholder")
textbutton "23.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "24.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "25.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "26.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "27.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "28.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "29.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "30.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "31.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "32.placeholder" action mr.Play("audio/placeholder.ogg")
frame: #these positioning changes depending on your layout
xpos 850
ypos 90
has vbox:
xalign 0.5
yalign 0.5
#seconded
textbutton "33.placeholder" action mr.Play("audio/wa.ogg")
textbutton "34.placeholder" action mr.Play("audio/gs.ogg")
textbutton "35.placeholder" action mr.Play("audio/introplaceholder.ogg")
textbutton "36.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "37.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "38.placeholder" action mr.Play("audio/placeholder")
textbutton "39.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "40.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "41.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "42.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "43.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "44.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "45.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "46.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "47.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "48.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "49.placeholder" action mr.Play("audio/placeholder.ogg")
textbutton "50.placeholder" action mr.Play("audio/placeholder.ogg")
frame:
xpos 600
ypos 15
has hbox:
xalign 0.5
yalign 0.5
frame:
xpos 600
ypos 15
has hbox:
xalign 0.5
yalign 0.5
# Buttons that let us advance tracks.
textbutton "<<|" action mr.Previous()
textbutton "||" action mr.Stop()
textbutton "|>>" action mr.Next()
textbutton "{font=fonts/kelvsym.ttf}↻{/font}" action ToggleField(mr, "single_track")
# Start the music playing on entry to the music room.
on "replace" action mr.Play()
# Restore the main menu music upon leaving.
on "replaced" action If(persistent.op2, true=Play("music", "audio/gs.ogg"), false=Play("music", "audio/wa.ogg"))