A collection of PICO-8 carts hosted on GitHub Pages.
-
Export your PICO-8 cart to HTML:
- In PICO-8, load your cart:
load cart_name - Export to HTML:
export cart_name.html- This creates
cart_name.htmlandcart_name.jsin~/.lexaloffle/pico-8/carts/
- This creates
- Export a screenshot for cartridge artwork by pressing
F7in game and runningsave cart_name.png- This creates cart named
cart_name.p8.png, which is a fully distributable PICO-8 game on it's own!
- This creates cart named
- In PICO-8, load your cart:
-
Add the cart name to the
CARTSvariable inMakefile:CARTS := cave your_new_cart -
Copy carts to the project:
make copy-carts
-
Update
index.htmlto add your new cart to the grid:<a href="carts/your_new_cart/index.html" class="cart-item"> <img src="carts/your_new_cart/your_new_cart.p8.png" alt="Your Cart Name" class="cart-image"> <div class="cart-name">Your Cart Name</div> </a>
-
Commit and push:
git add . git commit -m "Add new cart: your_new_cart" git push
Open index.html in your browser to view the cart gallery.
To play a specific cart locally, open carts/cart_name/index.html.
This site deploys automatically to GitHub Pages when pushed to the main branch.
make copy-carts- Copy carts from PICO-8 directory to projectmake clean- Remove all carts from project directorymake help- Show help message