Thank you, I'll try that when I get back home. I changed the left_padding from 290 to 250 thinking there should be a difference in spacing within the textbox, but it didn't cross my mind to just set it to 0 and see what happens.Alex wrote:Well, if you already left some free space between screen side and textbox for a side image, you don't need to set left_padding at all.
[Tutorial] Customizing the Textbox
Forum rules
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Do not post questions here!
This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
-
- Regular
- Posts: 138
- Joined: Tue Jan 11, 2011 7:48 pm
- Projects: Our Crossing Paths
- Contact:
Re: [Tutorial] Customizing the Textbox
Re: [Tutorial] Customizing the Textbox
Is it possible to make a different textbox setting for different character? Let's say I want the main character to have a different-looking textbox and have her side image be positioned on the left, while everyone else's side image is on the right.
Re: [Tutorial] Customizing the Textbox
You could try this good ol' method - http://www.renpy.org/wiki/renpy/FAQ#How ... y_speak.3F
- leon
- Miko-Class Veteran
- Posts: 554
- Joined: Sun Oct 09, 2011 11:15 pm
- Completed: Visual Novel Tycoon, Night at the Hospital, Time Labyrinth, The Buried Moon, Left of Center, Super Otome Quest
- Projects: Lemon Project, Porcelain Heart, Dream's Dénouement
- Organization: Team ANARKY
- Contact:
Re: [Tutorial] Customizing the Textbox
This will use a different texbox image for one character:
You can change other attributes in a similar fashion. For example style.window.left_padding becomes window_left_padding.
Code: Select all
define mc = Character("Derp", window_background="textbox.png")
-
- Newbie
- Posts: 10
- Joined: Fri Jan 18, 2013 9:11 pm
- Contact:
Re: [Tutorial] Customizing the Textbox
Is there a way to get CTC animations/images to show up on 'narration' lines? I'm probably missing something really bleeding obvious, but aside from making a "narration" character and setting all the narration say lines to use that then I'm lost.
Re: [Tutorial] Customizing the Textbox
When you've created a "narrator" character you don't need to use it likeeverything will work as usual
http://www.renpy.org/doc/html/dialogue. ... characters
Code: Select all
narrator "What?"
Code: Select all
"That's me - narrator, speaks!"
-
- Newbie
- Posts: 10
- Joined: Fri Jan 18, 2013 9:11 pm
- Contact:
Re: [Tutorial] Customizing the Textbox
Ahah. Yes, that got it. Told you I was missing something obvious. Cheers.
Re: [Tutorial] Customizing the Textbox
I'm using Renpy 6.12, and I wanted the save/load menu to be on the textbox like in 6.13. 6.13 and above keep on crashing on my computer. Where do I code the stuff in?
Re: [Tutorial] Customizing the Textbox
This thread has been amazingly helpful, but there's one thing I can't seem to figure out. I'm using show_two_window for my character names. I also managed to set a character who has a unique text box with window_background, but I can't figure out what code to put in to style that character's name box. What code should I be using for this?
Re: [Tutorial] Customizing the Textbox
This tutorial was so useful~! (°w°)
But leave it to me to srew things around ;A;
I wanted that, instead of different textboxes, each character had a special namebox, is it possible? (°^°)
In any case, thank you very much for the tutorial (;w;)
But leave it to me to srew things around ;A;
I wanted that, instead of different textboxes, each character had a special namebox, is it possible? (°^°)
In any case, thank you very much for the tutorial (;w;)
Re: [Tutorial] Customizing the Textbox
THANK YOU!!! :'D
The second one helped me a lot ;w;
The second one helped me a lot ;w;
-
- Newbie
- Posts: 10
- Joined: Mon Aug 26, 2013 5:31 am
- Contact:
Re: [Tutorial] Customizing the Textbox
Thanks for the clear tutorial, but I do have an additional question.
While I understand that you can give a specific character their own textbox, is there a way to change textbox without tying it to a character?
Say for example I want Alice to use TextboxA when talking normally, and TextboxB when I want to represent her yelling. I suppose I can define a second character that's only called when Alice yells, but that sounds inefficient.
While I understand that you can give a specific character their own textbox, is there a way to change textbox without tying it to a character?
Say for example I want Alice to use TextboxA when talking normally, and TextboxB when I want to represent her yelling. I suppose I can define a second character that's only called when Alice yells, but that sounds inefficient.
Re: [Tutorial] Customizing the Textbox
That sounds ok. You even won't need to copy/paste the whole code for second characterI suppose I can define a second character that's only called when Alice yells, but that sounds inefficient.
Code: Select all
define alice_a = Character("Alice", window_background="bg1.png", who_color="#c8ffc8", what_color="#fff", etc.)
define alice_b = Character("Alice", kind=alice_a, window_background="bg2.png")
-
- Newbie
- Posts: 10
- Joined: Fri Jan 18, 2013 9:11 pm
- Contact:
Re: [Tutorial] Customizing the Textbox
Quick question - if I've set a textbox colour with style.window.background, can I make that transparent at all or do I have to use a frame/PNG with transparency set?
Who is online
Users browsing this forum: No registered users