Skip to content

Instantly share code, notes, and snippets.

@pancelor
pancelor / instructions.md
Last active January 6, 2025 06:32
PICO-8 html template for nokiajam
@pancelor
pancelor / readme.txt
Created June 24, 2023 21:50
WIP - i'm being eaten by a boa constrictor! (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Created March 15, 2023 06:28
regression test: getTilesTraversingPoints test 2 (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@pancelor
pancelor / readme.txt
Created March 9, 2023 08:10
regression test: getTilesTraversingPoints infinite loop (Puzzlescript Plus Script)
Play this game by pasting the script in https://auroriax.github.io/PuzzleScript/editor.html
@pancelor
pancelor / lua-notes.md
Last active March 18, 2023 03:13
pancelor slapdash lua tutorial
@pancelor
pancelor / readme.txt
Created January 20, 2023 14:33
wall bevel code demo (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / README.md
Last active August 15, 2025 23:19
aseprite to pico8/picotron exporter

This Aseprite extension lets you copy images/subimages from Aseprite to PICO-8 or Picotron.

how to use

  1. save this script to your aseprite scripts folder (File > Scripts > Open Scripts Folder) then reopen aseprite (or click "Rescan Scripts")
  2. load an image with the picotron palette (or pico-8 extended palette)
  3. (optional) change the image's color mode to "indexed" (Sprite > Color Mode > Indexed)
    • if you skip this step, picotron will find the "closest" color for each pixel when you import. (but, the "closest" algorithm isn't very smart)
    • be sure aseprite's palette is in the right order! you can load the palette (above) into aseprite and then press the "remap colors" button that pops up
  4. launch this script, press "Copy" to copy to clipboard. (alt-c should work too)
@pancelor
pancelor / p64env.lua
Last active April 19, 2025 14:07
picotron API explorer
-- picotron api explorer (p64env)
-- by pancelor
-- https://pancelor.com
--[[
## how to install
1. open picotron (buy from https://www.lexaloffle.com/picotron.php)
2. press escape to open the terminal
3. run `folder`. a file explorer should open on your host OS.
you should see `appdata` and `desktop`
@pancelor
pancelor / readme.txt
Created December 28, 2022 17:52
checkerboard demo (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html
@pancelor
pancelor / readme.txt
Last active June 8, 2022 22:18
Timing test (PuzzleScript Script)
Play this game by pasting the script in http://www.puzzlescript.net/editor.html