Gradient Text

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
JayBlue
Regular
Posts: 86
Joined: Fri Aug 26, 2016 7:10 pm
Location: Space
Contact:

Gradient Text

#1 Post by JayBlue » Tue Dec 13, 2016 9:51 pm

How do I stylize text with a gradient?

This is how I would want it to look like_
White on the top
Blue in the middle
Black on the bottom

What would the code for this look like?
If an Owl hoots in a forest, does it make a sound?

User avatar
Kaen
Regular
Posts: 148
Joined: Tue Oct 16, 2012 10:49 pm
Contact:

Re: Gradient Text

#2 Post by Kaen » Wed Dec 14, 2016 8:42 am

I don't think this is possible yet unless you use image based fonts. :c

User avatar
JayBlue
Regular
Posts: 86
Joined: Fri Aug 26, 2016 7:10 pm
Location: Space
Contact:

Re: Gradient Text

#3 Post by JayBlue » Thu Dec 15, 2016 12:49 am

Ah, ok. Bummer.

I guess I'll try with images :)
If an Owl hoots in a forest, does it make a sound?

User avatar
Kuroonehalf
Regular
Posts: 109
Joined: Fri Apr 25, 2014 6:18 pm
Completed: Cuttlebone
Projects: AikoVN
IRC Nick: Kuroonehalf
Deviantart: Kuroonehalf
itch: kuroonehalf
Contact:

Re: Gradient Text

#4 Post by Kuroonehalf » Thu Dec 15, 2016 4:24 pm

Worth mentioning that bitmap fonts by nature can't make use of renpy's tech to automatically resize text and have it look always crisp.

I too have been eager for this functionality for a long while but I don't know if it's in the plans yet.

User avatar
xela
Lemma-Class Veteran
Posts: 2481
Joined: Sun Sep 18, 2011 10:13 am
Contact:

Re: Gradient Text

#5 Post by xela » Thu Dec 15, 2016 5:37 pm

Image
But breaking it down line by line and applying gradients that way may prove tricky and even for this, one or two hacks are needed. Basically, it will be messy, difficult and the best way to get it done is unclear
This: viewtopic.php?f=8&t=38162&p=412689&hili ... nt#p412689
Like what we're doing? Support us at:
Image

User avatar
xavimat
Eileen-Class Veteran
Posts: 1446
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:

Re: Gradient Text

#6 Post by xavimat » Fri Dec 16, 2016 5:46 am

Tom has planned it, but not soon... :(
https://github.com/renpy/renpy/issues/896
Comunidad Ren'Py en español: ¡Únete a nuestro Discord!
Rhaier Kingdom A Ren'Py Multiplayer Adventure Visual Novel.
Cops&Robbers A two-player experiment | Fear&Love Why can't we say I love you?
Honest Critique (Avatar made with Chibi Maker by ~gen8)

Post Reply

Who is online

Users browsing this forum: Google [Bot], Imperf3kt