Can't run game by 'lime test neko'
-
Getting that error:
export/linux64/neko/haxe/ApplicationMain.hx:205: characters 57-75 : Warning : Use programPath instead
export/linux64/neko/haxe/ApplicationMain.hx:89: characters 42-60 : Warning : Use programPath instead
AL lib: (EE) stream_state_callback2: Received stream failure!
Invalid field access : set
Called from flixel/FlxSprite.hx line 1147
Called from flixel/FlxSprite.hx line 1300
Called from flixel/FlxSprite.hx line 504
Called from Player.hx line 8
Called from a C function
Called from Player.hx line 6
Called from PlayState.hx line 10
Called from flixel/FlxGame.hx line 627
Called from flixel/FlxGame.hx line 712
Called from flixel/FlxGame.hx line 665
Called from flixel/FlxGame.hx line 538
Called from openfl/_legacy/events/EventDispatcher.hx line 98
Called from a C function
Called from openfl/_legacy/display/DisplayObject.hx line 161
Called from a C function
Called from openfl/_legacy/display/DisplayObjectContainer.hx line 286
Called from openfl/_legacy/display/Stage.hx line 1103
Called from openfl/_legacy/display/Stage.hx line 351
Called from openfl/_legacy/display/Stage.hx line 1084
Called from openfl/_legacy/display/Stage.hx line 430
AL lib: (EE) alc_cleanup: 1 device not closeHaxe version is Haxe 3.4.7, HaxeFlixel from git
Compiling code from third chapter of tutorial "Groundwork"
-
@aprokurov said in Can't run game by 'lime test neko':
Invalid field access : set
"Invalid field access" is usually an indication for a null reference error. Perhaps you're doing something with a sprite that has already been destroyed?
Are other targets working? It seems likely they would have the same issue.
Compiling code from third chapter of tutorial "Groundwork"
It might be a bit early in the tutorial to do this, but whenever you run into trouble, you can compare your code to the finished version of the game here:
https://github.com/HaxeFlixel/flixel-demos/tree/dev/Tutorials/TurnBasedRPG/source