http://darkbasicpro.thegamecreators.com/?m=forum_view&t=20513&b=4
for x=0 to screenwidth/tilewidth
for y=0 to screenheight/tileheight
if maparray(x,y,1)<>0 then
placesprite(x,y,map(x,y,1))
next y
next x
for x=0 to screenwidth/tilewidth
for y=0 to screenheight/tileheight
if maparray(x,y,2)<>0 then
placesprite(x,y,map(x,y,2))
next y
next x
Why?
Well, if I place them as sprites, from what I can make out, these sprites would be classed as 3d sprites, and as such you could create a tile based system, yet have some lighting overhead or even some simple bas-relief to the edges!
Can something like this be done, and if so, what speed issues would there be? Surely this would also be a good sprite-to-sprite collision system in a tile based system.
~ J ~