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.
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.