Omnimaga

Calculator Community => TI Calculators => Axe => Topic started by: souvik1997 on June 16, 2010, 07:48:51 pm

Title: Size of sprite
Post by: souvik1997 on June 16, 2010, 07:48:51 pm
What would be the size of an 8x8 sprite in an axe program?
Title: Re: Size of sprite
Post by: nemo on June 16, 2010, 07:50:47 pm
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.
Title: Re: Size of sprite
Post by: Quigibo on June 16, 2010, 07:52:33 pm
1 byte = 8 bits
1 bit = 1 pixel
Need 64 pixels

Therefore: Size = 64/8 = 8 bytes
Title: Re: Size of sprite
Post by: souvik1997 on June 16, 2010, 07:57:44 pm
Thanks. I wanted it in bytes.
Title: Re: Size of sprite
Post by: ztrumpet on June 16, 2010, 09:34:20 pm
64 pixels = 16 hex characters = 8 bytes = 64 bits = 64 pixels
:D
Title: Re: Size of sprite
Post by: DJ Omnimaga on June 17, 2010, 12:52:07 am
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