Text Input "Help file" issue {allow/exclude conflict}

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.
Post Reply
Message
Author
User avatar
ISAWHIM
Veteran
Posts: 318
Joined: Sun Nov 06, 2016 5:34 pm
Contact:

Text Input "Help file" issue {allow/exclude conflict}

#1 Post by ISAWHIM »

On the help page for "Text Input"...
https://www.renpy.org/doc/html/input.html

The "Limit to pixel size" is not working... Set set the pixel-size to 100, and limit character-count to 30 characters and type "WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW", which is clearly half a page at 1080p, over 500 pixels wide... Thus, it is not "limiting text to xxx pixels wide". (Tested with the default font.)

The help section has a sample as exclude='{}', with no explanation as to what that is for. I assume some kind of list, but the ALLOW is not also indicating a similar example.

Also, there is no option for case-sensitive ignorance, since this is "text", any "character" in a string should be tested by "case". Thus, "abc" allows "AaBbCc", since A and a is the same "Character", (not "Character symbol"). Or, state that it is case-sensitive and use the correct term, "any character-symbol not within the string, will not be allowed"... or "will be excluded".

P.S. Can you also add the info about .title(), .upper(), .lower() to the help-file. (Since 90% of the input is used for making names, which people usually want in title-format.)

P.P.S. Instead of redirecting old help files to the "main list", can you redirect them to the actual replacement pages.

Thanks Tom,
JD

User avatar
ISAWHIM
Veteran
Posts: 318
Joined: Sun Nov 06, 2016 5:34 pm
Contact:

Re: Text Input "Help file" issue {allow/exclude conflict}

#2 Post by ISAWHIM »

Also, another odd thing...

When hitting the limit of 30, it adds "NEW-LINE", (Carriage-Return), making it multi-line... Hold the LEFT arrow and it pulls text into the second line!

Not sure what is going-on there...

EG...
Hold SHIFT+W, until limit of 30 is reached. The text stops input, and the cursor jumps down to the next line...
Now hit the LEFT ARROW on your keyboard.
The W's start shifting to the bottom row, disappearing from the top row...

Post Reply

Who is online

Users browsing this forum: Google [Bot], Ocelot, Shie