Side image with Conditional Switch?
Posted: Mon Dec 14, 2020 4:55 am
In the renpy documentation, they said define e = Character("Eileen", image="eileen")
For mine, there is no precise name since I want to give an option of choosing names
also i have a choice between two protagonist, boy or a girl.
So currently my script is :
define name = Character("[name]")
image me_neutral= ConditionSwitch(
"me == 'maingirl'", "MainGirl_Neutral.png",
"me == 'mainboy'", "MainBoy_Neutral.png",
)
label start:
menu:
"I am a"
"Girl":
$ me = 'maingirl'
"Boy":
$ me = 'mainboy'
label name:
$ name = renpy.input("My name is-")
$ name = name.strip()
if name == "":
So the problem I have is, how do I make a side image with these factors? Currently the textbox overlaps the character image so I'm stuck TT.
Any help is appreciated!
For mine, there is no precise name since I want to give an option of choosing names
also i have a choice between two protagonist, boy or a girl.
So currently my script is :
define name = Character("[name]")
image me_neutral= ConditionSwitch(
"me == 'maingirl'", "MainGirl_Neutral.png",
"me == 'mainboy'", "MainBoy_Neutral.png",
)
label start:
menu:
"I am a"
"Girl":
$ me = 'maingirl'
"Boy":
$ me = 'mainboy'
label name:
$ name = renpy.input("My name is-")
$ name = name.strip()
if name == "":
So the problem I have is, how do I make a side image with these factors? Currently the textbox overlaps the character image so I'm stuck TT.
Any help is appreciated!