I'm trying to get HaxeFlixel working. It works with lime test neko
but doesn't work on lime test neko -debug
. It says:
/usr/share/haxelib/flixel/4,6,0/flixel/effects/particles/FlxEmitter.hx:28: characters 34-35 : Unexpected &
And here's how the FlxEmitter.hx
file looks around line 28:
typedef FlxEmitter = FlxTypedEmitter<FlxParticle>;
#if (haxe_ver >= "4.0.0")
class FlxTypedEmitter<T:FlxSprite & IFlxParticle> extends FlxTypedGroup<T>
#else
class FlxTypedEmitter<T:(FlxSprite, IFlxParticle)> extends FlxTypedGroup<T>
#end
{
/**
* Set your own particle class type here. The custom class must extend `FlxParticle`. Default is `FlxParticle`.
*/
public var particleClass:Class<T> = cast FlxParticle;
Here is my machine specifications:
- Ubuntu 16.04 LTS, 64bit
- Lime Command-Line Tools (7.2.1)
- HaxeFlixel command-line tools (1.4.3)
- Installed Flixel version: 4.6.0
- Haxe Compiler 4.0.0
- OpenFL version 8.8.0