Fix dynamic layer scale bug

This commit is contained in:
Michael Hadley 2017-11-25 20:47:20 -06:00
parent c31147df19
commit aaa0d41f5d

View file

@ -39,7 +39,7 @@ var DynamicTilemapLayerWebGLRenderer = function (renderer, gameObject, interpola
batch.addTileTextureRect(
texture,
(x + tile.worldX) * sx, (y + tile.worldY) * sy,
x + tile.worldX * sx, y + tile.worldY * sy,
tile.width * sx, tile.height * sy,
alpha * tile.alpha, tile.tint,
scrollFactorX, scrollFactorY,