Hello, I have the following code which draws a layer of sprites, then draws another layer on top of them. But whenever I blit the second lot of sprites, it doesn't display them properly. I get this which I'm not expecting.
If I remove the second DXS BEGIN RENDER SPRITE section I get this as expected:
Also, how do I tell AdvancedSprites that my tileset has an alpha channel?
Here is my code:
if CURRENT_STATE$ = "GAME"
DXS BEGIN SPRITE RENDER TILESLA
for y=0 to 19
for x=0 to 19
DXS DRAW SPRITE TILE TILESLA,LAYER1(x+1,y+1),(32*x)+10,(32*y)+10
next x
next y
DXS END SPRITE RENDER TILESLA
DXS BEGIN SPRITE RENDER TILESLB
for y=0 to 19
for x=0 to 19
DXS DRAW SPRITE TILE TILESLB,LAYER2(x+1,y+1),(32*x)+10,(32*y)+10
next x
next y
DXS END SPRITE RENDER TILESLB
SYNC
endif
Does the AdvancedSprites developer still come here?
http://feedit.me - Live feed platform, useful for events and shows!