haroldo-ok / BlocklyVN32X

A tool to create visual novels for the Sega 32X using Blockly. Work in progress.
Apache License 2.0
6 stars 1 forks source link

Certain transparent images cause the engine to fail drawing the transparent parts. #21

Open haroldo-ok opened 6 years ago

haroldo-ok commented 6 years ago

As reported by muzzy, some images may cause the transparent parts to not be drawn correctly, Attached example: test_transparency.vn32x.zip

haroldo-ok commented 6 years ago

Additional information: if the image is reduced to 256 colors before importing, the problem does not seem to happen. That's weird, since the tool is supposed to perform the color reduction automatically. Size does not seem to affect the bug, either.

haroldo-ok commented 6 years ago

'neuquant' seems to be reducing the colors correcly and keeping the transparency; by elimination, it looks like the problem lies either with 'apg' or 'sixpack'; failing that, maybe it could be something wrong with the display routine itself.