pierreyoda / micropolis-rs

The classic Micropolis (Sim City 1) game rewritten in Rust and React, with WebAssembly support.
Other
21 stars 1 forks source link

Front: Basic TileMapRenderer #2

Closed pierreyoda closed 3 years ago

pierreyoda commented 3 years ago

💄 Basic TileMapRenderer

The current TileMapRenderer has positioning and display bugs:

image

Fix them so that it works properly on a randomly generated basic TileMap (basic in the sense that no back-end meta is truly available, just a 2D array of numbers effectively).