Ren'Py hpunch / vpunch

AllNatural939

I am the bad guy?
Game Developer
Apr 3, 2024
498
571
I've looked everywhere and found nothing, I've been searching for a solution for months and can't find it... so I'm turning to my last resort.
If no one here knows, I’ll have no choice but to kill myself... :cry:
Does anyone here know how the hell to avoid white edges during a vpunch or hpunch in Ren'Py without having to modify an image to make it larger than normal?
 

peterppp

Erect Member
Donor
Mar 5, 2020
909
1,734
add a black layer behind it


another option: since it's the checkerboard transparency image (renpy/common/_transparent_tile.png) you see at the edge, you could replace that image with a black one. but being able to see the checkerboard image can be useful, so might not be a good idea
 
Last edited:
  • Heart
Reactions: AllNatural939

AllNatural939

I am the bad guy?
Game Developer
Apr 3, 2024
498
571
add a black layer behind it


another option: since it's the checkerboard transparency image (renpy/common/_transparent_tile.png) you see at the edge, you could replace that image with a black one. but being able to see the checkerboard image can be useful, so might not be a good idea
I FUCKING LOVE YOU !!!!

It was so easy that now I feel sorry for myself... as simple as adding a bigger black image and using truecenter... works like a charm.
 

79flavors

Well-Known Member
Respected User
Jun 14, 2018
1,627
2,285
It was probably less of an issue than you thought.

When in developer mode (ie, normally when using the SDK), RenPy uses a transparent (practically white) checkerboard as the background. That's probably what you were seeing.

When the game is deployed (using [BUILD] from the SDK), that behavior changes. Instead a black background is used.
The only time an actual player would see the checkboard would be if they switched developer mode back on.
 
Last edited:

peterppp

Erect Member
Donor
Mar 5, 2020
909
1,734
It was probably less of an issue than you thought.

When in developer mode (ie, normally when using the SDK), RenPy uses a transparent (practically white) checkerboard as the background. That's probably what you were seeing.

When the game is deployed (using [BUILD] from the SDK), that behavior changes. Instead a black background is used.
The only time an actual player would see the checkboard would be if they switched developer mode back on.
damn, i thought about that but when i tested my build, the checkerboard was still seen. i didn't realize that my renpy files - which has dev mode enabled - transfers to the build.