https://github.com/jspicl/jspicl-megaman-sample
A basic Megaman game showcasing how to create PICO-8 games in JavaScript.
https://github.com/jspicl/jspicl-megaman-sample
game javascript jspicl jspicl-sample lua megaman pico-8 pico8
Last synced: over 1 year ago
JSON representation
A basic Megaman game showcasing how to create PICO-8 games in JavaScript.
- Host: GitHub
- URL: https://github.com/jspicl/jspicl-megaman-sample
- Owner: jspicl
- License: mit
- Created: 2018-07-22T22:44:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T09:52:05.000Z (over 4 years ago)
- Last Synced: 2025-04-15T00:05:16.523Z (over 1 year ago)
- Topics: game, javascript, jspicl, jspicl-sample, lua, megaman, pico-8, pico8
- Language: JavaScript
- Size: 237 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PICO-8 MegaMan
This is a sample project demonstrating how you can use [jspicl-cli](https://github.com/AgronKabashi/jspicl-cli) to build PICO-8 games with Javascript.

## Usage
```Shell
npm start
```
This will create a cartridge and automatically launch it in PICO-8. Whenever source files are changed, a rebuild will take place and reload PICO-8 with the updated cartridge for you.

```
npm run restore-cart
```
This will take the game.p8 cartridge in the project root and put it in the build directory for you.
**CAUTION**: This will overwrite any existing cartridge in the destination folder so make sure you do a backup first.
## Updating spritesheet
With jspicl-CLI you don't need to draw your sprites in PICO-8 anymore. Simply edit the spritesheet file, save and the cart will be reloaded with the new changes.

## Other `jspicl` games
* [https://github.com/topics/jspicl-sample](https://github.com/topics/jspicl-sample)