Category: Images and Rendering
SetSpriteBlendMode(spriteReference As Integer, mode As Integer)
Void
Sets the blend mode stored on a sprite. Future DrawSprite calls for that sprite use the supplied mode for every frame in the sprite sheet.
The mode argument should be a value from Blend Mode Constants.
hero = LoadSprite("player.png", 32, 32)
SetSpriteBlendMode(hero, BLEND_ALPHA)
SetSpriteBlendMode(glowHero, BLEND_ADDITIVE)