Hello everyone.
I want to make a name input framebox in the center of the screen, but sadly my old script has a code of it and deleted for some reasons.
Like this for ex
_____________________
l type your name. l
l. l
l _____________ l
l. ____________________
sry for that, i am bad at ascii art.
Thanks for who can help.
Name input frame
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
- SuperbowserX
- Veteran
- Posts: 270
- Joined: Sat Jan 07, 2017 3:09 pm
- Contact:
Re: Name input frame
Maybe you could make a really quick mockup in Microsoft Paint or a drawing software of what you're trying to do?
If you want to reposition the input box, I found this old thread viewtopic.php?t=22448
If you want to reposition the input box, I found this old thread viewtopic.php?t=22448
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: Name input frame
This one, is what i wanted to do.
Re: Name input frame
Code: Select all
default my_name = ""
screen input_name():
frame:
xfill None
yfill None
xalign 0.5
yalign 0.5
vbox:
text "Type your Name:" xalign 0.5
input value VariableInputValue('my_name', returnable=True) xalign 0.5
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: Name input frame
Thank you for this code gas, i'll try this.
Who is online
Users browsing this forum: Google [Bot], MisterPinetree, Ocelot