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; |
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
class Main { | |
public static function main() { | |
trace(R.list); | |
trace(R.obj.foo); | |
} | |
} |
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
import haxe.macro.Expr; | |
import haxe.macro.Context; | |
class GenNew { | |
macro public static function build () : Array<Field> { | |
var fields = Context.getBuildFields(); | |
var args = []; | |
var assigns = []; | |
for (field in fields) { |
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 com.blazingmammothgames.util; | |
#if neko | |
import neko.vm.Thread; | |
import neko.vm.Mutex; | |
#elseif cpp | |
import cpp.vm.Thread; | |
import cpp.vm.Mutex; | |
#end |
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
#if macro | |
import haxe.macro.Context; | |
#end | |
class Main { | |
macro static function load_json(file :String) { | |
var data = sys.io.File.getContent(file); | |
var json = haxe.Json.parse(data); | |
return Context.makeExpr(json, Context.currentPos()); |
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
Here's a list of the strings in the game (SPOILERS kinda): | |
A game by: Et spil af | |
Powered by: Kører på | |
Press left or right to start: Tryk venstre eller højre for at starte | |
Release left and right: Slip venstre og højre | |
to start: for at starte | |
to erase: for at slette | |
Touch left or right side to start: Tryk venstre eller højre side for at starte | |
Release both sides: Slip begge sider |