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
#!/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 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
#!/bin/sh | |
echo "" | |
echo "-----------------------------------" | |
echo " Installing Flash Debugger" | |
echo "-----------------------------------" | |
sudo echo "" |
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
git clone https://github.com/openfl/starling | |
cd starling | |
git reset --hard 0306c8625df7bb4b183ca5ca104b33091f814436 | |
cd samples/demo_npm/as3 | |
npm install | |
npm start |
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 openfl.display; | |
import lime.graphics.cairo.Cairo; | |
import lime.graphics.utils.ImageCanvasUtil; | |
import lime.ui.MouseCursor; | |
import lime.utils.ObjectPool; | |
import openfl._internal.renderer.cairo.CairoBitmap; | |
import openfl._internal.renderer.cairo.CairoDisplayObject; | |
import openfl._internal.renderer.cairo.CairoGraphics; |
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 lime.app.Application; | |
import lime.graphics.cairo.*; | |
import lime.graphics.opengl.*; | |
import lime.graphics.Image; | |
import lime.graphics.Renderer; | |
import lime.math.Matrix4; | |
import lime.utils.Float32Array; |
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 lime.graphics.cairo.*; | |
import lime.graphics.opengl.*; | |
import openfl.display.Bitmap; | |
import openfl.display.BitmapData; | |
import openfl.display.NativeSprite; | |
import openfl.display.Sprite; | |
import openfl.events.NativeRenderEvent; |
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 lime.app.Application; | |
import lime.graphics.cairo.*; | |
import lime.graphics.opengl.*; | |
import lime.graphics.Image; | |
import lime.graphics.Renderer; | |
import lime.math.Matrix4; | |
import lime.utils.Float32Array; |
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
var bitmapData = Assets.getBitmapData ("tiles.png"); | |
var tileData = new TileData (bitmapData, new Rectangle (0, 0, 100, 100)); | |
var tilemap = new Tilemap (800, 600); | |
var tile = new Tile (tileData); | |
tilemap.addTile (tile); | |
addChild (tilemap); |
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
var bitmapData = Assets.getBitmapData ("tiles.png"); | |
var tileset = new Tileset (bitmapData); | |
tileset.addTileRect (new Rectangle (0, 0, 100, 100)); | |
var tilemap = new Tilemap (800, 600); | |
var tile = new Tile (tileset, 0); | |
tilemap.addTile (tile); |
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
var bitmapData = Assets.getBitmapData ("tiles.png"); | |
var tileset = new Tileset (bitmapData); | |
tileset.addTileRect (new Rectangle (0, 0, 100, 100)); | |
var tilemap = new Tilemap (800, 600); | |
var tilemapLayer = new TilemapLayer (tileset); | |
var tile = new Tile (0); |
NewerOlder