Garhoogin / NitroPaint

General Purpose DS Sprite, BG, and Texture Editor
BSD 2-Clause "Simplified" License
61 stars 5 forks source link

First Color Always Transparent #5

Closed opiter09 closed 2 years ago

opiter09 commented 2 years ago

As these pictures illustrate, the first color of a palette is always treated as transparent, even when it is clearly being used by the image. In the case of LEGO Battles, this seems to be resolvable by just only making the first color transparent if it is good old 255-0-255, but of course that might not work for every game. Maybe there could be a switch of some sort to let the user decide whether the first color needs to be transparent or not? Screenshot (454) Screenshot (455)

Garhoogin commented 2 years ago

A couple of versions ago I encountered some other games that used the first color in the palette for something non-transparent (think it was Time Ace), so I did include an option to view those graphics with the first color not treated as transparent, it should be in under View->Render Transparency. It can be selected from any context, but only applies to graphics for the 2D engine. Hope this works for you.

opiter09 commented 2 years ago

Oh wow, I totally missed that lol. It works great, so sorry about this.