You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can be found that the Sprite added directly on the stage can follow the movement of the mouse very well, but the tilemap moves at twice the distance. After my test, modifying the stage.scale also has similar problems.
The text was updated successfully, but these errors were encountered:
HoPGoldy
changed the title
PIXI8 tilemap moves the wrong distance when app.stage.position updatedPIXI 8 tilemap moves the wrong distance when app.stage.position updated
Jul 6, 2024
I added the following code in examples/demo/basic.js to make it support mouse dragging, but the tilemap moved incorrectly by twice the distance.
examples of issue
It can be found that the
Sprite
added directly on thestage
can follow the movement of the mouse very well, but the tilemap moves at twice the distance. After my test, modifying thestage.scale
also has similar problems.The text was updated successfully, but these errors were encountered: