Quote: "If you use
SET BITMAP FORMAT 21"
same results, it is transparent but the black feathering is a bit bulky.
----
Well I understand what is going on now; leaves the possibility of 2 options, with coords or not...
Plus probably a good idea to use the atlas txt for any large number of non animating sprites...
----
Not sure why the bottom 3 sprites are not showing with baxslashes code???
loadImage(1,"mainball2-0001.png")
loadImage(2,"mainball2-0002.png")
loadImage(3,"mainball2-0003.png")
loadImage(4,"mainball2-0004.png")
loadImage(5,"mainball2-0005.png")
loadImage(6,"mainball2-0006.png")
loadImage(7,"mainball2-0007.png")
loadImage(8,"mainball2-0008.png")
loadImage(9,"mainball2-0009.png")
loadImage(10,"mainball2-0010.png")
loadImage(11,"mainball2-0011.png")
loadImage(12,"mainball2-0012.png")
loadImage(13,"mainball2-0013.png")
loadImage(14,"mainball2-0014.png")
loadImage(15,"mainball2-0015.png")
dw# = getDeviceWidth()
dh# = getDeviceHeight()
w# = 64
h# = 64
width# = (w#/dw#)*100.0
height# = (h#/dh#)*100.0
x# = 0
y# = 0
spr = createSprite(0)
for i=1 to 15
setSpriteImage(spr,i)
setSpriteSize(spr,width#,height#)
setSpritePosition(spr,x#,y#)
x# = x# + width#
if x#>width#*4
x# = 0
y# = y# + height#
endif
drawSprite(spr)
next
i = getImage(0,0,width#*4,height#*4)
saveImage(i,"spritesheet.png")
end