Tower Defense
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!)
https://github.com/selenebun/towerdefense
Use the X key to export your map string and share it with others, or use M to load a custom map you’ve saved. When placing towers, use 0-9 to quickly switch between tower types based on enemy types, and press S to sell or U to upgrade a selected tower for better efficiency. Toggle off particle effects with P if you experience lag, especially during intense waves.
Tower Defense is a simple yet customizable tower defense game built with p5.js, where players strategically place towers to stop waves of enemies. The game features a map editor allowing players to create and modify their own levels, with options to adjust map size using the left and right brackets. Players can choose from different tower types using the 0-9 keys and place them with the mouse. The game includes a range of toggles for gameplay customization, such as showing enemy health bars (H), enabling god mode (G), or adjusting particle effects (P) to reduce lag. You can also export and import map strings using X and M, respectively, making it easy to share custom levels. The game supports features like tower firing toggles (Q), sound muting (V), and wave delays (W), giving players control over the pace and difficulty.