(Currently the name is set through standard renpy.input statements outside of the custom character creation screen, which works, but I'd like to consolidate everything here.)
So I've got my character creation screen called at the start of my start: loop with
Code: Select all
call screen characterCreation
So I can create input labels at the top of the screen with something like
Code: Select all
text "First name: "
input default "John"
edit: I've turned the inputs into
Code: Select all
input value VariableInputValue("firstname")
What I have so far:
Code: Select all
screen characterCreation():
tag menu
if renpy.mobile:
$ cols = 2
else:
$ cols = 3
use game_menu(_("Character Creation"), scroll="viewport"):
vbox:
hbox:
text "First name: "
input value VariableInputValue("firstname")
#hbox:
text "Surname: \n\n"
input value VariableInputValue("surname")