HaxeFlixel/flixel — pull request #1058 by schonstal (2014-05-07 05:38:23+00:00)
Title: Add support for pixelPerfectRender in FlxTilemap

When you render a sprite on the screen at the same time as a FlxTilemap, the sprite appears to jitter around on the screen. It's because FlxTilemap ignores pixelPerfectRender (which is on by default) so FlxSprites move around in chunks, but FlxTilemaps do not.

This changes it so the position of the tile is floored if pixelPerfectRender is enabled, which is the same behavior as FlxSprite.