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

Tile map is not transformable #71

Open
lordmauve opened this issue Jan 1, 2022 · 0 comments
Open

Tile map is not transformable #71

lordmauve opened this issue Jan 1, 2022 · 0 comments

Comments

@lordmauve
Copy link
Owner

The TileMap class doesn't inherit from Transformable and therefore cannot be moved, rotated, etc.

Because each tile map is drawn with one draw call, achieving this probably only requires passing the transformation matrix into the shader as a uniform and multiplying by it in the vertex shader.

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