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
// see https://github.com/azrafe7/FlashPunk/commit/475c4c4fb11a3554261ba871f64f16c5ddd53693 | |
package | |
{ | |
import flash.display.BlendMode; | |
import flash.geom.Point; | |
import flash.system.System; | |
import flash.text.AntiAliasType; | |
import flash.text.TextField; | |
import flash.text.TextFormat; |
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 com.haxepunk.debug.Console.TraceCapture; | |
import com.haxepunk.Engine; | |
import com.haxepunk.Entity; | |
import com.haxepunk.graphics.Text; | |
import com.haxepunk.HXP; | |
import com.haxepunk.masks.Grid; | |
import com.haxepunk.masks.Hitbox; | |
import com.haxepunk.masks.Masklist; | |
import com.haxepunk.Scene; | |
import com.haxepunk.utils.Draw; |
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.geom.Point; | |
import flash.geom.Rectangle; | |
import net.flashpunk.Entity; | |
import net.flashpunk.FP; | |
import net.flashpunk.graphics.Image; | |
import net.flashpunk.utils.Draw; | |
import net.flashpunk.utils.Input; | |
import net.flashpunk.utils.Key; |
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.system.System; | |
import haxe.PosInfos; | |
class Main { | |
static function main() { | |
var test:TestSuite = new TestSuite(); // haxe.unit.* was overlapping traces in Flash so... | |
test.testNull(); | |
trace("[ALL TESTS PASSED]"); | |
TestSuite.quit(); |
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.system.System; | |
import haxe.PosInfos; | |
import flixel.util.FlxColor; | |
class Main { | |
static function main() { | |
var test:TestSuite = new TestSuite(); | |
test.testColor_Color(); | |
test.testColor_Int(); |
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 ds.AABB; | |
import flash.display.Graphics; | |
import flash.display.Sprite; | |
import flash.display.Stage; | |
import flash.events.Event; | |
import flash.events.KeyboardEvent; | |
import flash.events.MouseEvent; |
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 flixel.util; | |
import flixel.util.FlxDestroyUtil.IFlxDestroyable; | |
/** | |
* A generic container that facilitates pooling and recycling of objects. | |
* WARNING: Pooled objects must have parameterless constructors: function new() | |
*/ | |
@:generic | |
class FlxPool<T:IFlxDestroyable> |
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 flixel.math; | |
import flixel.FlxG; | |
import flash.geom.Point; | |
import flixel.util.FlxPool; | |
import flixel.util.FlxPool.IFlxPooled; | |
import flixel.util.FlxStringUtil; | |
/** | |
* Stores a 2D floating point coordinate. |
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 openfl.Assets; | |
import openfl.display.Sprite; | |
import openfl.events.KeyboardEvent; | |
import openfl.system.System; | |
#if !flash | |
import sys.io.File; | |
#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
import com.haxepunk.Engine; | |
import com.haxepunk.HXP; | |
import com.haxepunk.Scene; | |
import com.haxepunk.utils.Input; | |
import com.haxepunk.utils.Key; | |
import flash.system.System; | |
import openfl.display.StageDisplayState; | |
import openfl.system.Capabilities; | |
OlderNewer