Day 4


Tonight, I re-assigned the money reduction to placing a tower on the map.  Additionally, if you don't have enough money, the tower is removed from the cursor to prevent further spending .

I added the 8-way shot tower in.  Initially it was shooting across the screen.  I added a new property to my Tower class, bullet_ttl, and added an alarm to the bullet to trigger after the ttl or time-to-live was up and destroys the bullet.  I then found the value that matched the range on the tower to keep the bullets within that circle.

And lastly, I added health bars to the enemies.  This only took a few minutes thanks to it being a built in feature of GameMaker.  I did have to add a maxhp property to my enemy class to do the math on their % remaining health.

Leave a comment

Log in with itch.io to leave a comment.