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?
Forcing Capital?
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.
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.
- 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?
Python would use:
s = "luke"
s.upper()
>> "LUKE"
also
s.title()
or
s.capitalize()
>> "Luke"
s = "luke"
s.upper()
>> "LUKE"
also
s.title()
or
s.capitalize()
>> "Luke"
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
Who is online
Users browsing this forum: Ahrefs [Bot], Nozori_Games