nucleartide / pico-snippets

Drop-in snippets for your PICO-8 game.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

License:MIT License


Languages

Language:Lua 100.0%