Scaling in Ren'Py
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.
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.
- DesertFox
- Regular
- Posts: 196
- Joined: Sun Jul 28, 2013 1:29 pm
- Completed: Over The Hills And Far Away
- Projects: My Little Dictator
- Organization: WarGirl Games
- Contact:
Scaling in Ren'Py
I've been using a mixture of LiveComposite, LiveCrop and ATL to make the most of sprites and disk space, however there are noticeable problems with aliasing when zoomed to 0.6. Doing some reading up, I've found that there's not much difference with im.FactorScale and other methods.
Is it true that scaling to 0.75 or 0.8 will make for better aliasing, or should I just use the old fashioned method and have my sprites scaled to their exact proportions beforehand? While it's useful making use of both larger head-shoulders sprites and smaller head-knees sprites, all from the same files, is it worth sacrificing alias quality? What are your experiences on this?
Is it true that scaling to 0.75 or 0.8 will make for better aliasing, or should I just use the old fashioned method and have my sprites scaled to their exact proportions beforehand? While it's useful making use of both larger head-shoulders sprites and smaller head-knees sprites, all from the same files, is it worth sacrificing alias quality? What are your experiences on this?
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Scaling in Ren'Py
Aliasing? That should only occur when zoomed past 50% the size of the original source. Do you have an example?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- DesertFox
- Regular
- Posts: 196
- Joined: Sun Jul 28, 2013 1:29 pm
- Completed: Over The Hills And Far Away
- Projects: My Little Dictator
- Organization: WarGirl Games
- Contact:
Re: Scaling in Ren'Py
It's mainly an issue in windowed mode really, and will possibly occur on smaller monitors since the game runs at a 1920x1080 resolution. So I guess an image zoomed out to 60% of its original size, then scaled in windowed mode down to 1366x768 or 1280x720 loses more of its quality in any case. Really it's about finding a compromise for players who don't want to play a visual novel in fullscreen without sacrificing quality, if possible. I thought it was worth asking about, and wondered if there was a rule-of-thumb ratio to scaling and quality loss.PyTom wrote:Aliasing? That should only occur when zoomed past 50% the size of the original source. Do you have an example?
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Scaling in Ren'Py
That would be a problem, then - if you scale down below 50% of the source material, you get artifacting. At some point, I need to figure out a way to address this issue.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- nyaatrap
- Crawling Chaos
- Posts: 1824
- Joined: Mon Feb 13, 2012 5:37 am
- Location: Kimashi Tower, Japan
- Contact:
Re: Scaling in Ren'Py
[Edit]
It looks there is a bug on ren'py resizing (I don't remember it's only a current version or an old issue).
Scaled to 0.75 scale starts aliasing, and 0.5 is too aliased as if images are broken.
It looks there is a bug on ren'py resizing (I don't remember it's only a current version or an old issue).
Scaled to 0.75 scale starts aliasing, and 0.5 is too aliased as if images are broken.
- DesertFox
- Regular
- Posts: 196
- Joined: Sun Jul 28, 2013 1:29 pm
- Completed: Over The Hills And Far Away
- Projects: My Little Dictator
- Organization: WarGirl Games
- Contact:
Re: Scaling in Ren'Py
I've decided to scale down all the artwork in Photoshop and simply take up some more disk space with both small and large pre-cropped versions of sprites. This was due to getting memory errors when there were more than three characters on screen. Generally since I was scaling down in-engine and using images with about 2000x3000px size, it's no wonder.
Who is online
Users browsing this forum: Google [Bot]
