Okay I just found an even better way after I stumbled upon the API of FlxG.keys:
No one has replied
really cool stuff
Not a Flixel, OpenFL or Haxe problem but most likely a limitation / problem of your hardware.
So I decided to use just substates instead since this is a really complicated bug. It also somehow crashes the game when I set the camera zoom :/
I think your answer is the best way to do it in the napeway .
if that didn't work i would recommend using the FlxSprite for checking if you are using the FlxNapeSprite
@DleanJeans Did you try my exact example without your additional code? Also note that when you create a new project with HaxeFlixel template, your first state is MenuState (change it to PlayState).
Nevermind, I solved it by resize the scroll bound to the size of the camera and center it around the tilemap like this:
I'm thinking something like
then something similar for if velocity.x/y < 0, etc. etc.
Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.