Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+4)

Hi AurySystem, just wondering if there is any way to make Sprites transparent? I have coded in BGC * where appropriate but when I download the Multicolor Bitsy Game HTML the same sprites that are showing with a transparent background in the editor window are no longer transparent when playing the game. I've checked and BGC * is still in the downloaded code, but not being applied.

Any ideas on how to get this to work?? Many many thanks!

(+1)

i'm having the same issue!! did you ever resolve it?

Have you figured out a fix?

(+1)

It's October 2025 and this is still an issue.

aprl 22 2026 and still an issue

I fixed it.  Bitsy color sets the tileColorStartIndex to 16. And so bitsy considers the color that is index 0 to be transparent. But when you set the index to 16, the color of the sprite that is supposed to be transparent is no longer i = 0, its i =16. But bitsy is still looking at i = 0 to be the transparency in sprites. I set tileColorStartIndex to 0 and my sprites' transparency worked as expected, but my text + text box palette started using my sprites' palettes. So colours i = 0-15 are in use. 

So I searched for the variable isTransparent and changed the (color === 0) to (color === 16) and that did it. Everything works as intended.