Log In  
PICO-8
FAQ
Resources
Schools
Submit
Forum
Carts
PICO-8
FAQ
Resources
Schools
Submit
Forum
Carts
Log In  
User:
Password:
New User
|
Account Help
BBS
>
PICO-8
>
Code Snippets
Cartridges:
Releases
|
Work in Progress
Community:
Collaboration
|
Jam
|
Blogs
Snippet Library:
Code
|
GFX
|
SFX / Music
Support:
Tutorials
|
Workshop
|
Chat
|
Bugs
Reusable snippets of code and mini-libraries that can be pasted into cartridges.
<
Page 2
>
New Thread Activity
Search:
Search:
Map-Collision Example
Helpful functions for auto-sizing text boxes
TBJ 2023 Font Loader
Counting the set bits in a number
GL2D (ALPHA)
Rightmost bit is left, right ?
This one weird trick will make your platformer better!
ilo sitelen pona
Instant 3D plus!
binary table serializer and deserializer
Local Fill Pattern - Function
Halloween one-liner
Dynamic loops for music playing (song mode)
Sort Favorites in Splore Alphabetically
Useful Pico-8 functions
Show custom books as a readable ingame book
STRDSUM() [Summation by String]
Animation Operators
Simple CRT Filter
Persistent High Score Table Demo
DBG() [Displays any timing debugging value]
AMID() [Returns the median positive and negative]
HTD() [Split a continuous string of hexadecimal numbers]
ECPALT() [set transparency from palette table]
MKPAL() [Create a color swap table]
TTABLE() [TRUE returns it as a table, and makes a TABLE judgment]
REPLACE() [Perform string substitutions]
Versawriter-8: a simple vector drawing program
Sprite stacking example
pico-8 image files (.p8i)