Is there any convenient way to do this, a la showing the text as dialogue like in my script files? I'm hoping to find a solution that isn't 'export out the images with text over them' if at all possible, because yeah, that would work, but would be pretty time consuming as opposed to doing it through code. Thank you.
For context, some sample code of my currently working gallery:
Code: Select all
init python:
g = Gallery()
g.button("Tree Background")
g.image("treebg")
g.image("treebgnoharv")
g.image("treebgwithharv")
g.button("House Background")
g.image("housebg")
g.image("housebgdoornoharv")
g.image("housebgdoorwithharv")
g.image("housebgwindownoharv")
g.image("housebgwindowwithharv")
g.image("housebgsidenoharv")
g.image("housebgsidewithharv")
g.button("Park Background")
g.image("scenethreebackground")
g.button("Hospital Background")
g.image("sceneonebackground")
g.button("Living Room Background")
g.image("scenetwobackground")
g.button("Field Background")
g.image("scenefivebackground")
g.button("Title Background")
g.image("titlescreen")
g.button("Car Background")
g.image("carback")
g.image("carbackbackdooropen")
g.image("carbackfrontdooropen")
g.image("carfrontseats")
g.image("carwindshield")
g.transition = dissolve
screen gallery:
tag menu
add "titlescreen"
add "gallerybackdrops"
grid 4 3:
xfill True
yfill True
# Call make_button to show a particular button.
add g.make_button("Hospital Background", "sceneonebackgroundg", xalign=0.5, yalign=0.5)
add g.make_button("Living Room Background", "scenetwobackgroundg", xalign=0.5, yalign=0.5)
add g.make_button("Park Background", "scenethreebackgroundg", xalign=0.5, yalign=0.5)
add g.make_button("Car Background", "carbackg", xalign=0.5, yalign=0.5)
add g.make_button("House Background", "housebgg", xalign=0.5, yalign=0.5)
add g.make_button("Tree Background", "treebgg", xalign=0.5, yalign=0.5)
add g.make_button("Field Background", "scenefivebackgroundg", xalign=0.5, yalign=0.5)
null
textbutton "Exit Gallery" action Return() xalign 0.5 yalign 0.5
null
null
textbutton "Small Image Gallery" action ShowMenu("smallgallery1") xalign 0.5 yalign 0.5