Play tool
TweetTweet Cart Sprite Generator's itch.io pageHow many characters of code did you use?
549
Include your code here, if you'd like to show it off!
i=64z=(rnd()*50)\1+16r=(rnd()*50)\1+17c=5p=12::_::cls()pal()b=btnp()
if(b&16>0)m=not m
if m then
if(b>0)c+=b\2%2-b%2p+=b\8%2-b\4%2
else
if(b>0)z+=b\2%2-b%2r+=b\8%2-b\4%2
end
?"spr",0,0,m and 5or 7
?"⬅️➡️pow:"..z,0,7
?"⬆️⬇️mod:"..r,0,14
?"pal",i,0,m and 7or 5
?"⬅️➡️num:"..c,i,7
?"⬆️⬇️off:"..p,i,14
for n=0,999do poke(n,n^z%r)pal(n,n%c+p)end
for n=0,i do x=1+n%8*16y=32+(n\8)*12spr(n,x,y)spr(n,x,y,1,1,1)end
s="for n=0,999do poke(n,n^"..z.."%"..r..")pal(n,n%"..c.."+"..p..")end"pal()
?"🅾️mode",0,88,7
?"❎copy lua",0,96
if(b&32>0)printh(s,"@clip")
flip()goto _
Leave a comment
Log in with itch.io to leave a comment.
Comments
No one has posted a comment yet