At the start of my game the player can type their name the code for this is:
Code: Select all
$ player_name = renpy.input("Hello! Thank you for signing up with Summer fun. What is your name?")
Code: Select all
File "game/script.rpy", line 100, in script
$ player_name = renpy.input("Hello! Thank you for signing up with Summer fun. What is your name?")
File "game/script.rpy", line 100, in <module>
$ player_name = renpy.input("Hello! Thank you for signing up with Summer fun. What is your name?")
File "game/screens.rpy", line 106, in prepare_screen
screen input:
File "game/screens.rpy", line 106, in prepare
screen input:
File "game/screens.rpy", line 108, in prepare
window style "input_window":
File "game/screens.rpy", line 108, in prepare
window style "input_window":
File "game/screens.rpy", line 109, in prepare
has vbox
File "game/screens.rpy", line 109, in prepare
has vbox
Exception: A screen named quick_menu does not exist.
So, I checked the screens.rpy and this is my code for inputs:
Code: Select all
screen input:
window style "input_window":
has vbox
text prompt style "input_prompt"
input id "input" style "input_text"
use quick_menu