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.
-
AlexCLD
- Newbie
- Posts: 24
- Joined: Sun Mar 22, 2015 6:44 pm
- Projects: Just a Number
-
Contact:
#1
Post
by AlexCLD » Wed Apr 15, 2015 2:05 pm
Hi everybody! I am trying to use de nvl mode on my game, but I have an annoying problem:
"b" image is white, but when I start the game this is what's happen:
The background is gray and the image that I put is white.
Please! Help!
Last edited by
AlexCLD on Wed Apr 15, 2015 5:11 pm, edited 1 time in total.
-
kisa
- Veteran
- Posts: 383
- Joined: Sat Aug 27, 2011 7:08 pm
- Completed: Brother Rose, Dogs Alone
- Projects: So many projects, I can't name them.
- Deviantart: tsubasafan135
- Skype: Discord: Kisaofbishies#6680
- itch: kisa
-
Contact:
#2
Post
by kisa » Wed Apr 15, 2015 2:43 pm
That would be because the background to the textbox is transparent black.
you could try typing the text as "centered"?
-
AlexCLD
- Newbie
- Posts: 24
- Joined: Sun Mar 22, 2015 6:44 pm
- Projects: Just a Number
-
Contact:
#3
Post
by AlexCLD » Wed Apr 15, 2015 2:50 pm
kisa wrote:That would be because the background to the textbox is transparent black.
you could try typing the text as "centered"?
You're right, when I center the text, the gray background disappeared, but I want to put the text on the top left of the screen. How can I solve this problem?
Thanks in advance

-
kisa
- Veteran
- Posts: 383
- Joined: Sat Aug 27, 2011 7:08 pm
- Completed: Brother Rose, Dogs Alone
- Projects: So many projects, I can't name them.
- Deviantart: tsubasafan135
- Skype: Discord: Kisaofbishies#6680
- itch: kisa
-
Contact:
#4
Post
by kisa » Wed Apr 15, 2015 2:52 pm
To do that, you could change the background of the textbox to a transparent image.
There's a tutorial on that somewhere around here. Would you like a link?
Edit:
http://lemmasoft.renai.us/forums/viewto ... he+textbox
Just use a transparent png for the image and you should be good.
Warning: Depending on your computer, the file itself (in the game folder) may appear as a white box. But, it should be transparent.
-
AlexCLD
- Newbie
- Posts: 24
- Joined: Sun Mar 22, 2015 6:44 pm
- Projects: Just a Number
-
Contact:
#5
Post
by AlexCLD » Wed Apr 15, 2015 3:09 pm
kisa wrote:To do that, you could change the background of the textbox to a transparent image.
There's a tutorial on that somewhere around here. Would you like a link?
Edit:
http://lemmasoft.renai.us/forums/viewto ... he+textbox
Just use a transparent png for the image and you should be good.
Warning: Depending on your computer, the file itself (in the game folder) may appear as a white box. But, it should be transparent.
You say that I must do something like this?
Because the gray colour of the background remains in the same place. Sorry if I am doing something wrong, I have much to learn.
Edit: "frame.png" is a transparent image.
-
kisa
- Veteran
- Posts: 383
- Joined: Sat Aug 27, 2011 7:08 pm
- Completed: Brother Rose, Dogs Alone
- Projects: So many projects, I can't name them.
- Deviantart: tsubasafan135
- Skype: Discord: Kisaofbishies#6680
- itch: kisa
-
Contact:
#6
Post
by kisa » Wed Apr 15, 2015 3:15 pm
Perhaps you need to add a border?
If that doesn't work... either it's calling a different background for novel mode or I'm just an idiot.

-
AlexCLD
- Newbie
- Posts: 24
- Joined: Sun Mar 22, 2015 6:44 pm
- Projects: Just a Number
-
Contact:
#7
Post
by AlexCLD » Wed Apr 15, 2015 3:28 pm
kisa wrote:Perhaps you need to add a border?
If that doesn't work... either it's calling a different background for novel mode or I'm just an idiot.

