[Phaser 3] Haunted Tower TD - Mobile game focused on strategy with well balanced levels


Play Store: https://play.google.com/store/apps/details?id=com.morion4000.hauntedtower

I am a seasoned web developer, but a newbie when it comes to game development. This is my first attempt at such an endeavor and it was fun.

Coded it with Phaser 3, Typescript, and CapacitorJS.




YouTube trailer: Haunted Tower Preview - YouTube

Released iOS version: ‎Haunted Tower TD on the App Store

:arrows_counterclockwise: New update for :ghost: Haunted Tower is available on the Google and Apple stores:

:ballot_box_with_check: finished campaign mode with 15 challenging levels
:ballot_box_with_check: implemented a lot of performance optimizations

:globe_with_meridians: www.hauntedtower.com

This is great! I’m trying to learn Phaser and I was wondering how do you calculate the distance between the enemy and the tower? Do you have any resources you suggest looking at? Thanks!

I am using a Phaser utility to calculate the distance between the enemy and the tower: Phaser.Math.Distance.Between(tower.x, tower.y, enemy.x, enemy.y)

Thanks! I’ve calculated the distance but I can’t get the velocity of the sprite, for some reason when I log it it says initialize {x: 0, y: 0}

You need the position of the game object. Not sure velocity has anything to do with it.

Released a new game mode: Survivor. You can also play the game on itch.io: Haunted Tower TD by morion4000.