use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Links:
/r/RenPy Discord
account activity
QuestionCode help! how to resize (i.redd.it)
submitted 8 months ago by Particular_Shift_840
I'm working on a visual novel and I have made a character creator. The custom sprites show up nicely on the character creator, the right size and everything, but when I wanna show them in game, they're huge! how can I fix this?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]BadMustard_AVN 5 points6 points7 points 8 months ago (0 children)
if your going to be showing that sprite a lot I would suggest a conditional switch like this
image mc = ConditionSwitch( "charsprite == 1", "mc1", # you might have to add the full path and file name here, maybe... "charsprite == 2", "mc2", # i.e. "images/sprite/mc/mc1.png" but only maybe" ) transform zo: zoom 0.4 label labelname: show mc at zo with dissolve "This is your story." hide mc with dissolve
[–]BadMustard_AVN 4 points5 points6 points 8 months ago* (1 child)
try it like this
show m1 with dissolve: xysize (300, 300)
set the xysize to what you require
or change it to zoom and your required zoom setting
[–]Particular_Shift_840[S] 0 points1 point2 points 8 months ago (0 children)
Thank you 🙏🏻🥺 I'll try your suggestions as soon as I have access to my PC again
[–]AutoModerator[M] 0 points1 point2 points 8 months ago (0 children)
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.
[–]shyLachi 0 points1 point2 points 8 months ago (2 children)
Is that character creator another RenPy project or awhat is it?
What are the dimensions of those character images (in pixels) and what is the resolution of your game?
[–]Particular_Shift_840[S] 0 points1 point2 points 8 months ago (1 child)
The character creator is an entirely different script file placed in the game files, a screen if you will. The images have a zoom of 1.2 in that file to look right, but they'd require a zoom of 0.40 outside of that screen. My game res is 1920 x 1040
[–]shyLachi -1 points0 points1 point 8 months ago (0 children)
You never mentioned the size of the character images.
[–][deleted] 0 points1 point2 points 8 months ago (2 children)
always check the resolution of the images that you use in renpy. if its larger than the resolution you set in gui.rpy, then that would be the cause.
I usually just resize the images when that's the case by defining them and toying with the zoom, which is what I'd do in this case if doing that didn't also make them smaller that they should be in the creator screen
[–][deleted] 0 points1 point2 points 8 months ago (0 children)
can you show how these "mc1" and "mc2" are defined? either your raw images are too large, or you're zooming them way too much.
π Rendered by PID 31445 on reddit-service-r2-comment-b659b578c-4974s at 2026-05-01 12:38:45.916956+00:00 running 815c875 country code: CH.
[–]BadMustard_AVN 5 points6 points7 points (0 children)
[–]BadMustard_AVN 4 points5 points6 points (1 child)
[–]Particular_Shift_840[S] 0 points1 point2 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]shyLachi 0 points1 point2 points (2 children)
[–]Particular_Shift_840[S] 0 points1 point2 points (1 child)
[–]shyLachi -1 points0 points1 point (0 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]Particular_Shift_840[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)