make the centered text seeable
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.
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
make the centered text seeable
I want to use the centered text but
http://mayhem-twins.tumblr.com/private/ ... xoB1ra8nnc
as you can see here, the centered text just cant be seen.
is their any possible way for me to have like a black text box behind it or at least have it somehow see able?
Any ideas are appreciated.
http://mayhem-twins.tumblr.com/private/ ... xoB1ra8nnc
as you can see here, the centered text just cant be seen.
is their any possible way for me to have like a black text box behind it or at least have it somehow see able?
Any ideas are appreciated.
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: make the centered text seeable
I think when you make a new project, you should pick the black background instead of a white background. (Its my opinion how you start a new project on Ren'py by picking colors.)
So, this is what you are talking about?
If you want to change the color text, just open the file named gui.rpy.
You can at least change some colors in the game.
Sry bad english
So, this is what you are talking about?
If you want to change the color text, just open the file named gui.rpy.
You can at least change some colors in the game.
Sry bad english
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
Re: make the centered text seeable
isobellesophia wrote: ↑Fri Feb 08, 2019 7:01 am I think when you make a new project, you should pick the black background instead of a white background. (Its my opinion how you start a new project on Ren'py by picking colors.)
color.png
So, this is what you are talking about?
If you want to change the color text, just open the file named gui.rpy.
You can at least change some colors in the game.
Sry bad english
thats a good idea, but is there a way i could mayb put a text box in the center or something like that so that it can be seeable without restarting?
- Wight
- Regular
- Posts: 47
- Joined: Mon Jan 07, 2019 5:40 pm
- Completed: A Transient Experiment
- itch: wight
- Contact:
Re: make the centered text seeable
There's a few things you can do. You can use text tags to change the text, such as the color of it.
https://www.renpy.org/doc/html/text.html#text-tag-color
But that can get tedious if you're using it often on white backgrounds. In which case, you can put this in your script:
And then instead of "show text", you say "show blacktext" whenever there's a white background like that.
Alternatively, you can keep the text white and just give it a black outline. Like the one above, you put this in script:
And instead of "show text", you say "show outlinedtext". You can also edit how the outline works, in case you want to make it thicker or stick out a certain way.
https://www.renpy.org/doc/html/style_pr ... y-outlines
https://www.renpy.org/doc/html/text.html#text-tag-color
Code: Select all
show text "{color=#000000}LOOK AT ME, I'M TEXT!{/color}"
Code: Select all
image blacktext = ParameterizedText(xalign=0.5, yalign=0.5, color="#000000")
Alternatively, you can keep the text white and just give it a black outline. Like the one above, you put this in script:
Code: Select all
image outlinedtext = ParameterizedText(xalign=0.5, yalign=0.5, color="#ffffff", outlines=[(1, "#000000", 0, 0)])
https://www.renpy.org/doc/html/style_pr ... y-outlines
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
Re: make the centered text seeable
Wait can I outline centered texts?Wight wrote: ↑Sun Feb 10, 2019 1:23 am There's a few things you can do. You can use text tags to change the text, such as the color of it.
https://www.renpy.org/doc/html/text.html#text-tag-colorBut that can get tedious if you're using it often on white backgrounds. In which case, you can put this in your script:Code: Select all
show text "{color=#000000}LOOK AT ME, I'M TEXT!{/color}"
And then instead of "show text", you say "show blacktext" whenever there's a white background like that.Code: Select all
image blacktext = ParameterizedText(xalign=0.5, yalign=0.5, color="#000000")
Alternatively, you can keep the text white and just give it a black outline. Like the one above, you put this in script:And instead of "show text", you say "show outlinedtext". You can also edit how the outline works, in case you want to make it thicker or stick out a certain way.Code: Select all
image outlinedtext = ParameterizedText(xalign=0.5, yalign=0.5, color="#ffffff", outlines=[(1, "#000000", 0, 0)])
https://www.renpy.org/doc/html/style_pr ... y-outlines
- isobellesophia
- Miko-Class Veteran
- Posts: 979
- Joined: Mon Jan 07, 2019 2:55 am
- Completed: None
- Projects: Maddox and Friends! (AI Teacher friend), Friendly Universities! (Soon)
- Organization: Friendly Teachers series
- Deviantart: SophBelle
- itch: Child Creation
- Location: Philippines, Mindanao
- Contact:
Re: make the centered text seeable
Yes, just set a code of colors you want, so you can see your textdemondog29 wrote: ↑Wed Feb 13, 2019 5:28 pmWait can I outline centered texts?Wight wrote: ↑Sun Feb 10, 2019 1:23 am There's a few things you can do. You can use text tags to change the text, such as the color of it.
https://www.renpy.org/doc/html/text.html#text-tag-colorBut that can get tedious if you're using it often on white backgrounds. In which case, you can put this in your script:Code: Select all
show text "{color=#000000}LOOK AT ME, I'M TEXT!{/color}"
And then instead of "show text", you say "show blacktext" whenever there's a white background like that.Code: Select all
image blacktext = ParameterizedText(xalign=0.5, yalign=0.5, color="#000000")
Alternatively, you can keep the text white and just give it a black outline. Like the one above, you put this in script:And instead of "show text", you say "show outlinedtext". You can also edit how the outline works, in case you want to make it thicker or stick out a certain way.Code: Select all
image outlinedtext = ParameterizedText(xalign=0.5, yalign=0.5, color="#ffffff", outlines=[(1, "#000000", 0, 0)])
https://www.renpy.org/doc/html/style_pr ... y-outlines
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
Re: make the centered text seeable
Wait can I outline centered texts?
[/quote]
Yes, just set a code of colors you want, so you can see your text
[/quote]
i was trying but I can't seem to do it? could you show me how it supposed to look?
[/quote]
Yes, just set a code of colors you want, so you can see your text
[/quote]
i was trying but I can't seem to do it? could you show me how it supposed to look?
- Wight
- Regular
- Posts: 47
- Joined: Mon Jan 07, 2019 5:40 pm
- Completed: A Transient Experiment
- itch: wight
- Contact:
Re: make the centered text seeable
You can put this into your script. This will make white text with a black outline.
And whenever you want outlined centered text, put in something like this instead of show text
You can rename "outlinedtext" to something easier to type out, if needed.
Code: Select all
image outlinedtext = ParameterizedText(xalign=0.5, yalign=0.5, color="#ffffff", outlines=[(1, "#000000", 0, 0)])
Code: Select all
show outlinedtext "LOOK AT ME, I'M OUTLINED TEXT!"
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
Re: make the centered text seeable
I put it on the script, but it just skips over it when i try play it?
- Wight
- Regular
- Posts: 47
- Joined: Mon Jan 07, 2019 5:40 pm
- Completed: A Transient Experiment
- itch: wight
- Contact:
Re: make the centered text seeable
Is there a scene transition after the text? If there's no dialogue following it, then it's going just going to show it very briefly. Under it, put "pause". This will make it so that the text stays on the screen and it will only proceed once the player clicks again.
Code: Select all
show outlinedtext "LOOK AT ME, I'M OUTLINED TEXT!"
pause
-
- Newbie
- Posts: 8
- Joined: Fri Jan 18, 2019 6:24 am
- Contact:
Re: make the centered text seeable
This works!! Thanks!Wight wrote: ↑Thu Feb 28, 2019 7:04 am Is there a scene transition after the text? If there's no dialogue following it, then it's going just going to show it very briefly. Under it, put "pause". This will make it so that the text stays on the screen and it will only proceed once the player clicks again.
Code: Select all
show outlinedtext "LOOK AT ME, I'M OUTLINED TEXT!" pause
Who is online
Users browsing this forum: No registered users