Hello everyone,
I was wondering if there is any reason not to use the biggest possible resolution as default (apart from bigger assets)? I assume that no matter the size, renpy will resize it neatly for all the smaller screens, right? Or is there anything to keep in mind here? Thank you!
2160p/4k?
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.
-
- Regular
- Posts: 45
- Joined: Thu Dec 06, 2018 3:23 am
- Contact:
2160p/4k?
I cannot reply to messages anymore.
> Your IP has been blocked because it is blacklisted.
> Your IP has been blocked because it is blacklisted.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: 2160p/4k?
Several reasons.
Performance, compatibility, battery life for mobile devices, output file size of the build, scaling (as large images are scaled smaller, a lot of the detail is crushed out of the image or blurred beyond recognition)
Larger images don't always mean higher quality artwork either. A lot of the time you can achieve an amazingly detailed looking game, with less than HD resolution artwork.
Everyone thinks bigger is better, but that's a misconception. Bigger can be better, but it doesn't automatically make things better just because it's bigger.
You can change this for your project if you want, but I think the defaults are suitable for the majority of users.
Performance, compatibility, battery life for mobile devices, output file size of the build, scaling (as large images are scaled smaller, a lot of the detail is crushed out of the image or blurred beyond recognition)
Larger images don't always mean higher quality artwork either. A lot of the time you can achieve an amazingly detailed looking game, with less than HD resolution artwork.
Everyone thinks bigger is better, but that's a misconception. Bigger can be better, but it doesn't automatically make things better just because it's bigger.
You can change this for your project if you want, but I think the defaults are suitable for the majority of users.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
-
- Regular
- Posts: 45
- Joined: Thu Dec 06, 2018 3:23 am
- Contact:
Re: 2160p/4k?
I'm not sure I understand why you are mentioning performance — if I don't have a 4k monitor the game will be played in 1080p, so that will not affect performance as the assets won't be rendered in 4k either, or?Imperf3kt wrote: ↑Mon Jan 16, 2023 11:15 pm Several reasons.
Performance, compatibility, battery life for mobile devices, output file size of the build, scaling (as large images are scaled smaller, a lot of the detail is crushed out of the image or blurred beyond recognition)
Larger images don't always mean higher quality artwork either. A lot of the time you can achieve an amazingly detailed looking game, with less than HD resolution artwork.
Everyone thinks bigger is better, but that's a misconception. Bigger can be better, but it doesn't automatically make things better just because it's bigger.
You can change this for your project if you want, but I think the defaults are suitable for the majority of users.
Compatibility — what do you mean by that?
Re: battery life, I am not releasing my game on mobile phones. Output file size is not a concern either.
Now about scaling. Usually when things are scaled down they look exactly as they'd do on a bigger screen, it's the scaling up that is the problem, isn't it? Are you saying that renpy is bad at scaling down, too? Is there any way to make different assets for different screens, like it's possible in CSS?
I cannot reply to messages anymore.
> Your IP has been blocked because it is blacklisted.
> Your IP has been blocked because it is blacklisted.
- Ocelot
- Lemma-Class Veteran
- Posts: 2405
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: 2160p/4k?
Screen will be rendered in original resolution and scaled down before displaying. There is no other way, since you can access screen pixel-by-pixel from within game.OrsonDeWitt wrote: ↑Wed Jan 18, 2023 6:22 pm I'm not sure I understand why you are mentioning performance — if I don't have a 4k monitor the game will be played in 1080p, so that will not affect performance as the assets won't be rendered in 4k either, or?
Scaling down often introduces moire patterns: https://en.wikipedia.org/wiki/Aliasing (check images on the right)OrsonDeWitt wrote: ↑Wed Jan 18, 2023 6:22 pm Now about scaling. Usually when things are scaled down they look exactly as they'd do on a bigger screen, it's the scaling up that is the problem, isn't it? Are you saying that renpy is bad at scaling down, too? Is there any way to make different assets for different screens, like it's possible in CSS?
< < insert Rick Cook quote here > >
-
- Regular
- Posts: 45
- Joined: Thu Dec 06, 2018 3:23 am
- Contact:
Re: 2160p/4k?
Surely I'm not the only one who has pondered about screen sizes. I want it to look perfect both on 1440p and 720p. How do I achieve that? Is there some kind of CSS-style definition for different screen sizes?Ocelot wrote: ↑Wed Jan 18, 2023 6:28 pm Scaling down often introduces moire patterns: https://en.wikipedia.org/wiki/Aliasing (check images on the right)
I cannot reply to messages anymore.
> Your IP has been blocked because it is blacklisted.
> Your IP has been blocked because it is blacklisted.
- Zetsubou
- Miko-Class Veteran
- Posts: 522
- Joined: Wed Mar 05, 2014 1:00 am
- Completed: See my signature
- Github: koroshiya
- itch: zetsuboushita
- Contact:
Re: 2160p/4k?
Renpy's Patreon article for October 2022 mentions the addition of image oversampling, which would let you do this.OrsonDeWitt wrote: ↑Thu Jan 19, 2023 7:47 am Surely I'm not the only one who has pondered about screen sizes. I want it to look perfect both on 1440p and 720p. How do I achieve that? Is there some kind of CSS-style definition for different screen sizes?
You'd make your game in 720p, then also provide 1440p images to be used if the person is playing at a higher resolution, and Renpy would use whichever is appropriate.
But I don't believe that's been released or documented yet. I can only find mention of it in that patreon article.
Another option would be creating your own screen resolution preference and defining your images and screens based on that preference.
That's not automatic though. The player would be changing the config themself manually, and you'd need to do a bunch of extra coding.
Finished games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails
Working on:
Sable's Grimoire 2
https://zetsubou.games
-My games: Sickness, Wander No More, Max Massacre, Humanity Must Perish, Tomboys Need Love Too, Sable's Grimoire, My Heart Grows Fonder, Man And Elf, A Dragon's Treasure, An Adventurer's Gallantry
-Commissions: No One But You, Written In The Sky, Diamond Rose, To Libertad, Catch Canvas, Love Ribbon, Happy Campers, Wolf Tails
Working on:
Sable's Grimoire 2
https://zetsubou.games
Who is online
Users browsing this forum: Ahrefs [Bot]