darozak / Advolition

1 stars 0 forks source link

Print and update a map in the browser. #19

Closed darozak closed 7 months ago

darozak commented 7 months ago

I should focus on printing and updating a map in the browser. This will make it easier to visualize and track robot movements.

darozak commented 7 months ago

I found a dungeon sprite sheet online and used it to render a couple dungeon tiles using Canvas. I created a Paper class to manage drawing the tiles (https://github.com/darozak/Advolition/commit/d5be467d41f0881dd3163f4f3feefe72ccfd2ad6).

Next I need to create a method to render the current dungeon or robot scan.

darozak commented 7 months ago

I've updated the code so that it renders the robot's scan using sprites (https://github.com/darozak/Advolition/commit/4dcb70913948d95842f907ee5107da19c5a91e1e). It works!