You say something like this?
I'm the real idiot

-
kisa
- Veteran
- Posts: 383
- Joined: Sat Aug 27, 2011 7:08 pm
- Completed: Brother Rose, Dogs Alone
- Projects: So many projects, I can't name them.
- Deviantart: tsubasafan135
- Skype: Discord: Kisaofbishies#6680
- itch: kisa
-
Contact:
#8
Post
by kisa » Wed Apr 15, 2015 3:33 pm
I actually meant a mostly transparent single pixel border around the image... But, if that works, do it.
-
AlexCLD
- Newbie
- Posts: 24
- Joined: Sun Mar 22, 2015 6:44 pm
- Projects: Just a Number
-
Contact:
#9
Post
by AlexCLD » Wed Apr 15, 2015 3:40 pm
kisa wrote:I actually meant a mostly transparent single pixel border around the image... But, if that works, do it.
Doesn't works, but I changed the "frame" image and the resolution and this is what I see:
Interesting, but really annoying problem

-
kisa
- Veteran
- Posts: 383
- Joined: Sat Aug 27, 2011 7:08 pm
- Completed: Brother Rose, Dogs Alone
- Projects: So many projects, I can't name them.
- Deviantart: tsubasafan135
- Skype: Discord: Kisaofbishies#6680
- itch: kisa
-
Contact:
#10
Post
by kisa » Wed Apr 15, 2015 3:43 pm
Include/change the margins(?) and the background should match up better with the textbox.
Aside from that... If you want to keep the white background throughout... Perhaps change the frame to a white image?
-
AlexCLD
- Newbie
- Posts: 24
- Joined: Sun Mar 22, 2015 6:44 pm
- Projects: Just a Number
-
Contact:
#11
Post
by AlexCLD » Wed Apr 15, 2015 3:56 pm
kisa wrote:Include/change the margins(?) and the background should match up better with the textbox.
Aside from that... If you want to keep the white background throughout... Perhaps change the frame to a white image?

-
kisa
- Veteran
- Posts: 383
- Joined: Sat Aug 27, 2011 7:08 pm
- Completed: Brother Rose, Dogs Alone
- Projects: So many projects, I can't name them.
- Deviantart: tsubasafan135
- Skype: Discord: Kisaofbishies#6680
- itch: kisa
-
Contact:
#12
Post
by kisa » Wed Apr 15, 2015 3:59 pm
Make the textbox fill the whole screen via adjusting the margins. It will make the textbox become the white background you so desire.
-
philat
- Eileen-Class Veteran
- Posts: 1853
- Joined: Wed Dec 04, 2013 12:33 pm
-
Contact:
#13
Post
by philat » Wed Apr 15, 2015 4:09 pm
Guys, this should not be this painful. Use nvl_window instead of window, and a background of None will register as transparent. You can use the style inspector (shift+I) to see what style a displayable is using.
Code: Select all
init:
style nvl_window:
background None
label start:
scene b
"nvl text as usual"
Last edited by
philat on Wed Apr 15, 2015 4:10 pm, edited 1 time in total.
-
AlexCLD
- Newbie
- Posts: 24
- Joined: Sun Mar 22, 2015 6:44 pm
- Projects: Just a Number
-
Contact:
#14
Post
by AlexCLD » Wed Apr 15, 2015 4:10 pm
kisa wrote:Make the textbox fill the whole screen via adjusting the margins. It will make the textbox become the white background you so desire.
I just can't do it...

-
kisa
- Veteran
- Posts: 383
- Joined: Sat Aug 27, 2011 7:08 pm
- Completed: Brother Rose, Dogs Alone
- Projects: So many projects, I can't name them.
- Deviantart: tsubasafan135
- Skype: Discord: Kisaofbishies#6680
- itch: kisa
-
Contact:
#15
Post
by kisa » Wed Apr 15, 2015 4:42 pm
Listen to philat? 8u8
I'm sorry that it's painful...
Users browsing this forum: Google [Bot]