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.
So I'm trying to get the player to enter a character name and I have two minor visual bugs.
Here is a picture
The first bug is that the place where you type happens directly over the place where it says "Enter your name"
The second bug is that the cursor is not where the player is typing. The player is typing where the first line begins but if you look, the cursor is to the right and up of the word "name". Where the orange meets the white.
python:
name = renpy.input(" Enter your name", allow=" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", length=10)
name = name.strip()
if not name:
name = "Anon"
python:
name = renpy.input('Enter your name', allow=' abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', length=10)
name = name.strip()
if not name:
name = "Anon"
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
python:
name = renpy.input('Enter your name', allow=' abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', length=10)
name = name.strip()
if not name:
name = "Anon"
If I get rid of the spaces, it puts "Enter your name before the red line (at the border of the text box. )