How do I create bounds of a 2darray tilemap in Javascript?

前端 未结 0 716
眼角桃花
眼角桃花 2021-01-11 11:07

I am creating a 2d Ascii game. Currently I have the world (leveldata) stored in a 2d array. Example:

"test2": [
        ["╔","═"         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题