Closed slinga-homebrew closed 3 years ago
Hi,
I'm using IrfanView :
And yes, you can select the index int the palette that should be transparent (0 to 255). Just replace JO_COLOR_Transparent by a number like 42 and see
Thanks, i will try Irfan Viewer.
Hi Johannes,
I'm trying to understand the 8bit TGA demo. What tool did you use to create the TGA? I am trying with GIMP and it's creating 256 color indexes. Is it possible to use 8bpp and have transparencies?
66 // Load a 8 bits ▲ 255 colors (MAX) NOT 256 or it will glitch! ▲ TGA 67 // Instead of JO_COLOR_Transparent, you can pass an index on your palette 68 jo_sprite_add_tga("TEX", "SON8.TGA", JO_COLOR_Transparent);