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.
-
crestforte
- Regular
- Posts: 53
- Joined: Thu Jan 03, 2013 10:18 pm
- Projects: SOS SAGA
- Location: United States
- Discord: crestforte#8245
-
Contact:
#1
Post
by crestforte » Sat Jul 09, 2016 11:42 pm
My problem deals with using the input code:
Code: Select all
$ Jennie = renpy.input("{color=#fff}“My friends call me…”")
$ Jennie = Jennie.strip()
if Jennie == "":
$ Jennie = "Jennie"
along with:
Code: Select all
$ Jennie = DynamicCharacter("Jennie", color="#fff", what_style = "justify_style", show_two_window=True, window_background="sprites/jennie2/login.png")
I want it to match the other characters which look like this:

Code used for Rem:
Code: Select all
$ Rem = Character("Rem", color="#fff", what_style = "justify_style", show_two_window=True, window_background="sprites/rem/login.png")
But this is how it turns out:
Not sure if I need to put up any other codes to get this figured out, but let me know is more is needed. ^^;
-
xavimat
- Eileen-Class Veteran
- Posts: 1458
- Joined: Sat Feb 25, 2012 8:45 pm
- Completed: Yeshua, Jesus Life, Cops&Robbers
- Projects: Fear&Love, unknown
- Organization: Pilgrim Creations
- Github: xavi-mat
- itch: pilgrimcreations
- Location: Spain
-
Contact:
#2
Post
by xavimat » Sun Jul 10, 2016 8:30 am
Don't use the same name for the character object and the name of the character. You coul use "jen" for the character or simply "j". Also, there is no need for DynamicCharacter, put the variable of the name between brackets.
j = Character("[jennie]")
For the other question, I don't understand. There is no code in your post where a password is asked.
-
crestforte
- Regular
- Posts: 53
- Joined: Thu Jan 03, 2013 10:18 pm
- Projects: SOS SAGA
- Location: United States
- Discord: crestforte#8245
-
Contact:
#3
Post
by crestforte » Tue Jul 12, 2016 9:35 pm
It works now, thanks for the help. ^^
Users browsing this forum: Bing [Bot]