TD Base (+ Map Editor)

32
33
2
3

Create, save, & export maps as .OBJ files.


Camera Controls:
[WSAD] / [Arrow Keys] = move camera view
[Mouse Scroll Wheel] / [+ -] / [ZX] / [mobile pinch] = zoom in or out

Edit Modes:
[1] = click & drag to pan the camera
[2] = click to add new Vertices
[3] = click existing Vertices to delete them
[4] = click & drag existing Vertices to move them
[5] = click 2 Vertices to create a new Path between them
[6] = click existing Paths to delete them
[7] = click 3 Vertices to create a new Triangle between them
[8] = click existing Triangles to delete them
[9] = click 1 triangle to get its color, then click other triangles to change them to that color, too.

Map Controls:
[Enter] = Save the current map to your computer's local save file (saves as a .OBJ file)
[C] = Copy the current map to your computer's clipboard without affecting your saved map (copies as the text of a .OBJ file)
[L] = Load the map you have saved in your computer or have pasted into the text box inside of the Map Editor object in the level editor (this deletes the current map and replaces it with your saved or pasted map)
[Delete] = Delete the current map without affecting your saved map

Other Controls:
[Y] = Finish & deselect the path you currently are creating
[N] = Cancel & delete the whole path you currently are creating

[U] = Cancel & delete the Triangle you currently are creating

[I] = Finish & keep the Triangle color you just set
[M] = Cancel & reset the selected Triangles back to their previous color

[V] = Toggle all Vertices on / off
[P] = Toggle all Paths on / off
[T] = Toggle all Triangles on / off

[G] = Toggle grid-locked coordinates on / off
[B] = Toggle the background grid on / off

[F] = Fullscreen

Use the [ ] keys to adjust a Triangle's Red color
Use the ; ' keys to adjust a Triangle's Green color
Use the , . keys to change a Triangle's Blue color


Please let me know if you find ANY bugs at all.
(I am aware of 1 bug that I cannot seem to fix: mobile click. I've added a delay to mobile clicks and they still usually register in the last place you clicked instead of the current place.)
(Another known bug: if a triangle has no area, it won't spawn in hidden like it should on level 2)


The TD Test level is very heavily inspired by Bloons Tower Defense 5 (BTD5)

Editor