Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 864 Bytes

Readme.md

File metadata and controls

26 lines (18 loc) · 864 Bytes

pico-snippets

Drop-in snippets for your PICO-8 game. Just copy and paste!

animation of pasting snippet into PICO-8

Snippets

Snippet Description
buttons.lua Enum for btn() numbers.
colors.lua Enum for color() numbers.
gravy.lua Gravity class.
look_at.lua WIP util for constructing a LookAt transformation.
pline.lua line(), but for perspective projected lines.
ppset.lua pset(), but for perspective projected points.
project.lua (deprecated) Perspective projection utility.
vec3.lua 3D vector class.

Testing

There aren't any unit tests or anything. Feel free to copy and paste directly into a fresh instance of PICO-8, and try things out there!

License

MIT