Page 1 of 2
Nvl mode background problem. [SOLVED]
Posted: Wed Apr 15, 2015 2:05 pm
by AlexCLD
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!
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 2:43 pm
by kisa
That would be because the background to the textbox is transparent black.
you could try typing the text as "centered"?
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 2:50 pm
by AlexCLD
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

Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 2:52 pm
by kisa
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.
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:09 pm
by AlexCLD
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.
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:15 pm
by kisa
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.

Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:28 pm
by AlexCLD
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

Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:33 pm
by kisa
I actually meant a mostly transparent single pixel border around the image... But, if that works, do it.
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:40 pm
by AlexCLD
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

Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:43 pm
by kisa
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?
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:56 pm
by AlexCLD
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?

Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 3:59 pm
by kisa
Make the textbox fill the whole screen via adjusting the margins. It will make the textbox become the white background you so desire.
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 4:09 pm
by philat
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"
Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 4:10 pm
by AlexCLD
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...

Re: Nvl mode background problem.
Posted: Wed Apr 15, 2015 4:42 pm
by kisa
Listen to philat? 8u8
I'm sorry that it's painful...