TilingSprite transform.position act on UV ?
See original GitHub issueExpected Behavior
An object using a TilingSprite should not bleeding in movement.
Current Behavior
An object using TilingSprite are 8px tall, but in movement the first pixels on top move on bottom. The height of the TilingSprite object stay on 8 so I think the transform position of the object act on UV. roundPixels true does nothing.
Possible Solution
Idk
Steps to Reproduce
https://jsfiddle.net/Bouh/xv7a41ws/3/
Environment
pixi.js
version: 5.3.7 & v6.0.0-rc.2- Browser & Version: Chrome & Firefox & Edge
- OS & Version: win10
- Running Example: https://jsfiddle.net/Bouh/xv7a41ws/3/
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
TilingSprite transform.position act on UV ? #7166 - GitHub
The height of the TilingSprite object stay on 8 so I think the transform position of the object act on UV. roundPixels true...
Read more >PIXI.TilingSprite - PixiJS API Documentation
Current transform of the object based on local factors: position, scale, other stuff. mask PIXI.Container | PIXI.MaskData | null inherited.
Read more >Every time my character jumps, glitchy bars appear atop tiled ...
... the rendering engine that GDevelop uses, I'm not sure there is anything the GD5 devs can do: TilingSprite transform.position act on UV...
Read more >PIXI.TilingSprite
Tile transform. PIXI.TextureMatrix · uvMatrix. Matrix that is applied to UV to get the coords in Texture normalized space to coords in BaseTexture...
Read more >new PIXI.extras.TilingSprite (texture, width, height)
PIXI.extras.TilingSprite. A tiling sprite is a fast way of rendering a tiling image ... transform that is applied to UV to get the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
roundPixels does not affect inner,
tileTransform
, you have to round it up yourself, somehowAlso, the lack of different repeats (U-only or V-only) is the problem. I honestly dont know which way to fix it right now, you guys have any ideas?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.