Where should NEKOPATH point to? In the folder containing haxe and haxelib? in the std folder? or the folder where all the downloaded libs are stored?
(Anyway i tried all of those three and had the same result)
Lirija
@Lirija
Posts made by Lirija
-
RE: Standard Library not found by Vscode
-
RE: Standard Library not found by Vscode
If i run both haxelib list and haxelib path flixel i get this error:
Uncaught exception - load.c(237) : Failed to load library : std.ndll (dlopen(std.ndll, 1): image not found)
-
RE: Standard Library not found by Vscode
I tried what you suggested but i got this error:
flixel tpl -n "HelloWorld"
Called from ? line 1
Called from haxelib/client/Main.hx line 1609
Called from haxelib/client/Main.hx line 406
Called from haxelib/client/Main.hx line 1492
Called from haxelib/client/Main.hx line 1102
Called from /Users/travis/build/HaxeFoundation/haxe/std/neko/_std/sys/io/File.hx line 30
Uncaught exception - [file_contents,/Users/me/Documents/haxe/haxelib//.current]I added those paths by the way:
HAXE path export
export HAXE_PATH="/Users/me/Documents/haxe/"
export PATH=$HAXE_PATH:"$PATH"HAXELIB path export
export HAXELIB_PATH="/Users/me/Documents/haxe/"
export PATH=$HAXELIB_PATH:"$PATH"HAXE_STD path export
export HAXE_STD_PATH="/Users/me/Documents/haxe/std/"
export PATH=$HAXE_STD_PATH:"$PATH"NEKO path export
export NEKO_PATH="/Users/me/Documents/haxe/std/"
export PATH=$NEKO_PATH:"$PATH" -
Standard Library not found by Vscode
Hi, i had some problems following the "install haxeflixel" guide, and now when i try to build haxe projects on vscode i get this error:
Haxe version does not support JSON-RPC, using legacy --display API.
Building Cache...
Failed - try fixing the error(s) and restarting the language server:Standard library not found
Client connected
Client disconnected
Client connected
Client disconnected(Sorry, i don't know how to put a code block here)
I believe the problem lies in the installation path i chosed:
I downloaded the haxe binaries and placed them in User/Documents/haxe
i set haxelib repository path as User/Documents/haxe/libs
(i'm running mac osx and had errors with the default path)Also browsing online i found that the problem could be that the .lime/config.xml points to the wrong directory, but mine doesn't seem to have any path associated
<?xml version="1.0" encoding="utf-8"?>
<config><section id="defines"> </section> <define name="MAC_USE_CURRENT_SDK" value="1" />
</config>
-
RE: Change animation framerate
@Gama11 Now everything works as it should.
Thank you very much for the expanation, it was really useful! -
RE: Change animation framerate
@Gama11 Thank you! Yes i've seen the frameRate variable but as you guessed i didn't know how to address to a single instance.
Still i've a problem, probably the synthax i used is wrong, I tried with:FlxAnimationController.getByName("up").frameRate = 9;
but i had this error:
source/Player.hx:96: characters 3-25 : Class<flixel.animation.FlxAnimation> has no field getByName
-
Change animation framerate
I still refer to the topdown rpg tutorial: i wanted the player to move faster as Z key is pressed, i've managed to change the speed with an if-else, but i couldn't find a way to increase fps of that animation ( addanimation() loads the animation in memory with fixed fps, I've also checked on the page but i couldn't find anything).
Is there a way to do so without having to create a new animation that plays faster?
(Should i delete my old posts in order to keep the HELP section tidy?)
-
RE: Unexpected Private
@Gama11 Then i just don't understand why i had that error when i tried to define the function inside create(); i defined the function (without any access specifiers ) just before the call in _map.loadEntities (but it seems that Haxe doesn't really care where I choose to define a function nor it is needed to declare it anywhere)
-
RE: Unexpected Private
@DleanJeans The problem was that i was trying to define a function inside a method right?