Javascript wrapper that allow you to use PICO-8 web player outside official Lexaloffle BBS.
Vanilla JavaScript
document.addEventListener("DOMContentLoaded", function(event) {
PicoPlayer('container', 'cart.p8.png');
});
jQuery
$(document).ready(function () {
PicoPlayer('container', 'cart.p8.png');
});
Note: you need to serve the page over HTTP to avoid COULD NOT ACCESS CART
error.
- Embedding PICO-8 using only one simple javascript command
- Send button states to web player
- Pause, Reset cart, Set or toggle volume (mute)
- Basic examples included
- Egor Dorichev - Author and Maintainer
- Florian Dormont - Mobile Template
- Petr Kratina - Initial Work
This project is licensed under the MIT License - see the LICENSE file for details.
We'd love to accept your patches! If you have improvements, send us your pull requests!