Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The bug in 2D Plane #112

Open
iamcxds opened this issue Oct 30, 2022 · 0 comments
Open

The bug in 2D Plane #112

iamcxds opened this issue Oct 30, 2022 · 0 comments

Comments

@iamcxds
Copy link

iamcxds commented Oct 30, 2022

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.
image

Is there any way to avoid this feature?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant