HaxeFlixel / flixel-demos

Collection of demos for HaxeFlixel
https://haxeflixel.com/demos
422 stars 291 forks source link

fix bug from tilemapExt not placing tiles #350

Closed Geokureli closed 1 month ago

Geokureli commented 1 month ago

This line is never false with flixel-addons v 3.2.3 (i.e. latest), but with the upcoming version this will always be false

if (Object.y >= Tile.y)

I believe this is a typo and should be <= but it didn't work as expected because FlxTilemapExt tiles are not placed at the site of the overlap checked, like they are in FlxTilemap. when that didn't work they assumed they made a typo and flipped it to >= because "that fixed it"