Would it be possible to give the Adafruit GFX library an extra option for copying RGB bitmaps?
Now you need to do this if you want to do it with transparancy:
Code: Select all
tft.drawRGBBitmap(spriteX,spriteY,spriteBM,spriteMask,8,8);
Code: Select all
uint16_t maskedColor=0x0000;
tft.drawRGBBitmap(spriteX,spriteY,spriteBM,maskedColor,8,8);