By using this site, you agree to our Privacy Policy and our Terms of Use. Close
caffeinade said:
Zkuq said:

Exactly. I imagine 2D animation is much cheaper computationally but more expensive memory-wise. Of course memory usage depends on other factors too. 2D games are often more simplistic graphically, which could still make them use less memory because of more efficient compression or lower resolution graphics assets.

Storage space requirements for sprites are incredibly small.

A 24x32 pixel PNG can be as small as(or smaller depending on what the image is) 368 bytes.
Now that is just as a PNG, you can have custom formats that could be much smaller than that.
A FLIF file of the same image (just a quick conversion, I haven't played around with FLIF as much as PNG) is 215 bytes.
Both files are lossless (FLIF can do lossy too).

Just some cool information I wanted to share.

Huh, I've never heard of FLIF. I'm familiar enough with PNG though. Anyway, there are 2D games with higher resolution sprites as well (e.g. Cuphead), which is why I didn't say 2D games always use less memory. I reckon storage space requirements ever for large sprites with large areas with fairly uniform colours are much smaller than more realistic and varying sprites though. Suppose someone made a fairly realistic-looking 2D game with good animations, however, and I would expect it to use a fair amount of memory. Please do correct me if I'm wrong, of course!