I've been setting up a small framework for rendering positionable and animated graphics onto a <canvas>
element - primarily to help my understanding of it.
I downloaded a random sprite sheet off the internet for testing - it has a transparent background which seems to render fine in Chrome, on my iPhone and Safari.
This is the demo: http://martywallace.com/simplecanvas/
In Firefox however the transparent sections of the sprite load as white, which ends up looking like this:
Is there a Firefox-specific way to enable transparency, or is it not supported?
Here's what has happened [stupidity disclaimer]
:
Result: Firefox renders transparent PNGs fine - happy with this question being closed as "too localized".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With