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

Tilemaps #9

Open
3 tasks
avahe-kellenberger opened this issue Nov 6, 2021 · 0 comments
Open
3 tasks

Tilemaps #9

avahe-kellenberger opened this issue Nov 6, 2021 · 0 comments
Assignees

Comments

@avahe-kellenberger
Copy link
Collaborator

avahe-kellenberger commented Nov 6, 2021

Implement tilemaps.

  • Render tiles to a buffer, then render the buffer (1 draw call per frame instead of O(N))
  • 2D Buffer array, for cases where tilemaps span large areas
  • Update cells that change, but don't need to re-render the whole buffer

We may want to try integrating with Tiled.

Could possibly generate code as a compilation step rather that reading in a file at runtime.

@avahe-kellenberger avahe-kellenberger self-assigned this Jan 2, 2022
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