Quote
Originally posted by blackhole:
**Complicated bit:
Memory - Ships need to be loaded into memory if you're using them, so do all weapons, and to avoid game lag while firing something, they get cached so everything is in memory.
Now, look at the memory usage. Take an 8x8 rocket. At 8 bits each sprite takes 888 bits of memory, 512 bits, 64 bytes. It has 36 frames, making a total of 2304 bytes, or 2.25KB. At 16 bits it grows to 8816*36, 4.5KB, at 32 bits it is 9KB.
In other words, it doubles the size when you increase from 8 to 16 and 16 to 32. Now, if I increase the same thing to a 16x16 pixel ship, at 8 bits it is 9KB, at 16 it is 18 and at 32 it is 36, for a 32x32, it is 36, 72 and 144 KB. A 4-fold increase each time. Now multiply that by the number of ships and weapons in EV, and you see why EV:N doesnt have 32 bit sprites.
**
This is also assuming your only using ONE color.
As soon as you use more then one your size grows a bit more exponentially as the bit depths go up.
------------------
"I don't know the key to success, but the key to failure is to try to please everyone."
-Bill Cosby
Star Trek Escape Velocity
(url="http://"http://homepage.mac.com/startrekev/")http://homepage.mac.com/startrekev/(/url)