Is it possible to have too many images?
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.
Is it possible to have too many images?
Most of the sprites, backgrounds and CGs in my VN have some simple animation. And with ATL, every frame is an individual image. I don't really mind this but I'm wondering if it could potentially cause problems, with storage or something else, to have hundreds of images in one game.
- hell_oh_world
- Miko-Class Veteran
- Posts: 777
- Joined: Fri Jul 12, 2019 5:21 am
- Contact:
Re: Is it possible to have too many images?
yes, you can. I've seen games with even 1k~2.5k images per update.
the biggest game I've seen was around 20gb.
the problems that it may entail really depend on how well the game was optimized, whether the devs compressed/downsized the images themselves, and other resources. otherwise, it could potentially slow down the load times as renpy caches the images that you have afaik.
the biggest game I've seen was around 20gb.
the problems that it may entail really depend on how well the game was optimized, whether the devs compressed/downsized the images themselves, and other resources. otherwise, it could potentially slow down the load times as renpy caches the images that you have afaik.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Is it possible to have too many images?
?
I thought Ren'Py had a soft upper size limit of 2GB.
A few examples to demonstrate what I mean:
viewtopic.php?f=8&t=36047&p=395814#p395814
viewtopic.php?f=8&t=44383&p=456896#p456896
viewtopic.php?f=51&t=47328&p=479362#p479362
viewtopic.php?f=8&t=49794&p=485823#p485823
viewtopic.php?f=8&t=30346&p=356252#p356252
@OP, you could use something like layered image, which would make your game more efficient, if most of your images use a common base you can simply store the rest of your variations as small images such as face happy, face sad, etc and cut your game's size down by a large percent.
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
- hell_oh_world
- Miko-Class Veteran
- Posts: 777
- Joined: Fri Jul 12, 2019 5:21 am
- Contact:
Re: Is it possible to have too many images?
And I think what you're talking about is the limit for apks on Android. Nonetheless, that issue is still solvable using expansion apks (stated in the link), if I understood it correctly.
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3794
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: Is it possible to have too many images?
Ah okay that makes sense then. I wasn't sure which is why I asked. Thanks.
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
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: Is it possible to have too many images?
The android limit is pretty hard, sort of downloading image files yourself. Everything else should be capable of dealing with unlimited images.
Note that there is a limit on how many images can be loaded into memory at once without running into problems - each pixel of the uncompressed image takes about 4 bytes of video memory and ram, so it's possible for systems to run out.
Note that there is a limit on how many images can be loaded into memory at once without running into problems - each pixel of the uncompressed image takes about 4 bytes of video memory and ram, so it's possible for systems to run out.
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?)
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users