FlixelCommunity / flixel

Community fork of Adam “Atomic” Saltsman's popular game engine Flixel. Distilled from a variety of Flash games he worked on over the last couple years, including Gravity Hook, Fathom and Canabalt, its primary function is to provide some useful base classes that you can extend to make your own game objects.
http://flixelcommunity.org/
Other
84 stars 17 forks source link

Fix issue #37 FlxTilemap.overlapsWithCallback calls callback when no overlapping #166

Closed Dovyski closed 11 years ago

Dovyski commented 11 years ago

The overlapping check performed for tiles with allowCollision = false ignored the object width/height, so the tile callback would fire even when the Object was placed close to, but not overlapping, the tile.

Fix: https://github.com/FlixelCommunity/flixel/issues/37 https://github.com/AdamAtomic/flixel/issues/194