Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: souvik1997 on June 16, 2010, 07:48:51 pm
-
What would be the size of an 8x8 sprite in an axe program?
-
like.. in pixels? 64 ... number of bytes? 8. number of hex pairs? 8. number of hex digits? 16.
[FFFFFFFFFFFFFFFF]
^this is a black square. there are 16 F's.
-
1 byte = 8 bits
1 bit = 1 pixel
Need 64 pixels
Therefore: Size = 64/8 = 8 bytes
-
Thanks. I wanted it in bytes.
-
64 pixels = 16 hex characters = 8 bytes = 64 bits = 64 pixels
:D
-
Also, a grayscale sprite is composed of two sprites, so it would be 16 bytes. Just adding to the discussion in case somebody would want to know how big they are, since they are different size than in BASIC