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
$ haxelib install lime | |
This is the first time you are runing haxelib. Please run `haxelib setup` first | |
$ haxelib setup | |
Please enter haxelib repository path with write access | |
Hit enter for default (/usr/lib/haxe/lib) | |
Path : | |
haxelib repository is now /usr/lib/haxe/lib/ | |
$ haxelib install lime |
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.text.TextField; | |
import flash.text.TextFormat; | |
import flash.text.TextFormatAlign; | |
import flash.events.Event; | |
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
// /usr/lib/haxe/lib/openfl-native/1,3,0/flash/utils/IDataInput.hx | |
package flash.utils; | |
interface IDataInput { | |
public var bytesAvailable (get, null):Int; | |
public var endian (get, set):String; |
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
(in /usr/lib/haxe/lib/openfl-native/1,3,0/flash/utils/ByteArray.hx) | |
276 //public function readDouble ():Float { | |
277 override public function readDouble (position:Int):Float { //modify !! | |
278 | |
279 if (position + 8 > length) { | |
308 //public function readFloat ():Float { | |
309 override public function readFloat (position:Int):Float { //modify !! |
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
(in /usr/lib/haxe/lib/openfl-native/1,3,0/openfl/utils/ArrayBufferView.hx) | |
84 inline public function getFloat32 (position:Int):Float { | |
85 | |
86 #if cpp | |
87 untyped return __global__.__hxcpp_memory_get_float (bytes, position + byteOffset); | |
88 #else | |
89 buffer.position = position + byteOffset; | |
90 //return buffer.readFloat (); | |
91 return buffer.readFloat (buffer.position); // added argument |
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 sample; | |
import flash.display.Sprite; | |
import flash.text.TextField; | |
import flash.events.Event; | |
import flash.Vector; | |
class Act002 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 sample; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.display.BitmapData; | |
import flash.display.Bitmap; | |
import openfl.Assets; | |
class Act004 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 sample; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.display.BitmapData; | |
import flash.display.Bitmap; | |
import openfl.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
package sample; | |
import flash.display.Sprite; | |
import flash.text.TextField; | |
import flash.text.TextFormat; | |
import flash.text.TextFormatAlign; | |
import flash.events.Event; | |
import flash.events.TimerEvent; | |
import flash.utils.Timer; |
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 sample; | |
import flash.display.Sprite; | |
import flash.text.TextField; | |
import flash.events.Event; | |
import flash.events.MouseEvent; | |
import flash.Vector; | |
class Act108 extends Sprite | |
{ |
OlderNewer