You can GET 17 Colors I makecode ?!?!?!πŸ™€

Eventually

1 Like

… how do I get to edit the view-only files in the editor?

1 Like

@Salex that’s not something you can do in the editor

The only way to do this would be to fork the pxt-arcade repo on GitHub, which I would not recommend doing.

2 Likes

I believe for the Adafruit PyGamer, it uses the ST7735R TFT driver, which has 16 bit colors. I think it would be a reasonable assumption that the rest of the devices Arcade support has 16 bit color support in hardware.

1 Like

well, no, not technically. The black is the default color for transparent with nothing behind it; in other words the transparent IS black, and black IS transparent.

3 Likes

If you have 2 sprites on top of each other, there kind of is transparent. You could also keep an array of all the images so that you can loop through the array and set a pixel to transparent at the same spot related to the screen to get black at that pixel. So there is transparent and black.

2 Likes

Yes, but you couldn’t ever use black.

1 Like

transparent over color = color. transparent over background (transparent) = black. It would be hard and maybe slow, but defidently doable.

2 Likes