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.
- Host: GitHub
- URL: https://github.com/nucleartide/pico-snippets
- Owner: nucleartide
- License: mit
- Created: 2018-05-01T09:35:17.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-03T21:43:48.000Z (over 5 years ago)
- Last Synced: 2026-03-28T01:32:03.004Z (2 months ago)
- Topics: game-development, lua, pico-8, snippets
- Language: Lua
- Size: 108 KB
- Stars: 14
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: License.md
Awesome Lists containing this project
README
# pico-snippets
Drop-in snippets for your PICO-8 game. Just copy and paste!

## 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