I have a problem with the talking bars in my game, for example when someone is talking, the words fit in their place correctly, but when the character is thinking inside his head *someone not talking* , the words don't fit in their place...
The screenshots will explain what I'm trying to say...
Bar problem?
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.
- NoahSindri
- Regular
- Posts: 69
- Joined: Tue May 07, 2013 1:05 pm
- Projects: Truculence, Noraska:The cats valley
- Organization: Sunset Productions
- Location: Cyprus
- Contact:
Bar problem?
My project...please tell me your opinion http://lemmasoft.renai.us/forums/viewto ... 43&t=22253
Website : http://sunsetproductions.webstarts.com/
Website : http://sunsetproductions.webstarts.com/
-
- Eileen-Class Veteran
- Posts: 1258
- Joined: Fri Sep 21, 2007 7:13 am
- Projects: a battle engine
- Contact:
Re: Bar problem?
Wrong forum.
How are you specifying the placement of the dialogue text?
How are you specifying the placement of the dialogue text?
- OokamiKasumi
- Eileen-Class Veteran
- Posts: 1779
- Joined: Thu Oct 14, 2010 3:53 am
- Completed: 14 games released -- and Counting.
- Organization: DarkErotica Games
- Deviantart: OokamiKasumi
- Location: NC, USA
- Contact:
Re: Bar problem?
This is a TextBox problem.NoahSindri wrote:I have a problem with the talking bars in my game, for example when someone is talking, the words fit in their place correctly, but when the character is thinking inside his head *someone not talking* , the words don't fit in their place...
-- When you say 'bar' people tend to think: scrollbar.
What's happening has to do with:
1) How you defined your Characters
and
2) How you defined your Texbox parameters.
example of character definitions:
Code: Select all
define ian_talk = Character('Ian',
color="000000",
show_two_window = True,
)
define ian_think = Character(None,
color="0666666",
)
Code: Select all
init -2 python hide:
###############################################
##-------------- Textbox ----------------------
# style.say_window.font = "bluecabin.ttf"
# style.say_window.size = 30
## Frame ------------------------
style.window.background = Frame("ui/textbox.png", 0, 0)
## No Frame --------------------
# style.window.background = "ui/textbox.png"
## Margin is space surrounding the window, where the background
## is not drawn.
style.window.left_margin = 100
style.window.right_margin = 100
style.window.top_margin = 0
style.window.bottom_margin = 30
## Padding is space inside the window, where the background is
## drawn.
style.window.left_padding = 50
style.window.right_padding = 50
style.window.top_padding = 25
style.window.bottom_padding = 25
## This is the minimum height of the window, including the margins
## and padding.
style.window.xminimum = 800
style.window.yminimum = 200
-- As a rule of thumb, your textbox parameters are your Base settings. Anything in your Character Definitions will ADD to those base settings.
Ookami Kasumi ~ Purveyor of fine Smut.
Most recent Games Completed:
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
Most recent Games Completed:
- The Walk[Psychological][NanoWinter] ~ PG New!
- Trap! [ModernFantasy][VN] ~ PG16
- The Adventures of Prince Ivan [Fant/Adv/VN] ~ PG
"No amount of great animation will save a bad story." -- John Lasseter of Pixar
Who is online
Users browsing this forum: geoWaffle