JS-Moba-Game
Javascript Moba Game
This is another example of using the canvas framework KineticJs. It is based off the Starcraft 2 arcade game Nexus wars and an extension of my sandman project.
Full Screen hereYour gold:
Computer gold:
How to Play
Click on the unit portrait on the menu bar below the game to place a building. Your units will automatically seek out enemy units. You get money passively and from each unit destroyed.
Each unit has different stats:
- Warrior (100g) has a lot of life but is melee
- Archer (125g) is fast and can fire fast
- Mage (150g) has a long range and hits hard but has low life
Info
It uses the same pathing algorithm as my sandman project to seek enemy units with some simple AI added in for a computer player. If no enemy is found it will travel to the opposite side of the board. It is still a work in progress with my idea to eventually turn it into a full-fledged MOBA. The game can handle about 500 active units before it starts to slow down.
Fork it on Github