how to make a blank center dialog text
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.
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
how to make a blank center dialog text
So I am making a game that involves no images, and what I am trying to do is remove the borders the fast forward dialog.
Where someone would talk it would be in the center in large letters, no dialog BG no rewind fast forward options, just a click to next.
in a sense, all it will be is is text typing on the screen (music and sounds occuring in the background.) with the possibility of 1 background change, the game will have 3 endings based on a series of 12 questions.
So it is really just a text game with one image in the title.
So what I need to know is how to remove all frills and center all dialog with size and font desired.
Where someone would talk it would be in the center in large letters, no dialog BG no rewind fast forward options, just a click to next.
in a sense, all it will be is is text typing on the screen (music and sounds occuring in the background.) with the possibility of 1 background change, the game will have 3 endings based on a series of 12 questions.
So it is really just a text game with one image in the title.
So what I need to know is how to remove all frills and center all dialog with size and font desired.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3785
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: how to make a blank center dialog text
NVL mode might be of use to you.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
I did not find that anywhere, did I miss it somewhere? and that mode will still allow for decisions?
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
found something reading it now
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
So I see how that works, but it wasn't clear on how remove the frills and center the text, and is there a fade in and fade out of text? I think I am blind, and is there a way to disable options on preferences and such, so I can set the balance for a solid setting so they just turn up or down their own volume? instead of each option? (not trying to make multiple questions but I really want to remove all of these extras and did not find how I can make this insanely basic. )
I have figured out sounds and music and BG.
But I still can't center the text, its 4:30 am sorry if I am rambling, please let me know if I can clarify my desire.
I have figured out sounds and music and BG.
But I still can't center the text, its 4:30 am sorry if I am rambling, please let me know if I can clarify my desire.
Re: how to make a blank center dialog text
What kind of "centered text" do you have in mind? Can you give a mock-up image to illustrate what you meant?
I would just use :
centered "This is the text"
I would just use :
centered "This is the text"
My avatar is courtesy of Mellanthe
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
well its just centered, as in the center of the screen, and as there is more text entered no matter how much it centeres itself in the screen, but just like in the Visual part, each sentence/paragraph only appears one at a time. not several per page.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3785
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: how to make a blank center dialog text
It sounds like you'd be better off either making images containing the text, or use the show text function
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
So by making it all images I see how that could work because I could make the scenes fade in and out correct?
On the other note, what is show text function I did not find that, and again is there a way to eliminate the options on the page? (rewind fast forward etc)
On the other note, what is show text function I did not find that, and again is there a way to eliminate the options on the page? (rewind fast forward etc)
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3785
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: how to make a blank center dialog text
By "show text" I literally meant just that.
I think it centers by default, but if it doesn't, you can just use
show text "some text" at center
I'll go start my main computer and see if I can find an example so I can be sure I've given you the exact method.
I need to turn it on anyway so I can check how to wrap long strings of screen text over several lines since I've forgotten
Code: Select all
show text "Some text"
show text "Some more text"
show text "some text" at center
I'll go start my main computer and see if I can find an example so I can be sure I've given you the exact method.
I need to turn it on anyway so I can check how to wrap long strings of screen text over several lines since I've forgotten
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
So I tried using show text, and it does in fact center it, but it does not switch between it always shows the LAST thing show text is set for.
Re: how to make a blank center dialog text
@kahmehkahzeh : How did you code it? Please copy-paste your script here (use the
Code: Select all
tag so you won't mess the spacing)
You could also define a Character which automatically centers the text, but let's see what Imperf3kt has in store for you first.
My avatar is courtesy of Mellanthe
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
I will tell you now its almost the basic script. I need to get all of this resolved before I dive full on into it, I have the entire script done.
Code: Select all
# The script of the game goes in this file.
# Declare characters used by this game. The color argument colorizes the
# name of the character.
define n = Character("None", kind=nvl, colof="#c8c8ff")
# The game starts here.
label start:
play music "A.wav" loop
# Show a background. This uses a placeholder by default, but you can
# add a file (named either "bg room.png" or "bg room.jpg") to the
# images directory to show it.
scene bg room
# This shows a character sprite. A placeholder is used, but you can
# replace it by adding a file named "eileen happy.png" to the images
# directory.
show text "Ssdfaefawgb ase "
show text "Some text"
# These display lines of dialogue.
"Hello, world."
n "You've created a new Ren'Py game."
n "Once you add a story, pictures, and music, you can release it to the world!"
# This ends the game.
return
Re: how to make a blank center dialog text
Code: Select all
show text "Ssdfaefawgb ase "
show text "Some text"
When we use "show" command, Renpy doesn't actually display the text right away. It will wait until it has any interaction with the user (for example, a "Pause", or a "Say"). So, you add an interaction between the two shows :
Code: Select all
show text "Ssdfaefawgb ase "
Pause(3.0) ## delay for 3 seconds
show text "Some text"
My avatar is courtesy of Mellanthe
-
- Regular
- Posts: 62
- Joined: Thu Apr 13, 2017 6:47 am
- Contact:
Re: how to make a blank center dialog text
So using the pause it waits for that time then changes over to the next text after the time allotted where say is the interaction of the user?
Who is online
Users browsing this forum: Semrush [Bot]