Copyright © 2018 Ruoyao Wu. All Rights Reserved.

Tower Defense Demo

This is a tower defense game demo.

In this game, monsters will go to four coins first and then go to the final portal. Player can build towers on the map. With path finding algorithm, monsters will always find a path to the coins or the portal and avoid the towers at the same time. A* path finding algorithm is used in this game.

There are four kinds of towers in this game. Normal Tower is a regular tower with no special effect. Stop Tower can stun a monster for a second with ten seconds cool down time. Fire tower does more damages than other towers. Ice tower will slow down the monster. Finite State Machine is used to manage the behaviors of the monsters.

This is only a demo, economic system is not included.

This is a group work with two people build with Unity. All code works are shared during the development.