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
<?xml version="1.0" encoding="utf-8"?> | |
<project> | |
<!-- <meta /> | |
Use meta nodes to set metadata for your application. The description is ignored | |
on most targets, but is useful for packaging like Chrome Apps or Opera Widgets. | |
For compatibility with Android and webOS, the package name must include at least |
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 nme.display.Sprite; | |
import nme.display.StageAlign; | |
import nme.display.StageScaleMode; | |
import nme.Lib; | |
/** | |
* @author Joshua Granick | |
*/ | |
class ScreenResize 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
import nme.display.Sprite; | |
/** | |
* @author Joshua Granick | |
*/ | |
class ConditionalCompilation extends Sprite { | |
public function new () { |
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.eclecticdesignstudio.minehx; | |
import nme.display.Sprite; | |
import nme.system.Capabilities; | |
import nme.Assets; | |
/** | |
* ... |
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
#!/bin/sh | |
# Install Haxe using a development release for 64-bit Linux | |
HAXE_VERSION=haxe_2019-04-01_development_bbfe5ac | |
NEKO_VERSION=2.2.0 | |
if [ "$1" = "y" -o "$1" = "-y" ]; then | |
echo "Do you want to install Haxe $HAXE_VERSION and Neko $NEKO_VERSION? (y/n) y" |
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 | |
echo "" | |
echo "-----------------------------------" | |
echo " Installing Flash Debugger" | |
echo "-----------------------------------" | |
sudo echo "" |
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
git clone https://github.com/openfl/starling | |
cd starling | |
git reset --hard 0306c8625df7bb4b183ca5ca104b33091f814436 | |
cd samples/demo_npm/as3 | |
npm install | |
npm start |
NewerOlder