Skip to content

egordorichev/pico-player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PICO-Player

Javascript wrapper that allow you to use PICO-8 web player outside official Lexaloffle BBS.

Usage

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.

Features

  • 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

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing Code

We'd love to accept your patches! If you have improvements, send us your pull requests!

About

Magic js library, that allows you to run PICO-8 carts in browser without exporting them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors