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

Replace camera rotation implementation #4

Open
Coestar opened this issue Dec 13, 2022 · 0 comments
Open

Replace camera rotation implementation #4

Coestar opened this issue Dec 13, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Coestar
Copy link
Owner

Coestar commented Dec 13, 2022

Current camera tilt in turns implementation is a bit of a cheat using the Phaser main camera. The main camera is slightly zoomed in to hide the edges of the graphics, then rotated. This has negative impacts.

Possible alternative is to rotate the world/car/props. This might be problematic because all are drawn differently and therefore would have different requires to ensure all rotate based on the same pivot point.

@Coestar Coestar added the enhancement New feature or request label Dec 13, 2022
@Coestar Coestar self-assigned this Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant