Collision not working Completely?!?
-
Hi, im new to haxeflixel, i am just testing basic collision, but dont know whats wrong in my code
once check below code and ISSUE demo
CODE;
https://pastebin.com/YvGRrrKP
DEMO:
https://image.ibb.co/f9XeJG/ezgif_com_video_to_gif.gif
-
This is a common problem (see for instance https://stackoverflow.com/questions/43792751/flxg-collide-not-working-when-x648) - in short you need to adjust
FlxG.worldBounds
.
-
@gama11 ohh okay I got it now, thank you :)