I need some sleep LOL.
Thanks a lot :)
Posts made by carcagi
Type not found : FLxG
I am following the tutorial here. https://haxeflixel.com/documentation/groundwork/
But I have an issue, when I try to compile this step I got the following errors.
source/Player.hx:32: characters 15-19 : Type not found : FLxG
source/Player.hx:33: characters 17-21 : Type not found : FLxG
source/Player.hx:34: characters 17-21 : Type not found : FLxG
source/Player.hx:35: characters 18-22 : Type not found : FLxG
I manually added the import to the class:
And still got the same issue.
The lines of code are:
_up = FLxG.keys.anyPressed([UP, W]); _down = FLxG.keys.anyPressed([DOWN, S]); _left = FLxG.keys.anyPressed([LEFT, Q]); _right = FLxG.keys.anyPressed([RIGHT, D]);
Anyone knows what could possibly be the cause?