Last active
August 19, 2016 13:10
-
-
Save po8rewq/47e7d37d28bf3f34fe864c82b60674ce to your computer and use it in GitHub Desktop.
Empty haxe / pico-8 project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-js game.p8hx | |
-main Main | |
-lib hxpico8 | |
--macro p8gen.PgMain.use() | |
-dce full |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pico-8 cartridge // http://www.pico-8.com | |
version 5 | |
__lua__ | |
__gfx__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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