Godot Version
4.5.rc1
Question
Hi !
I’ve got a, I guess, niche problem concerning the window, resizing and transparent background.
So, I’ve got this small planet project where population spawns, that’s supposed to be an idle game that sits on your desktop.
Which means :
- Transparent background
- Screen position manually set up
- In this case, pixel art and resizing to keep scale
It interacts badly, as shown in this gif :

When I resize the window and move it to the bottom, it makes black bars appear as it is scaling in integer mode and keeping aspect (as is standard with pixel art projects). It makes the transparent background moot during the transition, since it encases it in black borders.
Do anyone know a way to make those black bars transparent ? I must not be the first one to want that, right ?
Of course I could scale it in one go when it’s a its destination, but that’s not the behaviour I want.
Thank you all for your time !