I'm trying to make an end version screen that will be easy to edit. Basically what I want it to is to find in the code the name, version number and then put any closing comments I choose to add for that version.
I am having trouble understanding how to set it up as I get the "screen" but no text. I've tried many different things and this was the first one that didn't give errors. The more I looked at the documentation the more confused I got. So if you could help me understand how the boxes and screens work in relation to one another while explaining would I did wrong that would be greatly appreciated. I really can't tell if I am defining the screen wrong or the box or if it's a style issue. Thanks in advance to anyone who can help me with this.
This is the current version of the the code I'm trying to use.
I am having trouble understanding how to set it up as I get the "screen" but no text. I've tried many different things and this was the first one that didn't give errors. The more I looked at the documentation the more confused I got. So if you could help me understand how the boxes and screens work in relation to one another while explaining would I did wrong that would be greatly appreciated. I really can't tell if I am defining the screen wrong or the box or if it's a style issue. Thanks in advance to anyone who can help me with this.
This is the current version of the the code I'm trying to use.
Python:
screen end_version:
modal True
hbox:
label _("[config.name!t] [config.version]") #gets name and version of game
text _("Type game version comments here.") #version comments
style end_versoin_label:
xsize 375
right_padding 30
style end_version_label_text:
size gui.text_size
xalign 1.0
text_align 1.0
Last edited: