Jam13Yuuka/game/screens/input.rpy

31 lines
710 B
Plaintext
Raw Permalink Normal View History

2024-04-05 05:40:52 +00:00
## Input screen ################################################################
##
## This screen is used to display renpy.input. The prompt parameter is used to
## pass a text prompt in.
##
## This screen must create an input displayable with id "input" to accept the
## various input parameters.
##
## https://www.renpy.org/doc/html/screen_special.html#input
screen input(prompt):
style_prefix "input"
window:
# This makes the background the same as the ADV dialogue box
vbox:
xanchor 0.0 ypos 20 spacing 10
text prompt style "input_prompt"
input id "input"
style input_prompt:
xalign 0.0
style input:
xalign 0.0
xmaximum 1116