Log In  

I need to use black in some sprites, how do I do that?

P#44773 2017-09-30 13:09 ( Edited 2017-09-30 17:39)

:: solar



just before you try to do that.

palt c t

    Set transparency for colour index to t (boolean)
    Transparency is observed by spr(), sspr() and map()
    e.g. palt(8, true) -- red pixels not drawn
    palt() resets to default: all colours opaque except colour 0

P#44774 2017-09-30 13:39 ( Edited 2017-09-30 17:39)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-10-06 03:11:39 | 0.004s | Q:7