Current code:
Code: Select all
vbox:
#label "Character Select"
null height (4 * gui.pref_spacing)
hbox:
null width 300
box_wrap True
imagebutton:
ypos 70
idle "button leftarrow"
hover "button leftarrow active"
action [If (gender == 'male', true = [SetVariable("gender",'female')], false=[SetVariable("gender",'male')])]
null width (4 * gui.pref_spacing)
if gender == 'male':
add "ico brick male profile" size (300, 300)
else:
add "ico brick female profile" size (300, 300)
null width (4 * gui.pref_spacing)
imagebutton:
ypos 70
idle "button rightarrow"
hover "button rightarrow active"
action [If (gender == 'male', true = [SetVariable("gender",'female')], false=[SetVariable("gender",'male')])]
hbox:
box_wrap True
null width 640
vbox:
null height (4 * gui.pref_spacing)
imagebutton:
idle "button ok"
action Return()
So I want some text fields up top. Something like
First Name: [box into which text can be added] -> goes into firstName when user hits ok
Last Name: [box into which text can be added] -> goes into surName when user hits ok
I'd like the boxes to be visible to the player, to make it more obvious that they have to enter text there, rather than just a cursor.