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

Renderer API #1

Open
nuwapi opened this issue Jun 3, 2018 · 0 comments
Open

Renderer API #1

nuwapi opened this issue Jun 3, 2018 · 0 comments

Comments

@nuwapi
Copy link
Owner

nuwapi commented Jun 3, 2018

Renderer should take:

  • Coordinate of tiles.
    • Only give 3 numbers for each square. The upper left coordinate and the zoom. Need to set default zoom.
  • Texture data of tiles.
    • How animated textures should be updated is calculated by Game.
    • Since there are a lot of repeats in texture, use two lists.
  • Annotation of tiles (for special treatments).

Can change the data structure to implement the above within the renderer first then transfer them into Game.

Write a "game" that randomly generate the above type of inputs to test if renderer can display them.

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