@TODO test optimizing pathfinding via breadth first search/djikstra
MAP RESOURCES
- spawn diamonds or special floating resources that give you bonuses for building on, whether it's score, money, or boosting the effectiveness of the tower you place on top, etc.
- killing certain mobs may cause these resources to spawn on the hex they died on
towers:
- redeye
long-range laser tower
only buildable on mountains and upgraded walls
- lighthouse
light-emitting static tower
only buildable on tiles adjacent to water
mobs strongly prefer to path around lighthouses
- wall
some fraction of the height of the tallest mountain
makes mob pathing more difficult
upgrades:
- fortifications - lets you build some qualifying towers on top of this tower
This is a tower defense game. It's made using lua, and the amulet game engine made by Ian Maclarty.
If you are interested in a library of code for dealing with hexagonal grids/geometry in your game, the file src/hexyz.lua may be of interest to you, as may be the resources below.