I need additive blend for an explosion sprite, and I am looking foran easy way to do it.
I thought I could get the image data of the background sprite and add pixelbby pixel, but it would be slow. I know there must be a simpler way... Does anyone know how to do it?
Thanks in advance for your help
The forum is read-only. New threads, replies and edits are disabled.
Blend additive
Hi Nico
You can do this:
sprite.setDrawFunction(wade.drawFunctions.composite_('lighter', sprite.draw));
