Skip to content
This repository has been archived by the owner on Dec 8, 2020. It is now read-only.

selenebun/towerdefense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

towerdefense

Simple tower defense game in p5.js that can be played here.

You can also make and edit custom maps using this map editor. Instructions are located on the Github repo.

Controls:

  • Esc to deselect tower
  • Left and right brackets to change map size (will reset game!)
  • Mouse to place a tower
  • Spacebar to pause
  • 0-9 to select a tower to place
  • F to toggle FPS display
  • G to toggle god mode
  • H to toggle displaying enemy health bars
  • M to import and load map string (will reset game!)
  • P to toggle display particle effects (turning them off helps with lag)
  • Q to toggle towers firing
  • R to reset game
  • S to sell selected tower
  • U to upgrade selected tower
  • V to mute sound volume
  • W to toggle delay between waves
  • X to export map string (copies to clipboard)
  • Z to return to default zoom level (will reset game!)