Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 2 months 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-11T09:52:05.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T06:20:49.052Z (9 months ago)
- Topics: game, javascript, jspicl, jspicl-sample, lua, megaman, pico-8, pico8
- Language: JavaScript
- Size: 237 KB
- Stars: 7
- Watchers: 3
- 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.![](https://i.imgur.com/QSaLt5q.gif)
## 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.
![](https://i.imgur.com/1uS6eck.gif)
```
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.![](https://github.com/AgronKabashi/assets/raw/814f6efe24bc9aca5d9d6ca6259279733529e300/rollup-plugin-jspicl/spritesheetLiveReload.gif)
## Other `jspicl` games
* [https://github.com/topics/jspicl-sample](https://github.com/topics/jspicl-sample)