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.
-
Helyees
- Regular
- Posts: 152
- Joined: Tue Mar 08, 2016 3:14 pm
- Projects: Panzer Hearts
-
Contact:
#1
Post
by Helyees » Fri Jan 26, 2018 10:45 am
Hello Dev Friends
I'm stuck with these small problem I have and can't find out what is the problem.
I have two textboxes. One for the Character Dialogue and one for the Narrator.
Character Dialogue works just fine with the dialogue behaving like this inside the box..
But..Whit my narrator it is not workin?
Narrator is described with:
define narrator = Character('',color="#f5f5f5", window_background="box2", window_xsize=1484)
This leads to textbox and dialouge behaving like this?
In some way the additional Narrator textbox does not seem to use the default settings for the textbox? How could I get the text work the same way in the narrator textbox?
Last edited by
Helyees on Sat Jan 27, 2018 3:08 am, edited 1 time in total.
-
Helyees
- Regular
- Posts: 152
- Joined: Tue Mar 08, 2016 3:14 pm
- Projects: Panzer Hearts
-
Contact:
#2
Post
by Helyees » Sat Jan 27, 2018 2:31 am
This did the trick! thanks goes to Errihl!
screen say(who, what):
style_prefix "say"
window:
id "window"
if who is not None:
background Image("gui/textbox.png", xalign=0.5, yalign=1.0)
window:
style "namebox"
text who id "who"
else:
background Image("gui/box2.png", xalign=0.5, yalign=1.0)
text what id "what"
Users browsing this forum: Google [Bot]