We just posted part 3 of our Akihabara tutorial for making games in HTML5/JS using the Akihabara engine. In this installment, we show you how to define a map using ASCII art, how to render that as a tilemap, and how to make the player object collide with the walls.
You can see the final outcome here. Press “Z” on your keyboard to get past the title screen and use the arrow keys to move the circle around. Notice that you collide with walls!