Hi,
I've split my character (for a
platform game intended for PC/Mac) down into separate sprites for the legs and body. I've probably gone a little overboard so I've ended up with a fairly large sprite set for the legs (running and walking on flat, shallow up, steep up, shallow down and steep down, crouching, standing etc). They won't fit onto a single 1024 x 1024 image and I've heard the following...
1. Images should be no larger than 1024 x 1024
2. Performance is best when sprites are made up from a single image (as frame changes are really just UV offsets) rather than adding frames to a sprite from multiple images.
So I have some choices as detailed below but not sure which is true/best...
A. Make the image that holds the sprite frames (legs) larger, for example 2048 x 2048 because the game is intended for PC/Mac rather than mobile and PC/Macs are fine with larger images.
B. Do have separate images because the performance hit is very small (or is it?) and larger images are a bad idea full stop.
C. Use different sprites (that are made from single images) and swap them out so I don't use images larger than 1024 AND I also don't use sprites that obtain their frames from multiple images.
So...which option out of A, B or C is best? Any insight appreciated!