HTML5 Dungeon Raid tile engine made with Phaser – Part 3

This new step of the HTML5 Dungeon Raid tile engine made with Phaser adds two new features and moves a bit beyond the Dungeon Raid tutorial series I blogged during these times.

First, I am adding two new variables to let you decide the number of rows and columns you want in your game field. You aren’t stuck to square game fields anymore. Moreover, removed tiles arent’ destroyed then re-created but just hidden and shown again. This should save resources especially on mobile devices.

Also, a mask hides falling tiles, you will find it useful when you create the game GUI around this engine.

Here is the game:

Draw to remove tiles and don’t forget to look at the very detailed log which will explain what happens when you play:

You will find this feature very useful when you want to custom the engine.

Here is the source code:

You can also download the source code and use it in your projects.

Next time, more features to turn it into a math game.