Sprite Masking

new topic     » topic index » view thread      » older message » newer message

Does anyone know how sprites using masks work?
Also how can I use Euphoria to draw them?
I am looking for alternatives to the simple:

if pixel_color = clear_color then
    --Don't draw it
else
    --Draw it
end if


This is slow because it requires that you cycle through
and examine each pixel in the image.

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu