Skip to content
windsurfer edited this page Sep 13, 2010 · 2 revisions

If you have objects such as bullets, enemies, and the player all needing to collide with the same FlxTilemap, add all the objects to a group and collide them with FlxU.collide. This uses quad tree optimization to speed up collisions between many objects.