commit 505406598894fe38b02fe5a1ff6c130c756062c8 Author: Bozarre Date: Sun Dec 28 16:03:22 2025 +0100 init diff --git a/choco.lua b/choco.lua new file mode 100644 index 0000000..1a4bf4d --- /dev/null +++ b/choco.lua @@ -0,0 +1,17 @@ + +function _init() + -- always start on white + col = 7 +end + +function _update() + -- press x for a random colour + if (btnp(5)) col = 8 + rnd(8) +end + +function _draw() + cls(1) + circfill(64,64,32,col) + spr(1,64,64, 2,2) +end + diff --git a/choco.p8 b/choco.p8 new file mode 100644 index 0000000..481f713 --- /dev/null +++ b/choco.p8 @@ -0,0 +1,19 @@ +pico-8 cartridge // http://www.pico-8.com +version 43 +__lua__ +#include choco.lua + +__gfx__ +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000007700000077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00700700007700000077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00077000007c0000007c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00077000007700000077000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00700700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000000880000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000088888800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 +00000000000008888000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000