../
kernel
functions
add
all
apply_delta
assert
atan2
btn
btnp
camera
cd
char
chooser
circ
circfill
clip
cls
color
cos
count
cp
create_delta
create_gui
create_process
cursor
date
del
deli
env
error
exit
fetch
fetch_metadata
fget
fillp
foreach
fset
fstat
fullpath
get_clipboard
get_display
get_draw_target
get_spr
include
input
key
keyp
line
ls
map
max
memcpy
memmap
memset
menuitem
mget
mkdir
mouse
mouselock
mset
music
mv
note
on_event
open
oval
ovalfill
peek
peek2
peek4
peek8
peektext
pget
pid
pod
poke
poke2
poke4
poke8
printh
pset
pwd
readtext
rect
rectfill
rm
rrect
rrectfill
scoresub
send_message
set_clipboard
set_draw_target
set_spr
sfx
sin
socket
split
spr
sspr
stat
stop
store
store_metadata
sub
time
tokenoid
type
unmap
unpod
userdata
vec
vid
window
fillp(p)
Overview
Set a 4x4 fill pattern using PICO-8 style fill patterns.
p is a bitfield in reading order starting from the highest bit.
This affects circ, circfill, oval, ovalfill, rect, rectfill, pset, line.
Fill patterns in Picotron are 64-bit specified 8 bytes from 0x5500, where each byte is a row (top to bottom) and the low bit is on the left.
Arguments
p: bitfield
A bitfield in reading order starting from the highest bit
Examples
Sourced from the Picotron Manual
Draw a red (colour 8) rounded rectangle 40 pixels wide and 30 pixels talls with 3 pixels missing at each corner (radius 2):
rrectfill(100,50,40,30,2,8)
fillp(1,2,3,4,5,6,7,8)
Overview
Sets a 8x8 fill pattern. This affects circ, circfill, oval, ovalfill, rect, rectfill, pset, line.
To define an 8x8 with high bits on the right (so that binary numbers visually match), fillp can be called with 8 arguments.
Arguments
1: bitfield
Bitfield with high bits on the right
2: bitfield
Bitfield with high bits on the right
3: bitfield
Bitfield with high bits on the right
4: bitfield
Bitfield with high bits on the right
5: bitfield
Bitfield with high bits on the right
6: bitfield
Bitfield with high bits on the right
7: bitfield
Bitfield with high bits on the right
8: bitfield
Bitfield with high bits on the right
Examples
Sourced from the Picotron Manual
fillp(
0b10000000,
0b01011110,
0b00101110,
0b00010110,
0b00001010,
0b00000100,
0b00000010,
0b00000001
)