-
-
Save anissen/2df0b0711212296006d77cedcd0895de to your computer and use it in GitHub Desktop.
Empty haxe / pico-8 project
This file contains 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 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 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