[Solved] javascript 2d tile based game rendering (terraria-style)


If you rendered the whole thing once then you would get less lag.
Maybe have 16×16 grids within the whole map that can be saved and then rendered as a whole as needed?
You could (re)render them when they are modified and when they first appear.

2

solved javascript 2d tile based game rendering (terraria-style)