Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
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.
Why are you using the older UI system rather than screen language? What advantage are you getting from the older system? I ask not as a challenge, but because I'm interested.
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)
Er.. new what now? I just use this one because I know about it. What's the new one? The hbox & vbox stuff? I'm just not sure how to use that.
I also wanted the gender choice to show up in the same place that the name choice showed up, and the UI stuff is in the textbox. Unless there's a way I can put renpy.input in the same place a vbox appears?
screen start_choice():
frame:
vbox:
text "What is your gender?"
hbox:
textbutton "Male" action SetVariable("gender", "Male")
textbutton "Female" action SetVariable("gender", "Female")
text "Gender: [gender]"
text "-----"
text "What is your name?"
input
# The game starts here.
label start:
$gender = "Female"
$name = "Ella"
call screen start_choice()
$name = _return
$name = name.strip()
if name == "":
if gender == "Male":
$name = "Owen"
else:
$name = "Ella"
if gender == "Male":
$he = "he"
$him = "him"
$his = "his"
$He = "He"
$Him = "Him"
$His = "His"
else:
$he = "she"
$him = "her"
$his = "hers"
$He = "She"
$Him = "Her"
$His = "Hers"
e "[name] playername test"
e "[gender] gender test"
e "[he] [him] [his] pronoun test"
e "[He] [Him] [His] capital pronoun test"
I'm no expert in screen language, that is just what I came up with by looking through the documentation.
If you want the buttons and the questions not to show up in a frame, but in what looks like the say window, replace "frame" with "window"
A Close Shave:
*Last Thing Done (Aug 17): Finished coding emotions and camera for 4/10 main labels.
*Currently Doing: Coding of emotions and camera for the labels--On 5/10
*First Next thing to do: Code in all CG and special animation stuff
*Next Next thing to do: Set up film animation
*Other Thing to Do: Do SFX and Score (maybe think about eye blinks?)