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
(1)
AuthorMBoffin
GenreEducational
Made withPICO-8
TagsPICO-8, sourcecode

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.

Download

Download
fill_patterns.p8.png 7 kB