Fill Patterns

This cart is to demonstrate how the PICO-8 fill pattern function works. You can also use it to try out different fill patterns.

Notes: The fillp() function takes a 16-bit number to represent the pattern. The 16-bit number are the 16 pixels of a 4x4 grid, with each bit as one pixel. Once set, you can use a two-digit hexadecimal number to represent the two colors of the fill pattern. If you add .1 to the end of the 16-bit pattern number, the first color in the pattern (represented by 0's) becomes transparent.

StatusIn development
CategoryOther
PlatformsHTML5
Rating
Rated 4.0 out of 5 stars
(2 total ratings)
AuthorMBoffin (Dylan Bennett)
GenreEducational
Made withPICO-8
TagsPICO-8, sourcecode

Download

Download
fill_patterns.p8.png 7 kB

Install instructions

Save this file to your PICO-8 carts folder. Then load it by typing load fill_patterns in the command line mode of PICO-8.