aboutsummaryrefslogtreecommitdiff
path: root/carts
diff options
context:
space:
mode:
authorNicholas Rodrigues Lordello <[email protected]>2026-10-13 09:56:30 +0200
committerNicholas Rodrigues Lordello <[email protected]>2026-10-13 09:56:30 +0200
commitb5cc8d759a09ad2754efb671dc1af12d52fc542e (patch)
tree8f2731fefaaa7b2afdfdbd80a768b72172b5a6c0 /carts
parente06434fd89345fdc4e931f6fa3904626d75097db (diff)
Added Debug Stats
We now print debug stats (ATM, just FPS) overlaying the actual game. We use the PICO-8 font to keep things consistent; I probable should choose a better color though...
Diffstat (limited to 'carts')
-rw-r--r--carts/font.p888
1 files changed, 88 insertions, 0 deletions
diff --git a/carts/font.p8 b/carts/font.p8
new file mode 100644
index 0000000..4f7da42
--- /dev/null
+++ b/carts/font.p8
@@ -0,0 +1,88 @@
+pico-8 cartridge // http://www.pico-8.com
+version 43
+__lua__
+poke(0x5f55,0x00)
+cls(0)
+for j=0,7 do
+ for i=0,31 do
+ x=i*4
+ y=j*8
+ c=i+j*32
+ if c<32 or c>126 then
+ fillp(0b1010010010100100)
+ rectfill(x,y,x+2,y+4,0x70)
+ fillp(0)
+ else
+ if c>64 and c<91 then
+ c+=32
+ elseif c>96 and c<123 then
+ c-=32
+ end
+ print(chr(c),x,y,7)
+ end
+ end
+end
+poke(0x5f55,0x60)
+cstore()
+__gfx__
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000700707070707770707077000700070007007070000000000000000000707770770077707770707077707000777077707770000000000070000070007770
+00000700707077707700007077007000700000700700070000000000000007007070070000700070707070007000007070707070070007000700777007000070
+00000700000070700770070007700000700000707770777000007770000007007070070077700770777077707770007077707770000000007000000000700770
+00000000000077707770700070700000700000700700070007000000000007007070070070000070007000707070007070700070070007000700777007000000
+00000700000070700700707077700000070007007070000070000000070070007770777077707770007077707770007077700070000070000070000070000700
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+07007770777007707700777077700770707077707770707070007770770007707770070077700770777070707070707070707070777077007000077007000000
+70707070707070007070700070007000707007000700707070007770707070707070707070707000070070707070707070707070007070000700007070700000
+70707770770070007070770077007000777007000700770070007070707070707770707077007770070070707070707007007770070070000700007000000000
+70007070707070007070700070007070707007000700707070007070707070707000770070700070070070707770777070700070700070000700007000000000
+07707070777007707770777070007770707077707700707077707070707077007000077070707700070007700700777070707770777077000070077000007770
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007700700770000007070
+00700770770007707700777077700770707077707770707070007770770007700770070077000770777070707070707070707070777007000700070000700700
+00007070770070007070770077007000707007000700770070007770707070707070707070707000070070707070707007007770007077000700077077707070
+00007770707070007070700070007070777007000700707070007070707070707770770077000070070070707770777007000070700007000700070070000700
+00007070777007707700077070007770707077707700707007707070707077007000077070707700070007700700777070707700777007700700770000007070
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070
+07000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700070007000700
+70707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070