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
I am trying to create a 2.5D game and follow the example 2D Plane. Because I can move the plane in my game, I find there will be some bugs when vertical sprites go behind the screen.
To recreate this bug, change the y of squarePlane into positive so that it will be behind the screen, e.g squarePlane.position.set(-app.screen.width / 4, app.screen.height / 2); . Then drag down the squareFar, and the sprite will come back from the sky.
Is there any way to avoid this feature?
The text was updated successfully, but these errors were encountered:
I am trying to create a 2.5D game and follow the example 2D Plane. Because I can move the plane in my game, I find there will be some bugs when vertical sprites go behind the screen.
To recreate this bug, change the
y
ofsquarePlane
into positive so that it will be behind the screen, e.gsquarePlane.position.set(-app.screen.width / 4, app.screen.height / 2);
. Then drag down thesquareFar
, and the sprite will come back from the sky.Is there any way to avoid this feature?
The text was updated successfully, but these errors were encountered: