Coder Social home page Coder Social logo

jspicl / jspicl-mario-sample Goto Github PK

View Code? Open in Web Editor NEW
21.0 4.0 7.0 866 KB

A basic Mario game showcasing how to create PICO-8 games in JavaScript.

Home Page: https://jspicl.github.io/jspicl-mario-sample/

License: MIT License

JavaScript 56.66% Lua 43.34%
jspicl-sample javascript jspicl pico-8 pico8 lua mario game

jspicl-mario-sample's Introduction

PICO-8 Mario

This is a sample project demonstrating how you can use jspicl-cli to build PICO-8 games with Javascript.

Usage

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

jspicl-mario-sample's People

Contributors

agronkabashi avatar berimboloenterprises avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

jspicl-mario-sample's Issues

Compiled carts don't run on Windows

Builds appear to work on Windows but the p8 output doesn't reflect the input.

Example: mario.p8.txt

I haven't looked in any detail yet but a few immediately obvious differences from the Linux output are no GFX or maps showing in the editor (even though they appear to be in the cart),and significantly bigger file size despite the 'missing' content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.