Page 1 of 1

How to avoid transparent edges when vpunch?

Posted: Sun Jan 05, 2020 11:33 pm
by abeplaga
When I do a vpunch the screen shakes but on lower and upper edges appears a white line with little grey squares, which I think it is the transparent background of renpy.

Is there any way to prevent it from appearing?

Image
^ Wait a second to look at the bottom...

Re: How to avoid transparent edges when vpunch?

Posted: Mon Jan 06, 2020 12:01 am
by Imperf3kt
Place an image below everything that is larger than your game resolution, anchored and positioned True centre.

It'll still move, but since it's big enough to cover the area, you'll never see the transparency.

Re: How to avoid transparent edges when vpunch?

Posted: Mon Jan 06, 2020 1:00 pm
by rames44
Or just render the image you’re going to vpunch larger than your viewport.

Re: How to avoid transparent edges when vpunch?

Posted: Mon Jan 06, 2020 2:56 pm
by Donmai
Or simply leave you images as they are. To get rid of the transparency squares in your released game go to options.rpy and change

Code: Select all

define config.developer = "auto"
to

Code: Select all

define config.developer = False
before building your game distribution.

Re: How to avoid transparent edges when vpunch?

Posted: Wed Jan 08, 2020 8:41 pm
by abeplaga
Donmai wrote: Mon Jan 06, 2020 2:56 pm Or simply leave you images as they are. To get rid of the transparency squares in your released game go to options.rpy and change

Code: Select all

define config.developer = "auto"
to

Code: Select all

define config.developer = False
before building your game distribution.
Ah, thank you! If the build doesn't have that transparent thing then I'll leave it as it is :)