x-game

1.1.1 • Public • Published

x-retro

x-retro provides custom elements for retro emulators.

Adding to your page

Add this to your head:

<script src="https://matthewbauer.us/x-retro.js"></script>

and put this in your body:

<canvas is="x-retro" src="/my-super-nintendo-rom.sfc" core="snes9x-next" autostart></canvas>

Test it out

Visit https://matthewbauer.us/x-retro/ for a demo.

Running locally

git clone https://github.com/matthewbauer/x-retro.git
cd x-retro
npm install
npm start

Navigate to localhost:8080

Contributing

Look at the open issues and make pull request.

Readme

Keywords

Package Sidebar

Install

npm i x-game

Weekly Downloads

3

Version

1.1.1

License

none

Last publish

Collaborators

  • matthewbauer