Sprites

BlitzMax Forums/BlitzMax Beginners Area/Sprites

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

So I drew the background firsrt, and still mask does nothing. Now I just have a lil white 64x64 square movin around.

SetMaskColor 255,255,255
Local Background:TBackground = TBackground.Create("background.png",0,0)
SetMaskColor 0,0,0
Local Player:THero = THero.Create("guywalking.png",15,142)

That's the closest I got to what I wanted, but still, that creates a 64x64 square of vision around my player, so the rest of the map is invisible.

Sorry if this is some reall basic error I'm making, and thank you so much for your help.