Skip to content

Drop-in snippets for your PICO-8 game.

License

Notifications You must be signed in to change notification settings

nucleartide/pico-snippets

Repository files navigation

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

About

Drop-in snippets for your PICO-8 game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages