Hello all!
I'm putting some standing pictures in my game which will be animated constantly. For example, a picture of my character will constantly be in the corner of the screen doing a breathing loop, she'll play a little recoil if she gets hit by an attack, maybe some laughing animations when something funny happens, etc.
The point is my game will have quite a few animations running in the background at all times. Pretty big ones too. My game is going to be full HD (1920x1080). So we're talking like 500x500 size image frames. So they're not tiny little pixel animations and I'd like to optimize it as much as possible.
I have 2 options before me (as an example, I'll consider each picture frame to be 500x500 and an animation to be 50 frames long):
1. Make 20 different .png files each 500x500 and use the show picture command alongside the wait command to position them where I want them and play at the framerate that I want. (i.e. RPGMaker will need to load 50 small separate pictures).
2. Make a gigantic spritesheet (in this case around 3500x3500) and use Yanfly's picture spritesheet plugin commands to play the same animation, but instead referencing segments of the giant spreadsheet, once again making use of interspaced wait commands to control the framerate. (i.e. RPGMaker will load one very large picture and Yanfly's plugin will repeatedly reference different areas of the spritesheet).
Both options would accomplish the same thing - playing an animation on the screen. Which one would take less system resources on the average device? Would the answer change if it were, say, 5000 small pictures vs. a 35000x35000 spritesheet? Would it be the same with loops? (i.e. if I'm using an animation loop, would RPGMaker have to repeatedly load the same pictures over and over and would that be significant enough to be worse than the Yanfly plugin equivalent?)
Thank you for your time!
I'm putting some standing pictures in my game which will be animated constantly. For example, a picture of my character will constantly be in the corner of the screen doing a breathing loop, she'll play a little recoil if she gets hit by an attack, maybe some laughing animations when something funny happens, etc.
The point is my game will have quite a few animations running in the background at all times. Pretty big ones too. My game is going to be full HD (1920x1080). So we're talking like 500x500 size image frames. So they're not tiny little pixel animations and I'd like to optimize it as much as possible.
I have 2 options before me (as an example, I'll consider each picture frame to be 500x500 and an animation to be 50 frames long):
1. Make 20 different .png files each 500x500 and use the show picture command alongside the wait command to position them where I want them and play at the framerate that I want. (i.e. RPGMaker will need to load 50 small separate pictures).
2. Make a gigantic spritesheet (in this case around 3500x3500) and use Yanfly's picture spritesheet plugin commands to play the same animation, but instead referencing segments of the giant spreadsheet, once again making use of interspaced wait commands to control the framerate. (i.e. RPGMaker will load one very large picture and Yanfly's plugin will repeatedly reference different areas of the spritesheet).
Both options would accomplish the same thing - playing an animation on the screen. Which one would take less system resources on the average device? Would the answer change if it were, say, 5000 small pictures vs. a 35000x35000 spritesheet? Would it be the same with loops? (i.e. if I'm using an animation loop, would RPGMaker have to repeatedly load the same pictures over and over and would that be significant enough to be worse than the Yanfly plugin equivalent?)
Thank you for your time!