diff --git a/public/TiledTDThree64.png b/public/TiledTDThree64.png
new file mode 100644
index 0000000..2abadf3
Binary files /dev/null and b/public/TiledTDThree64.png differ
diff --git a/public/Tileset.tsx b/public/Tileset.tsx
index f5b0984..f109f67 100644
--- a/public/Tileset.tsx
+++ b/public/Tileset.tsx
@@ -1,4 +1,4 @@
-
+
diff --git a/public/assets/maps/07_final_stretch.png b/public/assets/maps/07_final_stretch.png
new file mode 100644
index 0000000..0bd3bc9
Binary files /dev/null and b/public/assets/maps/07_final_stretch.png differ
diff --git a/public/assets/maps/mission_01.png b/public/assets/maps/mission_01.png
deleted file mode 100644
index cd31cf8..0000000
Binary files a/public/assets/maps/mission_01.png and /dev/null differ
diff --git a/public/assets/missions/01_first_steps.json b/public/assets/missions/01_first_steps.json
index 6ace830..2fe6e66 100644
--- a/public/assets/missions/01_first_steps.json
+++ b/public/assets/missions/01_first_steps.json
@@ -28,31 +28,31 @@
],
"paths": [
[
- [8, 0],
- [8, 1],
- [8, 2],
- [8, 3],
- [8, 4],
- [8, 5],
- [8, 6],
- [8, 7],
+ [0, 8],
+ [1, 8],
+ [2, 8],
+ [3, 8],
+ [4, 8],
+ [5, 8],
+ [6, 8],
+ [7, 8],
[8, 8],
- [8, 9],
- [8, 10],
- [8, 11],
- [8, 12],
- [8, 13],
- [8, 14],
- [8, 15],
- [8, 16],
- [8, 17],
- [8, 18],
- [8, 19],
- [8, 20],
- [8, 21],
- [8, 22],
- [8, 23],
- [8, 24]
+ [9, 8],
+ [10, 8],
+ [11, 8],
+ [12, 8],
+ [13, 8],
+ [14, 8],
+ [15, 8],
+ [16, 8],
+ [17, 8],
+ [18, 8],
+ [19, 8],
+ [20, 8],
+ [21, 8],
+ [22, 8],
+ [23, 8],
+ [24, 8]
]
]
},
diff --git a/public/assets/missions/02_the_turn.json b/public/assets/missions/02_the_turn.json
index 19fcf1a..f0e8e6b 100644
--- a/public/assets/missions/02_the_turn.json
+++ b/public/assets/missions/02_the_turn.json
@@ -1,6 +1,6 @@
{
"name": "The Turn",
- "description": "A winding path presents new defensive challenges. Watch out for quick enemies!",
+ "description": "Start using some better strategies for this one.",
"mapImage": {
"url": "/assets/maps/02_the_turn.png"
},
@@ -41,17 +41,40 @@
[10, 4],
[11, 4],
[12, 4],
- [11, 6],
- [11, 7],
- [11, 8],
- [11, 9],
+ [12, 5],
+ [12, 6],
+ [12, 7],
+ [12, 8],
+ [12, 9],
+ [12, 10],
[11, 10],
- [11, 11],
- [2, 10],
- [2, 11],
- [2, 12],
- [2, 13],
- [2, 14],
+ [10, 10],
+ [9, 10],
+ [8, 10],
+ [7, 10],
+ [6, 10],
+ [5, 10],
+ [4, 10],
+ [3, 10],
+ [3, 11],
+ [3, 12],
+ [3, 13],
+ [3, 14],
+ [4, 14],
+ [5, 14],
+ [6, 14],
+ [7, 14],
+ [8, 14],
+ [9, 14],
+ [10, 14],
+ [11, 14],
+ [12, 14],
+ [13, 14],
+ [14, 14],
+ [15, 14],
+ [16, 14],
+ [17, 14],
+ [18, 14],
[19, 14],
[20, 14],
[20, 13],
@@ -63,7 +86,10 @@
[20, 7],
[20, 6],
[20, 5],
- [20, 4]
+ [21, 5],
+ [22, 5],
+ [23, 5],
+ [24, 5]
]
]
},
@@ -73,30 +99,30 @@
{
"firstCreepSpawnTick": 500,
"spawnIntervalTicks": 1000,
- "creeps": [0, 0, 0, 0]
- },
- {
- "firstCreepSpawnTick": 5000,
- "spawnIntervalTicks": 800,
- "creeps": [1, 1, 1]
+ "creeps": [0, 0, 0, 0, 0]
}
],
- "offeredGems": [0, 1]
+ "offeredGems": [0, 0, 0, 0]
},
{
"waves": [
{
"firstCreepSpawnTick": 500,
- "spawnIntervalTicks": 800,
- "creeps": [0, 1, 0, 1, 0]
- },
- {
- "firstCreepSpawnTick": 5000,
- "spawnIntervalTicks": 600,
- "creeps": [1, 1, 1, 1]
+ "spawnIntervalTicks": 1000,
+ "creeps": [1, 1, 1, 1, 1]
}
],
- "offeredGems": [0, 1, 2]
+ "offeredGems": [0, 1, 2, 3]
+ },
+ {
+ "waves": [
+ {
+ "firstCreepSpawnTick": 500,
+ "spawnIntervalTicks": 1000,
+ "creeps": [2, 2, 2, 2, 2]
+ }
+ ],
+ "offeredGems": [0, 1, 2, 3]
}
]
}
diff --git a/public/assets/missions/03_fork_in_the_road.json b/public/assets/missions/03_fork_in_the_road.json
index ff4b9e7..46bf5b8 100644
--- a/public/assets/missions/03_fork_in_the_road.json
+++ b/public/assets/missions/03_fork_in_the_road.json
@@ -28,66 +28,66 @@
],
"paths": [
[
- [8, 0],
- [8, 1],
- [8, 2],
- [8, 3],
- [8, 4],
- [8, 5],
- [8, 6],
- [8, 7],
- [8, 8],
- [7, 8],
- [6, 8],
- [5, 8],
+ [0, 8],
+ [1, 8],
+ [2, 8],
+ [3, 8],
[4, 8],
- [4, 9],
- [4, 10],
- [4, 11],
- [4, 12],
- [4, 13],
- [4, 14],
- [4, 15],
- [4, 16],
- [4, 17],
- [4, 18],
- [4, 19],
- [4, 20],
- [4, 21],
- [4, 22],
- [4, 23],
- [4, 24]
+ [5, 8],
+ [6, 8],
+ [7, 8],
+ [8, 8],
+ [8, 7],
+ [8, 6],
+ [8, 5],
+ [8, 4],
+ [9, 4],
+ [10, 4],
+ [11, 4],
+ [12, 4],
+ [13, 4],
+ [14, 4],
+ [15, 4],
+ [16, 4],
+ [17, 4],
+ [18, 4],
+ [19, 4],
+ [20, 4],
+ [21, 4],
+ [22, 4],
+ [23, 4],
+ [24, 4]
],
[
- [8, 0],
- [8, 1],
- [8, 2],
- [8, 3],
- [8, 4],
- [8, 5],
- [8, 6],
- [8, 7],
+ [0, 8],
+ [1, 8],
+ [2, 8],
+ [3, 8],
+ [4, 8],
+ [5, 8],
+ [6, 8],
+ [7, 8],
[8, 8],
- [9, 8],
- [10, 8],
- [11, 8],
- [12, 8],
- [12, 9],
- [12, 10],
- [12, 11],
+ [8, 9],
+ [8, 10],
+ [8, 11],
+ [8, 12],
+ [9, 12],
+ [10, 12],
+ [11, 12],
[12, 12],
- [12, 13],
- [12, 14],
- [12, 15],
- [12, 16],
- [12, 17],
- [12, 18],
- [12, 19],
- [12, 20],
- [12, 21],
- [12, 22],
- [12, 23],
- [12, 24]
+ [13, 12],
+ [14, 12],
+ [15, 12],
+ [16, 12],
+ [17, 12],
+ [18, 12],
+ [19, 12],
+ [20, 12],
+ [21, 12],
+ [22, 12],
+ [23, 12],
+ [24, 12]
]
]
},
diff --git a/public/assets/missions/mission_01.json b/public/assets/missions/mission_01.json
deleted file mode 100644
index a997e15..0000000
--- a/public/assets/missions/mission_01.json
+++ /dev/null
@@ -1,128 +0,0 @@
-{
- "name": "Mission 1",
- "description": "This is the first mission",
- "mapImage": {
- "url": "/assets/maps/mission_01.png"
- },
- "gameMap": {
- "rows": 17,
- "columns": 25,
- "cells": [
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
- ],
- "paths": [
- [
- [0, 4],
- [1, 4],
- [2, 4],
- [3, 4],
- [4, 4],
- [5, 4],
- [6, 4],
- [7, 4],
- [8, 4],
- [9, 4],
- [10, 4],
- [11, 4],
- [12, 4],
- [12, 5],
- [12, 6],
- [12, 7],
- [12, 8],
- [12, 9],
- [12, 10],
- [11, 10],
- [10, 10],
- [9, 10],
- [8, 10],
- [7, 10],
- [6, 10],
- [5, 10],
- [4, 10],
- [3, 10],
- [3, 11],
- [3, 12],
- [3, 13],
- [3, 14],
- [4, 14],
- [5, 14],
- [6, 14],
- [7, 14],
- [8, 14],
- [9, 14],
- [10, 14],
- [11, 14],
- [12, 14],
- [13, 14],
- [14, 14],
- [15, 14],
- [16, 14],
- [17, 14],
- [18, 14],
- [19, 14],
- [20, 14],
- [20, 13],
- [20, 12],
- [20, 11],
- [20, 10],
- [20, 9],
- [20, 8],
- [20, 7],
- [20, 6],
- [20, 5],
- [21, 5],
- [22, 5],
- [23, 5],
- [24, 5]
- ]
- ]
- },
- "rounds": [
- {
- "waves": [
- {
- "firstCreepSpawnTick": 500,
- "spawnIntervalTicks": 1000,
- "creeps": [0, 0, 0, 0, 0]
- }
- ],
- "offeredGems": [0, 0, 0, 0]
- },
- {
- "waves": [
- {
- "firstCreepSpawnTick": 500,
- "spawnIntervalTicks": 1000,
- "creeps": [1, 1, 1, 1, 1]
- }
- ],
- "offeredGems": [0, 1, 2, 3]
- },
- {
- "waves": [
- {
- "firstCreepSpawnTick": 500,
- "spawnIntervalTicks": 1000,
- "creeps": [2, 2, 2, 2, 2]
- }
- ],
- "offeredGems": [0, 1, 2, 3]
- }
- ]
-}
diff --git a/public/maps.tiled-session b/public/maps.tiled-session
index 1407999..404fdbb 100644
--- a/public/maps.tiled-session
+++ b/public/maps.tiled-session
@@ -55,51 +55,51 @@
}
},
"tiled/01_first_steps.tmx": {
- "scale": 0.75,
+ "scale": 0.33,
"selectedLayer": 0,
"viewCenter": {
- "x": 800.6666666666665,
- "y": 543.3333333333333
+ "x": 639.3939393939394,
+ "y": 433.33333333333326
}
},
"tiled/02_the_turn.tmx": {
- "scale": 1,
+ "scale": 0.33,
"selectedLayer": 0,
"viewCenter": {
- "x": 800.5,
- "y": 543.5
+ "x": 869.6969696969697,
+ "y": 203.03030303030323
}
},
"tiled/03_fork_in_the_road.tmx": {
- "scale": 1,
+ "scale": 0.33,
"selectedLayer": 0,
"viewCenter": {
- "x": 800.5,
- "y": 543.5
+ "x": 2693.9393939393935,
+ "y": 239.3939393939395
}
},
"tiled/04_crossroads.tmx": {
"scale": 1,
"selectedLayer": 0,
"viewCenter": {
- "x": 800.5,
- "y": 543.5
+ "x": 646.5,
+ "y": 543
}
},
"tiled/05_the_maze.tmx": {
- "scale": 1.6494375,
+ "scale": 0.5,
"selectedLayer": 0,
"viewCenter": {
- "x": 799.9696866355955,
- "y": 544.1248910613467
+ "x": 896,
+ "y": 406
}
},
"tiled/06_multiple_fronts.tmx": {
- "scale": 1.6494375,
+ "scale": 0.75,
"selectedLayer": 0,
"viewCenter": {
- "x": 799.9696866355955,
- "y": 544.1248910613467
+ "x": 873.3333333333333,
+ "y": 474.6666666666666
}
},
"tiled/Mission01.tmx": {
@@ -107,7 +107,7 @@
"selectedLayer": 0,
"viewCenter": {
"x": 833,
- "y": 628.5
+ "y": 629
}
}
},
@@ -115,7 +115,7 @@
"last.externalTilesetPath": "/home/koneko/Programing/js/towerdefense/public",
"map.height": 17,
"map.lastUsedExportFilter": "All Files (*)",
- "map.lastUsedFormat": "json",
+ "map.lastUsedFormat": "tmx",
"map.tileHeight": 64,
"map.tileWidth": 64,
"map.width": 25,
@@ -130,13 +130,13 @@
],
"project": "maps.tiled-project",
"recentFiles": [
+ "tiled/Mission01.tmx",
"tiled/04_crossroads.tmx",
"tiled/05_the_maze.tmx",
"tiled/06_multiple_fronts.tmx",
"tiled/03_fork_in_the_road.tmx",
"tiled/02_the_turn.tmx",
"tiled/01_first_steps.tmx",
- "tiled/Mission01.tmx",
"tiled/01_first_steps..tmx",
"Mission011.tmx",
"Tileset.tsx",
diff --git a/public/tiled/06_multiple_fronts.tmx b/public/tiled/06_multiple_fronts.tmx
index f93c5c1..11fee87 100644
--- a/public/tiled/06_multiple_fronts.tmx
+++ b/public/tiled/06_multiple_fronts.tmx
@@ -1,5 +1,5 @@
-