mirror of
https://github.com/photonstorm/phaser
synced 2025-02-18 06:58:30 +00:00
Flip the Y on textures
This commit is contained in:
parent
90d05a0f34
commit
638fd113b5
1 changed files with 4 additions and 0 deletions
|
@ -433,6 +433,10 @@ var SpriteFXPipeline = new Class({
|
||||||
{
|
{
|
||||||
// Proxy this call to the MultiPipeline
|
// Proxy this call to the MultiPipeline
|
||||||
// batchQuad will intercept the rendering
|
// batchQuad will intercept the rendering
|
||||||
|
|
||||||
|
// Needed for Text & TileSprite - how about others?
|
||||||
|
flipY = true;
|
||||||
|
|
||||||
MultiPipeline.prototype.batchTexture.call(this, gameObject, texture, textureWidth, textureHeight, srcX, srcY, srcWidth, srcHeight, scaleX, scaleY, rotation, flipX, flipY, scrollFactorX, scrollFactorY, displayOriginX, displayOriginY, frameX, frameY, frameWidth, frameHeight, tintTL, tintTR, tintBL, tintBR, tintEffect, uOffset, vOffset, camera, parentTransformMatrix, skipFlip, textureUnit);
|
MultiPipeline.prototype.batchTexture.call(this, gameObject, texture, textureWidth, textureHeight, srcX, srcY, srcWidth, srcHeight, scaleX, scaleY, rotation, flipX, flipY, scrollFactorX, scrollFactorY, displayOriginX, displayOriginY, frameX, frameY, frameWidth, frameHeight, tintTL, tintTR, tintBL, tintBR, tintEffect, uOffset, vOffset, camera, parentTransformMatrix, skipFlip, textureUnit);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue