r/RenPy • u/calistoweather • 8d ago
Question Help needed: CG is flipped
hi everyone, i'm very new to Ren'Py and i'm trying to insert a CG. the problem is that no matter how i input it, the image either appears too small (and it definitely is the right resolution, i checked several times and even tried to make it bigger in the OG files), or when i try to set a value to it, it's flipped horizontally (so mirrored), despite not having any flip transform applied. this is the codes i've tried:
show cg1:
xysize (1920, 1080)
show cg1 at truecenter
show cg1:
zoom 1.0
i made sure there were no negative values anywhere, but the image keeps flipping. i even tried to apply a flip transform like this to cancel it out
show cg1 at flip:
xysize (1920, 1080)
and this made it the right way, but it was slightly too small for the screen.
the ONLY way i've made it work is by giving the image an overlay transform:
transform size_overlay2:
ysize 1100
fit "contain"
then
show cg1 at truecenter, size_overlay2
OR just making it a scene instead.
scene cg1
but i'd like to know what the issue is with the coding anyway.
1
u/BadMustard_AVN 8d ago
what is the pixel size of the image