diffuse sprite

Previous topic - Next topic


Unless there's already a way to change to the change the overall tint of a sprite.

Kitty Hello

no, there's not. You want to fade to grey, right?
Way is:
-convert pixels to greyscale
-MEM2SPRITE (to new sprite slot)
-fade from colourd sprite to greyscale sprite:
for pos = -0.01 to -1 step -0.1 // better with timer
alphamode pos
drawsprite grey, 0,0
alphamode -1-pos
drawsprite colour
-free temp, grey sprite: grabsprite grey, 0,0,0,0