
I don't know i am mistaken. Can somebody help me??
If this is correct, I have a second problem. In animated simple sprite example, sprite information is stored in a u16 collection of data, but this data is copied to Vram using a u8 pointer. If palette made of 256 colors, i need a u8 type to save a number between 0 and 255. Why in that example take tiles of sprite with a u16 (for 0 to 256 palette index) and after that copy it using a u8 pointer?. Thanks