Scaling problem - black margins around the game

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
JungTaco
Newbie
Posts: 5
Joined: Mon Apr 18, 2022 1:38 pm
Contact:

Scaling problem - black margins around the game

#1 Post by JungTaco »

The game I'm working on uses a pixel art style, so I need it to be in 1280 x 720 resolution so that the images don't look wonky.

I keep my monitor scaling at 125% and when I open the game there are black borders around it and the physical size is 1262 x 710, while the virtual (?) size is at 1280 x 720 (now I don't really understand this, but I know this happens when the scaling of my monitor is at more than 100%)

window at 125% scaling

window at 100 scaling

Is there any way I can get rid of the black borders no matter the scaling?

I already used gui.init and it doesn't help
gui.init(1280, 720)

Post Reply

Who is online

Users browsing this forum: No registered users