lil' pico-8 projeccts

Thu Sep 19 22:44:27 NZST 2024

Changed files
+13 -1
+13 -1
muncher.p8
··· 4 4 board_width=107 5 5 board_height=102 6 6 7 + muncher_x=17 8 + muncher_y=20 9 + move_right=0 10 + 11 + function _update() 12 + if btn(➡️) and move_right==0 then move_right=18 end 13 + if move_right>0 then 14 + muncher_x+=1 15 + move_right-=1 16 + end 17 + end 18 + 7 19 function _draw() 8 20 cls(1) 9 - spr(1,17,20) 21 + spr(1,muncher_x,muncher_y) 10 22 11 23 x1=(127-board_width)/2 12 24 y1=(127-board_height)/2