Tower Defense Game in JavaSript
olehermanse GameDev DK30 Fall 2020 5 2
Description
I’d like to learn more javascript / web development, so I’ll take this dk30 to work on a small tower defense game.
Recent Updates
The DK30 is over, I finished everything I wanted to do, one week past deadline.
For anyone who’d like to try, the game is playable here:
I wrote a short summary on my blog:
https://oleherman.com/gamedev/towers/
Maybe I’ll keep working on this and post some more updates there.
Enemy types, tower types, etc.:

Randomized spawn and goal, UI, money, levels:

Proper pathfinding implemented, moves in all 4 directions, much faster, and doesn’t get stuck on hard problems:

Some slow, basic, recursive brute force path finding works:

Towers now rotate towards target and shoot lasers:

Basic moving enemies and towers using triangles:

You can now place circles (towers):

Basic website deployed with JS canvas rendering a grid:

Project is set up here: https://github.com/olehermanse/towers
And deployed here: https://towers.oleherman.com/
Estimated Timeframe
Oct 15th - Nov 15th
Week 1 Goal
The goal for week 1 is to just get the project set up, with some basic structure:
- Resizable html canvas
- Basic drawing / grid
Week 2 Goal
In week 2 I will focus on basic gameplay:
- Placing towers
- Moving enemies
- Towers shooting enemies
- Reward money when enemies die
Week 3 Goal
For week 3, I’d like to make the game more interesting:
- Collision / block enemies with towers
- Pathfinding for enemies to get around towers
Week 4 Goal
For week 4 I’d like to focus on polish:
- Levels
- Points
- Artwork?
- UI / Menus?
![Day[9]TV](/images/header-logo.png)