Play game
Resist's itch.io pageHow many characters of code did you use?
410
Include your code here, if you'd like to show it off!
--resist --by superstart y=90 x=90 c=0 function _update() cls() print("score: "..c) if (btnp(4))then y=y-4end if (btnp(1))then x=x+4end if (btnp(0))then x=x-4end if x>115 or x<5 then stop("gameover",50,64)end if y>115 or y<8 then stop("gameover",50,64)end y=y+0.5 print("🐱",x,y,7) c=c+1end function _draw() srand(0) for i=1,100 do pset(rnd(127),(rnd(127) + t()*8) %128,1+3*rnd()*rnd())end srand(t())end
Leave a comment
Log in with itch.io to leave a comment.
Comments
nice job! I like the starfield