- Jun 3, 2017
- 5,132
- 27,267
I've had a look (honest!) but can't seem to find a pre-existing answer to this one...
So, I've had small animations in the second chapter of my game but they were quite simple and I was able to get them in the old Renpy machine by simply adding them the frames as scenes and sticking a 0.1 delay in between them all. So far, so simple and it worked nicely enough.
For Chapter Three I've pushed the boat out a bit and have three animations of several hundred frames each. (my patrons bought me a new graphics card so...seemed only right to use it!). OK, all very nice, but why am I telling you all this?![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Because it's dawned on me (yes, only just now...) that given I usually have around 500-600 images per monthly release, I'm going to be doubling my file size this month if I do it the way I usually do. Now, this doesn't seem like that should be the case and I suspect that there's a more efficient way of getting these animations in that doesn't involve whomping up the download size by an extra 400-500mb.
So...my question is, how do I drop animations into renpy in the smallest Mb size possible without losing graphical quality? Any answers gratefully accepted. Thanks![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
So, I've had small animations in the second chapter of my game but they were quite simple and I was able to get them in the old Renpy machine by simply adding them the frames as scenes and sticking a 0.1 delay in between them all. So far, so simple and it worked nicely enough.
For Chapter Three I've pushed the boat out a bit and have three animations of several hundred frames each. (my patrons bought me a new graphics card so...seemed only right to use it!). OK, all very nice, but why am I telling you all this?
Because it's dawned on me (yes, only just now...) that given I usually have around 500-600 images per monthly release, I'm going to be doubling my file size this month if I do it the way I usually do. Now, this doesn't seem like that should be the case and I suspect that there's a more efficient way of getting these animations in that doesn't involve whomping up the download size by an extra 400-500mb.
So...my question is, how do I drop animations into renpy in the smallest Mb size possible without losing graphical quality? Any answers gratefully accepted. Thanks