How do you display sprites from appvars in ice
I have 5 sprites in a appvar and I need to display them.
I have 5 sprites in a appvar and I need to display them.
sum(1,"appvar name","r")→SPRTVAR // Opens the appvar slot for reading
sum(5,SPRITEA,1,/*(width*height)+2*/,SPRTVAR) // Reads the first sprite into SPRITEA
sum(5,SPRITEB,1,/*(width*height)+2*/,SPRTVAR) // Reads the second sprite into SPRITEB
sum(5,SPRITEC,1,/*(width*height)+2*/,SPRTVAR) // Etc.
sum(5,SPRITED,1,/*(width*height)+2*/,SPRTVAR)
sum(5,SPRITEE,1,/*(width*height)+2*/,SPRTVAR)
sum(3,SPRTVAR) // Closes the appvar slot
sum(0
det(0
sum(1,"CLASHLOG","r")->SLOT
sum(5,ºMAINPLAY,1,6582,SLOT
det(62,MAINPLAY,0,0,3,3
Pause
det(1
sum(0
sum(0
det(0
sum(1,"CLASHLOG","r")->SLOT
sum(5,ºMAINPLAY,1,6582,SLOT
det(62,MAINPLAY,0,0,3,3
Pause
det(1
sum(0
sum(0
det(0
sum(1,"CLASHLOG","r")->SLOT
sum(5,ºMAINPLAY,1,6582,SLOT
det(62,°MAINPLAY,0,0,3,3
Pause
det(1
sum(0
Advertisement