Resources

Sprites

Downloadsprite_desaturate(sprite)   Converts a sprite to grayscale. Downloadsprite_edit_begin(sprite)   Begins a sprite editing session. Drawing commands are directed to an editable sprite until companion function sprite_edit_end() is called. Downloadsprite_edit_end(session)   Ends a sprite editing session, altering the graphics of the original sprite. Downloadsprite_invert_color(sprite)   Inverts the colors of a given sprite. Downloadsprite_replace_color(sprite,oldcolor,newcolor)   Replaces one color in a given sprite for another color. Downloadsprite_replace_color_blend(sprite,oldcolor,newcolor,trancolor,htol,stol,vtol,blend)   Creates a new sprite from a given sprite, replacing one color for another with optional color blending.

Comments? Click to Comment