Laser Drillers!


Just added laser drilling stations. Since the motif of this game seems to be space caves, I thought it would be fun to add some mining machinery. Oh, and did I mention this machinery is a bit DANGEROUS! Try out level 4 and see for yourself. I also fixed a few minor bugs. I learned it is not a good idea to use JavaScript's setTimeout for game timing. It is a lot better to use the scene clock to add an event.

Another challenge to program this dangerous driller was to fire off an event to the target to emit sparks. I used Phaser's scene events as a type of event bus. It is a great feature within Phaser 3.

scene.events.emit()

Leave a comment

Log in with itch.io to leave a comment.