Giter Club home page Giter Club logo

adv_micro_platformer_template's Introduction

Pico-8 Project Template

This is a marriage of a jayminer81's project template and @matthughson's Advanced microplatformer example cart

To run this project

  • Clone repo
  • run make output
  • open output.p8 in pico-8

About

Template

This is an empty Pico-8 project template but with scripts allowing you to separate graphics, music and code and also split the code into multiple files while working on your project.

It comes with a Makefile and a python-script which parses a source-file and allows inclusion of other source-files from it.

When you 'make' your project the graphics and sounds are taken from the file gfxsfx.p8 but no code is picked up from that file so the code-section in that cart can be used to prototype graphics, music and other things.

To include another source-file from the main-source file just type "include filename" and if the file exists it will be concatinated into the source, see source.lua for an example.

The parse.py-script can optimize the output to remove comments and indentation to save characters. Just add the argument --optimize after the filename. To get this behaviour when you make the project, edit the Makefile to say: PARSEOPTIONS=--optimize

For now it's not possible to include files from within a file that is getting included, perhaps this will be added in the future.

Features

This starter template contains all of the features listed in the Advanced Microplatform Template by @matthughson. The thread is here: https://www.lexaloffle.com/bbs/?tid=28793

Note on Graphics and Sound

Remember to paste your output.p8 graphics and sound section over the text in gfxsfx.p8 or your changes will be overwritten!

adv_micro_platformer_template's People

Contributors

jressey avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.