An open API service indexing awesome lists of open source software.

https://github.com/nucleartide/pico-snippets

Drop-in snippets for your PICO-8 game.
https://github.com/nucleartide/pico-snippets

game-development lua pico-8 snippets

Last synced: 2 months ago
JSON representation

Drop-in snippets for your PICO-8 game.

Awesome Lists containing this project

README

          

# 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