Skip to content
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.
/ td-editor Public archive

Map editor for tower defense game using p5.js

License

Notifications You must be signed in to change notification settings

selenebun/td-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

td-editor

Map editor for tower defense game using p5.js that can be played here.

Controls:

  • Left and right brackets to change columns (will reset map!)
  • Left and right brackets + shift to change rows (will reset map!)
  • Mouse to place a tile
  • Spacebar to toggle graphical display mode
  • 0-7 and arrow keys to select tiles to place
  • C to clear graphical display tiles
  • D to toggle automatically updating display layer as you draw
  • F to fill map with currently selected tile
  • L to copy paths to display layer
  • M to import and load map string (will reset map!)
  • P to automatically pathfind
  • Q to erase all pathfinding
  • R to reset map
  • S to clear spawnpoints
  • U to update display layer from regular tiles
  • X to export map string (copies to clipboard)
  • Z to return to default zoom level (will reset map!)