diff --git a/assets/99boy-tiles.png b/assets/99boy-tiles.png index fed788e..8352582 100644 Binary files a/assets/99boy-tiles.png and b/assets/99boy-tiles.png differ diff --git a/assets/NNDungeon.json b/assets/NNDungeon.json index 45c326e..0d2b0f1 100644 --- a/assets/NNDungeon.json +++ b/assets/NNDungeon.json @@ -14,13 +14,13 @@ 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, - 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, - 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, - 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, - 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58], + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "height":16, "width":16, "x":0, @@ -30,17 +30,17 @@ "data":[1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, + 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 29, + 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 39, 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, - 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, - 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, + 71, 72, 73, 76, 77, 72, 73, 74, 75, 76, 72, 73, 76, 77, 77, 78, + 1, 2, 3, 6, 7, 2, 3, 4, 5, 6, 3, 6, 7, 6, 7, 8, + 11, 12, 13, 16, 17, 12, 13, 14, 15, 16, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, + 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 29, + 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 39, 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58], "height":16, @@ -52,8 +52,8 @@ "data":[1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, + 2147483677, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 29, + 2147483687, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 39, 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, @@ -61,8 +61,8 @@ 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, + 2147483677, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 29, + 2147483687, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 39, 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58], "height":16, @@ -74,8 +74,8 @@ "data":[1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, + 2147483677, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, + 2147483687, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, @@ -83,8 +83,8 @@ 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, + 2147483677, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, + 2147483687, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58], "height":16, @@ -93,8 +93,8 @@ "y":0 }, { - "data":[61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, - 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, @@ -103,9 +103,9 @@ 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, - 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, - 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, + 71, 72, 73, 76, 77, 72, 73, 74, 75, 76, 72, 73, 76, 77, 77, 78, + 1, 2, 3, 6, 7, 2, 3, 4, 5, 2, 3, 6, 7, 6, 7, 8, + 11, 12, 13, 16, 17, 12, 13, 14, 15, 12, 13, 16, 17, 16, 17, 18, 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48], @@ -148,11 +148,11 @@ 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, - 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, - 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48], + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "height":16, "width":16, "x":32, @@ -160,21 +160,21 @@ }, { "data":[61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, - 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, - 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, - 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, + 71, 72, 73, 76, 77, 72, 73, 74, 75, 76, 72, 73, 76, 77, 77, 78, + 1, 2, 3, 6, 7, 2, 105, 106, 107, 108, 3, 6, 7, 6, 7, 8, + 11, 12, 13, 16, 17, 12, 115, 116, 117, 118, 13, 16, 17, 16, 17, 18, + 21, 22, 23, 24, 24, 25, 125, 126, 127, 128, 24, 25, 25, 26, 27, 28, 2147483677, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, 2147483687, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48, 41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 1, 2, 3, 6, 7, 2, 3, 6, 7, 2, 3, 6, 7, 6, 7, 8, - 11, 12, 13, 16, 17, 12, 13, 16, 17, 12, 13, 16, 17, 16, 17, 18, - 21, 22, 23, 24, 24, 25, 24, 25, 24, 25, 24, 25, 25, 26, 27, 28, - 21, 32, 33, 34, 34, 35, 34, 35, 34, 35, 34, 35, 35, 36, 37, 38, - 31, 42, 43, 44, 44, 45, 44, 45, 44, 45, 44, 45, 45, 46, 47, 48], + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "height":16, "width":16, "x":48, @@ -223,50 +223,6 @@ "width":16, "x":16, "y":32 - }, - { - "data":[41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, - 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, - 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, - 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - "height":16, - "width":16, - "x":32, - "y":32 - }, - { - "data":[41, 42, 43, 54, 54, 55, 54, 55, 54, 55, 54, 55, 54, 46, 47, 48, - 51, 52, 53, 64, 64, 65, 64, 65, 64, 65, 64, 65, 64, 56, 57, 58, - 61, 62, 63, 63, 63, 64, 65, 63, 64, 65, 63, 64, 65, 66, 67, 68, - 71, 72, 73, 76, 77, 72, 73, 76, 77, 72, 72, 73, 76, 77, 77, 78, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], - "height":16, - "width":16, - "x":48, - "y":32 }], "height":48, "id":1, @@ -304,6 +260,50 @@ "x":0, "y":0 }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 130, 0, 20, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 140, 80, 0, 0, 0, + 0, 0, 0, 0, 0, 129, 129, 129, 129, 0, 0, 0, 0, 0, 70, 0, + 0, 0, 0, 0, 0, 139, 139, 139, 139, 0, 0, 0, 0, 150, 0, 0, + 0, 0, 0, 0, 0, 129, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0], + "height":16, + "width":16, + "x":48, + "y":0 + }, + { + "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 83, 84, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 93, 94, 88, 89, 88, 89, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 60, 0, 98, 99, 98, 99, 0, 0, + 0, 0, 0, 0, 0, 60, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 50, 79, 0, 0, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 84, 83, 84, 0, 0, + 0, 85, 86, 87, 88, 89, 10, 0, 0, 10, 93, 94, 93, 94, 0, 0, + 0, 95, 96, 97, 98, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 10, 0, 10, 88, 89, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":16, + "width":16, + "x":0, + "y":16 + }, { "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, @@ -327,11 +327,11 @@ "y":16 }, { - "data":[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, + "data":[0, 0, 0, 0, 0, 139, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 0, + 0, 0, 0, 0, 0, 0, 101, 102, 103, 104, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 111, 112, 113, 114, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 121, 122, 123, 124, 0, 0, 0, 0, 30, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3758096403, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 0, 0, 0, 0, 0, 0, 0, 1610612755, 0, 0, 0, 0, @@ -348,6 +348,28 @@ "x":48, "y":16 }, + { + "data":[0, 20, 0, 20, 98, 99, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 10, 0, 10, 19, 2147483667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], + "height":16, + "width":16, + "x":0, + "y":32 + }, { "data":[0, 40, 0, 0, 0, 0, 0, 0, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 30, 0, @@ -388,7 +410,7 @@ "name":"enemies", "objects":[ { - "gid":101, + "gid":201, "height":100, "id":1, "name":"", @@ -411,7 +433,7 @@ "y":2200 }, { - "gid":111, + "gid":211, "height":100, "id":2, "name":"", @@ -434,7 +456,7 @@ "y":2300 }, { - "gid":101, + "gid":201, "height":100, "id":3, "name":"", @@ -457,7 +479,7 @@ "y":2130 }, { - "gid":101, + "gid":201, "height":100, "id":4, "name":"", @@ -480,7 +502,7 @@ "y":2578 }, { - "gid":113, + "gid":213, "height":100, "id":5, "name":"", @@ -493,7 +515,7 @@ { "name":"patrolY", "type":"int", - "value":400 + "value":300 }], "rotation":0, "type":"", @@ -503,7 +525,7 @@ "y":2290 }, { - "gid":113, + "gid":213, "height":100, "id":7, "name":"", @@ -526,7 +548,7 @@ "y":2100 }, { - "gid":113, + "gid":213, "height":100, "id":8, "name":"", @@ -539,7 +561,7 @@ { "name":"patrolY", "type":"int", - "value":-500 + "value":-400 }], "rotation":0, "type":"", @@ -549,7 +571,7 @@ "y":2600 }, { - "gid":101, + "gid":201, "height":100, "id":9, "name":"", @@ -572,7 +594,7 @@ "y":2500 }, { - "gid":111, + "gid":211, "height":100, "id":10, "name":"", @@ -593,6 +615,231 @@ "width":100, "x":5600, "y":2300 + }, + { + "gid":213, + "height":100, + "id":11, + "name":"", + "properties":[ + { + "name":"fire", + "type":"int", + "value":300 + }, + { + "name":"patrolY", + "type":"int", + "value":500 + }], + "rotation":0, + "type":"", + "visible":true, + "width":100, + "x":300, + "y":2100 + }, + { + "gid":213, + "height":100, + "id":13, + "name":"", + "properties":[ + { + "name":"fire", + "type":"int", + "value":300 + }, + { + "name":"patrolY", + "type":"int", + "value":-300 + }], + "rotation":0, + "type":"", + "visible":true, + "width":100, + "x":400, + "y":2500 + }, + { + "gid":213, + "height":100, + "id":14, + "name":"", + "properties":[ + { + "name":"fire", + "type":"int", + "value":300 + }, + { + "name":"patrolY", + "type":"int", + "value":-400 + }], + "rotation":0, + "type":"", + "visible":true, + "width":100, + "x":700, + "y":2600 + }, + { + "gid":217, + "height":100, + "id":15, + "name":"", + "properties":[ + { + "name":"fastShot", + "type":"bool", + "value":true + }, + { + "name":"garbage", + "type":"bool", + "value":true + }, + { + "name":"patrolX", + "type":"int", + "value":-1000 + }, + { + "name":"speed", + "type":"int", + "value":75 + }], + "rotation":0, + "type":"", + "visible":true, + "width":100, + "x":1300, + "y":3500 + }, + { + "gid":215, + "height":100, + "id":16, + "name":"", + "properties":[ + { + "name":"fastShot", + "type":"bool", + "value":true + }, + { + "name":"garbage", + "type":"bool", + "value":true + }, + { + "name":"patrolY", + "type":"int", + "value":500 + }, + { + "name":"speed", + "type":"int", + "value":350 + }], + "rotation":0, + "type":"", + "visible":true, + "width":100, + "x":1300, + "y":3000 + }, + { + "gid":241, + "height":100, + "id":21, + "name":"", + "properties":[ + { + "name":"NNBoss", + "type":"bool", + "value":true + }, + { + "name":"garbage", + "type":"bool", + "value":true + }, + { + "name":"health", + "type":"int", + "value":3 + }, + { + "name":"patrolY", + "type":"int", + "value":350 + }], + "rotation":0, + "type":"", + "visible":true, + "width":100, + "x":4500, + "y":300 + }], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + }, + { + "draworder":"topdown", + "id":4, + "name":"zones", + "objects":[], + "opacity":1, + "type":"objectgroup", + "visible":true, + "x":0, + "y":0 + }, + { + "draworder":"topdown", + "id":5, + "name":"interactive", + "objects":[ + { + "gid":110, + "height":100, + "id":19, + "name":"key", + "properties":[ + { + "name":"key", + "type":"bool", + "value":true + }], + "rotation":0, + "type":"", + "visible":true, + "width":100, + "x":198, + "y":3036 + }, + { + "height":138, + "id":20, + "name":"", + "properties":[ + { + "name":"lock", + "type":"bool", + "value":true + }], + "rotation":0, + "type":"", + "visible":true, + "width":400, + "x":5400, + "y":2000 }], "opacity":1, "type":"objectgroup", @@ -600,8 +847,8 @@ "x":0, "y":0 }], - "nextlayerid":4, - "nextobjectid":11, + "nextlayerid":6, + "nextobjectid":22, "orientation":"orthogonal", "renderorder":"right-down", "tiledversion":"1.11.2", @@ -611,12 +858,12 @@ "columns":10, "firstgid":1, "image":"dungeon-tiles.png", - "imageheight":1000, + "imageheight":2000, "imagewidth":1000, "margin":0, "name":"dungeon-tiles", "spacing":0, - "tilecount":100, + "tilecount":200, "tileheight":100, "tiles":[ { @@ -1016,12 +1263,197 @@ "type":"string", "value":"true" }] + }, + { + "id":100, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":101, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":102, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":103, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + + { + "id":104, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }] + }, + { + "id":107, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }] + }, + { + "id":110, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":111, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":112, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":113, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }, + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":114, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }] + }, + { + "id":117, + "properties":[ + { + "name":"collides", + "type":"bool", + "value":true + }] + }, + { + "id":120, + "properties":[ + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":121, + "properties":[ + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":122, + "properties":[ + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] + }, + { + "id":123, + "properties":[ + { + "name":"lockedDoor", + "type":"bool", + "value":true + }] }], "tilewidth":100 }, { "columns":10, - "firstgid":101, + "firstgid":201, "image":"99boy-tiles.png", "imageheight":1000, "imagewidth":1000, diff --git a/assets/dungeon-tiles.png b/assets/dungeon-tiles.png index 2dc3f1e..032e35b 100644 Binary files a/assets/dungeon-tiles.png and b/assets/dungeon-tiles.png differ diff --git a/raw/99boy-tiles.psd b/raw/99boy-tiles.psd index 4ae7026..d987c6c 100644 Binary files a/raw/99boy-tiles.psd and b/raw/99boy-tiles.psd differ diff --git a/raw/NNDungeon.tmx b/raw/NNDungeon.tmx index ac6049e..24b6f53 100644 --- a/raw/NNDungeon.tmx +++ b/raw/NNDungeon.tmx @@ -1,10 +1,10 @@ - + - - + + @@ -225,8 +225,96 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -241,83 +329,83 @@ 51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, 61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, 71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, 11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, 21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, -61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, -71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58 - - -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, -61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, -71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58 - - -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, -61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, -71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58 - - -61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, -71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, 21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,29, 31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,39, 41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, 51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, 61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, +71,72,73,76,77,72,73,74,75,76,72,73,76,77,77,78, +1,2,3,6,7,2,3,4,5,6,3,6,7,6,7,8, +11,12,13,16,17,12,13,14,15,16,13,16,17,16,17,18, +21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, +21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,29, +31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,39, +41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, +51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58 + + +1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, +11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, +21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, +2147483677,32,33,34,34,35,34,35,34,35,34,35,35,36,37,29, +2147483687,42,43,44,44,45,44,45,44,45,44,45,45,46,47,39, +41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, +51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, +61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, 71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, 1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, 11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, 21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, +2147483677,32,33,34,34,35,34,35,34,35,34,35,35,36,37,29, +2147483687,42,43,44,44,45,44,45,44,45,44,45,45,46,47,39, +41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, +51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58 + + +1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, +11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, +21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, +2147483677,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, +2147483687,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, +41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, +51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, +61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, +71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, +1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, +11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, +21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, +2147483677,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, +2147483687,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, +41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, +51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58 + + +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, +11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, +21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, +21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,29, +31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,39, +41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, +51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, +61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, +71,72,73,76,77,72,73,74,75,76,72,73,76,77,77,78, +1,2,3,6,7,2,3,4,5,2,3,6,7,6,7,8, +11,12,13,16,17,12,13,14,15,12,13,16,17,16,17,18, +21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, 21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, 31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48 @@ -351,29 +439,29 @@ 51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, 61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, 71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, -71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, +71,72,73,76,77,72,73,74,75,76,72,73,76,77,77,78, +1,2,3,6,7,2,105,106,107,108,3,6,7,6,7,8, +11,12,13,16,17,12,115,116,117,118,13,16,17,16,17,18, +21,22,23,24,24,25,125,126,127,128,24,25,25,26,27,28, 2147483677,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, 2147483687,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48, 41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, 51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, 61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, 71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -1,2,3,6,7,2,3,6,7,2,3,6,7,6,7,8, -11,12,13,16,17,12,13,16,17,12,13,16,17,16,17,18, -21,22,23,24,24,25,24,25,24,25,24,25,25,26,27,28, -21,32,33,34,34,35,34,35,34,35,34,35,35,36,37,38, -31,42,43,44,44,45,44,45,44,45,44,45,45,46,47,48 +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, @@ -410,42 +498,6 @@ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 - - -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, -61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, -71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 - - -41,42,43,54,54,55,54,55,54,55,54,55,54,46,47,48, -51,52,53,64,64,65,64,65,64,65,64,65,64,56,57,58, -61,62,63,63,63,64,65,63,64,65,63,64,65,66,67,68, -71,72,73,76,77,72,73,76,77,72,72,73,76,77,77,78, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 @@ -468,6 +520,42 @@ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 + + +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,120,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,120,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,130,0,20,0,0, +0,0,0,0,0,0,0,0,0,0,0,140,80,0,0,0, +0,0,0,0,0,129,129,129,129,0,0,0,0,0,70,0, +0,0,0,0,0,139,139,139,139,0,0,0,0,150,0,0, +0,0,0,0,0,129,0,0,0,0,0,0,0,160,0,0 + + +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,83,84,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,93,94,88,89,88,89,0,0, +0,0,0,0,0,0,0,0,60,0,98,99,98,99,0,0, +0,0,0,0,0,60,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,50,79,0,0,80,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,83,84,83,84,0,0, +0,85,86,87,88,89,10,0,0,10,93,94,93,94,0,0, +0,95,96,97,98,99,0,0,0,0,0,0,0,0,0,0, +0,10,0,10,88,89,0,0,0,0,0,0,0,0,0,0 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, @@ -488,11 +576,11 @@ 0,0,0,0,0,0,0,0,0,0,0,0,100,0,0,0 -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,0,0,0,0,0,0,30,0, +0,0,0,0,0,139,0,0,0,0,0,0,0,160,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,160,0,0, +0,0,0,0,0,0,101,102,103,104,0,0,0,0,0,0, +0,0,0,0,0,0,111,112,113,114,0,0,0,0,0,0, +0,0,0,0,0,0,121,122,123,124,0,0,0,0,30,0, 0,0,0,19,0,0,0,0,0,0,0,19,0,0,0,0, 0,0,0,0,0,0,0,3758096403,0,0,0,0,0,0,0,0, 0,0,0,19,0,0,0,0,0,0,0,1610612755,0,0,0,0, @@ -504,6 +592,24 @@ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 + + +0,20,0,20,98,99,0,0,0,0,0,0,0,0,0,0, +0,10,0,10,19,2147483667,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 0,40,0,0,0,0,0,0,0,70,0,0,0,0,0,0, @@ -526,59 +632,114 @@ - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/raw/Tile-Project-Legends.tiled-session b/raw/Tile-Project-Legends.tiled-session index 24255dc..78a6d3a 100644 --- a/raw/Tile-Project-Legends.tiled-session +++ b/raw/Tile-Project-Legends.tiled-session @@ -13,22 +13,29 @@ "scaleInEditor": 1 }, "NNDungeon.tmx": { - "scale": 0.5, - "selectedLayer": 1, + "expandedObjectLayers": [ + 5, + 3 + ], + "scale": 0.33, + "selectedLayer": 2, "viewCenter": { - "x": 2465, - "y": 2014 + "x": 3886.363636363636, + "y": 1003.0303030303032 } }, + "NNDungeon.tmx#99boy-tiles": { + "scaleInDock": 1 + }, "NNDungeon.tmx#dungeon-tiles": { - "scaleInDock": 0.5 + "scaleInDock": 0.33 }, "gluch.tmx": { "scale": 0.5, "selectedLayer": 1, "viewCenter": { - "x": 1600, - "y": 3201 + "x": 1601, + "y": 3202 } }, "gluch.tmx#gulch-tiles": { @@ -41,8 +48,8 @@ "scale": 0.33, "selectedLayer": 2, "viewCenter": { - "x": 3306.060606060606, - "y": 3198.4848484848485 + "x": 3634.848484848485, + "y": 4763.636363636364 } }, "gulch.tmx#99boy-tiles": { @@ -65,15 +72,14 @@ "map.width": 16, "openFiles": [ "gulch.tmx", - "gluch.tmx", "NNDungeon.tmx" ], "project": "Tile-Project-Legends.tiled-project", "property.type": "int", "recentFiles": [ "gulch.tmx", - "gluch.tmx", - "NNDungeon.tmx" + "NNDungeon.tmx", + "gluch.tmx" ], "tileset.embedInMap": true, "tileset.tileSize": { diff --git a/raw/dungeon-tiles.psd b/raw/dungeon-tiles.psd index 9913d35..8ab8b03 100644 Binary files a/raw/dungeon-tiles.psd and b/raw/dungeon-tiles.psd differ diff --git a/src/characters/99boy.js b/src/characters/99boy.js index a19d6fd..7996a57 100644 --- a/src/characters/99boy.js +++ b/src/characters/99boy.js @@ -26,6 +26,7 @@ export class NNBoy extends Phaser.GameObjects.Sprite { this.dropHeartOneIn = 3; this.garbage = false; this.onPause = false; + this.health = 1; // Create animations this.anims.create({ @@ -70,18 +71,21 @@ export class NNBoy extends Phaser.GameObjects.Sprite { // Vertical boundaries if (this.topBoundary !== 0) { - if (this.body.blocked.up || this.body.y <= this.topBoundary) { + if (this.body.touching.up || this.body.y <= this.topBoundary) { this.body.setVelocityY(this.speed); - } else if (this.body.blocked.down || this.body.y >= this.bottomBoundary) { + } else if (this.body.touching.down || this.body.y >= this.bottomBoundary) { this.body.setVelocityY(-this.speed); } } // Prevent falling off the platform - if (this.body.velocity.x === 0 && this.body.velocity.y === 0) { + if (this.body.velocity.x === 0 && this.leftBoundary!== 0) { this.body.setVelocityX(this.speed); this.flipX = true; } + if (this.body.velocity.y === 0 && this.bottomBoundary!== 0) { + this.body.setVelocityY(this.speed); + } } // Example: Following the player @@ -97,32 +101,47 @@ export class NNBoy extends Phaser.GameObjects.Sprite { // Example: Enemy taking damage takeDamage() { - let dropHeart = Math.floor(Math.random() * this.dropHeartOneIn); - if (dropHeart === 1) { - let heart = this.scene.physics.add.image(this.x, this.y, 'heart-full').setScale(.5); - this.scene.hearts.add(heart); - this.scene.tweens.add({ - targets: heart, - scale: 0.8, - duration: 1000, - ease: 'Power1', - yoyo: true, - repeat: -1 - }); - } - // Create a tween that scales the enemy's body on Y-axis to 10 - let variance = Math.floor(Math.random() * 2); - this.scene.sound.play('99boy-defeat-'+variance); - this.scene.tweens.add({ - targets: this, - scaleY: .2, - duration: 200, // Duration of the animation in milliseconds - ease: 'Power1', - onComplete: () => { - // Destroy the enemy after the animation completes - this.destroy(); + if (this.health === 1) { + let dropHeart = Math.floor(Math.random() * this.dropHeartOneIn); + if (dropHeart === 1) { + let heart = this.scene.physics.add.image(this.x, this.y, 'heart-full').setScale(.5); + this.scene.hearts.add(heart); + this.scene.tweens.add({ + targets: heart, + scale: 0.8, + duration: 1000, + ease: 'Power1', + yoyo: true, + repeat: -1 + }); } - }); + // Create a tween that scales the enemy's body on Y-axis to 10 + let variance = Math.floor(Math.random() * 2); + this.scene.sound.play('99boy-defeat-'+variance); + this.scene.tweens.add({ + targets: this, + scaleY: .2, + duration: 200, // Duration of the animation in milliseconds + ease: 'Power1', + onComplete: () => { + // Destroy the enemy after the animation completes + this.destroy(); + } + }); + } else { + this.body.setVelocity(0, 0); + this.health --; + if (this.health === 2) { + this.shoots = true; + this.bottleReload = 1200; + this.speed += 200; + } + if (this.health === 1) { + this.bottleReload = 800; + this.speed += 200; + this.bottleReloadVariance = 1000; + } + } } fireBullet() { diff --git a/src/characters/player.js b/src/characters/player.js index e5fe703..20a3de8 100644 --- a/src/characters/player.js +++ b/src/characters/player.js @@ -302,4 +302,29 @@ export class Player extends Phaser.GameObjects.Sprite { startLivesX += 48; } } + + addItemToInventory(itemKey) { + if (!this.inventory[itemKey]) { + this.inventory[itemKey] = 1; // Create the item with a quantity of 1 + } else { + this.inventory[itemKey]++; // Increment the quantity if it already exists + } + } + + removeItemFromInventory(itemKey) { + if (this.inventory[itemKey]) { + this.inventory[itemKey]--; + if (this.inventory[itemKey] <= 0) { + delete this.inventory[itemKey]; // Remove the item if its quantity is zero or less + } + } + } + + hasItem(itemKey) { + return this.inventory[itemKey] && this.inventory[itemKey] > 0; + } + + getInventory() { + return this.inventory; // Return a copy of the inventory to prevent direct modification + } } \ No newline at end of file