Skip to content

Instantly share code, notes, and snippets.

@anissen
Forked from po8rewq/Main.hx
Created August 19, 2016 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anissen/2df0b0711212296006d77cedcd0895de to your computer and use it in GitHub Desktop.
Save anissen/2df0b0711212296006d77cedcd0895de to your computer and use it in GitHub Desktop.
Empty haxe / pico-8 project
-js game.p8hx
-main Main
-lib hxpico8
--macro p8gen.PgMain.use()
-dce full
pico-8 cartridge // http://www.pico-8.com
version 5
__lua__
__gfx__
package ;
import Pico.*;
class Main
{
static function main()
{
onInit = init;
onUpdate = update;
onDraw = draw;
}
static function init()
{
}
static function draw()
{
cls();
}
static function update()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment