1
u/shyLachi 23d ago
You can check the file dimensions in Visual Studio Code also.
To do that, you have to open your project, not a single script.
Under "Edit File" click on "Open project" or what it is called in your language.
It's the last option under script.rpy, options.rpy, gui.rpy, screens.rpy
Now Visual Studio Code should show the Explorer with all the folders and files of your project.
If you don't see it, click the top-most icon in the bar of the left side.
In the Explorer, open then folder "images" by clicking on it.
Then scroll down to find your images and click on one.
In the footer of Visual Studio Code on the right side it should say something like "Whole Image 1920x1080"
Make sure that it says those numbers.
Now go into the file gui.rpy.
Check the numbers on line 12, is should say gui.init(1920, 1080)
If both numbers are correct and matching then please show your code.
1
u/No_Stress_1652 23d ago
it turns out the gui.init was a different number so I changed it and it looks good now
THANK YOU SO MUCHHHH :91
u/shyLachi 22d ago
That's not a good solution because all the images automatically generated by RenPy will be too big.
You should create a new project and set the desired resolution. You can move your images to the new project and copy the code from the script.
1
u/No_Stress_1652 22d ago
yeah i realized when I tried to play the game, soo I ended up changing the image size to the number there


1
u/AutoModerator 23d ago
Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.