A tower defense game made in vanilla JavaScript & Canvas
If you want to help solving bugs, refractoring or just adding new features, go ahead.
- A tower defense game like Warcraft 3 ROC / TFT in vanilla JavaScript only
- Place turrets into the canvas, selecting it and clicking where you want to place it.
- Four maps: Easy, Normal, Hard & Hell
- A lot of minions & hell minions, with bosses too.
- Enjoy an amazing soundtrack
- It's rumored there are some cheats (return key)
Want to check cheat codes?
Press enter/return key while you are in game. Type the cheat code you want.
greedisgood - 200 gold
hollymolly - 1000 gold
whosyourdaddy - best turret unlocked, the B.F.T
ezwin - instant win
4lose - instant lose
thanos - snap?
TO-DO
- Accordion+gallery slider on instruction menu UI, needs to be responsive
- Refractor code (and clear functions, classes, comments, minions names)
- More towers, right now 4 more
- AOE++
- POISON++
- Custom game menu - Created but hidden right now
- Biomes map for custom game
- We want you to create a map with each "biome" (normal, hell, spooky, snow) with all paths, so that means 4x3 maps, lot of work
- MSG when introducing a cheatcode, done but needs a fix
- Better game balance
- Bug background when resize
- Not responsive, but solve some problems that happen when resizing
Maybe we will implement
- Better buttons / better sound on || off button - Create ranked with nick+points - if no vanillaJS, don't
- Create ranked map, infinity map
- Add points system
- x100 x minions killed (300 if it's boss)
- x100 after x min played
- Show ranked in endgame
- how do you turn this on (maybe, too much frames)
- Drops of coins
Already implemented
- Create hell map path - Fix sound bugs (gameOver, winGame)
- If ESC, pause game and show menu"options"
- Centered vw & vh canvas
- Better menu for sound on/off
- Better bottom UI
- Restart button (lvl restart)
- Cheat button explanation
- Change width+height map (minions+path) on selecting lvl
- Modal for menu selection~
- When pause the game if it is muted, keep muted after continue
- If we are muted and restart the game, keep muted after it
- If we are muted in endgame Menu and we restart, keep muted
- Show DIV with opacity when win/lose (same as pause menu)
- If endgame, stop frameanimaterequests
- Create HARD and HELL maps backgrounds
- Change IMG menu with new maps
- Boss round and enemies
- Instruction menu
If you have any suggesitons, tell me here on github |or| [email protected]
He is indeed, inevitable
Why this cheatcode?
I wanted to do some fun cheat codes (more are coming), and I remembered the Google easter egg they did with Thanos. So I found the gauntlet they used and tried my "own" animation.
Better do not lose.
Why this easteregg?
I was trying to do something for the ending screen on losing the game. But I didn't like the audio or the animations.. So I browse reddit, and... voilá.
Done in vanilla Javascript & Canvas
BY-NC-SA