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
#!/bin/sh | |
HAXE_VERSION=3.2.1 | |
NEKO_VERSION=2.0.0 | |
if [ `uname -m` = "armv7l" ]; then | |
HAXE_VERSION=3.1.3 |
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
//var bytes = Assets.getBytes ("soundTheme"); | |
//var sound = lime.audio.Sound.loadFromBytes (bytes); | |
var sound = lime.audio.Sound.loadFromFile ("sounds/theme.ogg"); | |
var format = 0; | |
if (sound.channels == 1) { | |
if (sound.bitsPerSample == 8) { |
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 extension.iap.IAP; | |
import extension.iap.IAPEvent; | |
import flash.display.Sprite; | |
class Main extends Sprite { | |
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 extension.gamecenter.GameCenter; | |
import extension.gamecenter.GameCenterEvent; | |
import flash.display.Sprite; | |
class Main extends Sprite { | |
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 flash.utils.ByteArray; | |
import openfl.Assets; | |
class CustomAssetLibrary extends AssetLibrary { | |
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 flash.display.Sprite; | |
import flash.geom.Point; | |
import openfl.events.JoystickEvent; | |
#if android | |
import openfl.utils.JNI; | |
import tv.ouya.console.api.OuyaController; |
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 flash.display.Sprite; | |
class Main extends Sprite { | |
public function new () { | |
super (); | |
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
#!/bin/sh | |
# Download Neko | |
curl -L http://nekovm.org/_media/neko-2.0.0-osx.tar.gz > neko-2.0.0-osx.tar.gz | |
# Extract and copy files to /usr/lib/neko |
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
SetOutputFilter DEFLATE |
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
emcc hello.cpp -o bin/hello.js |