mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 20:53:39 +00:00
Fixed issue with scaled tilemaps
This commit is contained in:
parent
10193c181a
commit
feabcdadb9
1 changed files with 4 additions and 4 deletions
|
@ -1151,13 +1151,13 @@ var TextureTintPipeline = new Class({
|
|||
tilemapLayer,
|
||||
texture,
|
||||
texture.width, texture.height,
|
||||
tile.width / 2 + x + tile.pixelX, tile.height / 2 + y + tile.pixelY,
|
||||
tile.width, tile.height,
|
||||
sx, sy,
|
||||
(tile.width / 2) + x + tile.pixelX * sx, (tile.height / 2) + y + tile.pixelY * sy,
|
||||
tile.width * sx, tile.height * sy,
|
||||
1, 1,
|
||||
tile.rotation,
|
||||
tile.flipX, tile.flipY,
|
||||
scrollFactorX, scrollFactorY,
|
||||
tile.width / 2, tile.height / 2,
|
||||
(tile.width / 2), (tile.height / 2),
|
||||
frameX, frameY, frameWidth, frameHeight,
|
||||
tint, tint, tint, tint,
|
||||
0, 0,
|
||||
|
|
Loading…
Reference in a new issue