Skip to content

Tag: 2d

Tile drawing is not displaying

I’m working on this code where if you put in certain characters for the map array, the canvas will display the image corresponding to that character. I have an array for all the ground blocks, at the top. Here’s my code so far: However, nothing seems to be drawing to the screen. I believe this mig…