question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TilingSprite transform.position act on UV ?

See original GitHub issue

Expected 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ivanpopelyshevcommented, Jan 20, 2021

roundPixels does not affect inner, tileTransform , you have to round it up yourself, somehow

Also, 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?

0reactions
stale[bot]commented, Sep 3, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found