Slashed Res
This is something I'm actively working on.
I am trying to make a shmup or just a graphics library that I can use for other projects.
the movement is what you'd expect and (❎)(🅾️) go between the different quarters of a sprite.
This code snippet is the method I made to quarter sprites.
--show a quarter of a sprite --only works for the first row (lazy) function qspr(sn,qn,x,y) local a=0 if(qn>2) a=4 sspr(sn*8 + ((qn+1)%2 * 4),a,4,4,x,y) end |
This is the placeholder/guide sprite that I used to show what quarter you're on
[8x8] | |