Forcing Capital?

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
CellHG
Regular
Posts: 61
Joined: Fri May 05, 2017 3:01 pm
Contact:

Forcing Capital?

#1 Post by CellHG »

Is it possible to force some text to go capital?

Like when a person chooses there name, it would be in caps, it would probably be something like "Luke" or "luke" if they're lazy.

But, I want to make it so another character is angry and the player and I want it to look like their shouting the person's name, so "LUKE!" instead of the above.

Is it possible to do that?

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: Forcing Capital?

#2 Post by Remix »

Python would use:

s = "luke"
s.upper()
>> "LUKE"
also
s.title()
or
s.capitalize()
>> "Luke"
Frameworks & Scriptlets:

CellHG
Regular
Posts: 61
Joined: Fri May 05, 2017 3:01 pm
Contact:

Re: Forcing Capital?

#3 Post by CellHG »

Remix wrote: Thu Dec 07, 2017 7:06 pm Python would use:

s = "luke"
s.upper()
>> "LUKE"
also
s.title()
or
s.capitalize()
>> "Luke"
Thanks bro =]

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Nozori_Games