SkillAgentSearch skills...

Towerdefense

Simple tower defense game in p5.js

Install / Use

/learn @selenebun/Towerdefense
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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!)
View on GitHub
GitHub Stars58
CategoryDevelopment
Updated16d ago
Forks44

Languages

JavaScript

Security Score

100/100

Audited on Mar 23, 2026

No findings