Particle collision with screen edges
Is there a straightforward way to do particle collision with screen sides? I haven't found one, so I tried adding two offscreen sprites with immovable = true as "screen walls", but since they are out of the screen the collisions don't work. Is there any flag to change this?
Collisions work off-screen. Make sure you set up world bounds as they are quite small by default: http://api.haxeflixel.com/flixel/FlxG.html#worldBounds
It was the world bounds indeed, hadn't thought of that, thanks.