Day 4: Gameplay starts to emerge

Today I’ve managed to add different enemies and simple combat (it is possible to kill monsters and also die) and torch/item management (torch can be toggled on/off, it will only last 60 seconds after which it will automatically go off; there are limited supply of torches, but some can be picked up around the dungeon). These new features are a bit preliminary and quite hacky/messy, but it’s progress. I’ve also added some UI elements around the game canvas using HTML and CSS.

In addition to working on the gameplay, I added a pretty useless and crazy, but fun feature: You can press ‘l’ to “look around” – in first person mode, lol. See pic below. Note that the actual gameplay is still top-down.

First-person look-around mode
First-person look-around mode

Now I really need to come up with a name – suggestions welcomed.

If you want to take it for a test drive, guide your browser here.