I believe this has been fixed in Lime / OpenFL:
The fix might not have made it to Haxelib yet, so it might still require to install development builds of Lime and OpenFL.
@jvitoroc So what have you tried so far?
@sangress_ The initial worlbounds only cover a window-sized area. Based on the screenshot, this looks like the sort of game where you might move out of that area quickly?
I assume you installed Visual Studio 2017 including the C++ tools?
This is a fairly common error message that has come up in the Haxe/OpenFL/Flixel forums before, do any the solutions mentioned there help?
There's two things you need to watch out for:
destroy()is automatically called on display list members. So if those sprites have been
add()ed, you'd need to
remove()them before a switch to avoid that.
FlxGraphicinstances. This can be controlled via the
sprite.graphic.persist = true).
Are you sure that
FlxG.worldBounds includes this area? Collisions are only done in that rectangle.
Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.