From a8610d790bcd334f5eca27c87e2065ece683fa6a Mon Sep 17 00:00:00 2001 From: Lucy Veron Date: Sat, 22 Jun 2019 14:07:56 +0200 Subject: added animated tiles with attributes --- resources/map.tmx | 76 ++++++++++++++++++++++++++++++++++++++++---------- resources/tileset.png | Bin 11611 -> 9673 bytes resources/tileset.tsx | 16 +++++++++-- 3 files changed, 76 insertions(+), 16 deletions(-) (limited to 'resources') diff --git a/resources/map.tmx b/resources/map.tmx index aa9a7b3..bbc808e 100644 --- a/resources/map.tmx +++ b/resources/map.tmx @@ -1,7 +1,7 @@ - - - + + + @@ -14,7 +14,7 @@ 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, -1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,2,2,2,2, +1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2, 1,1,1,1,1,1,1,1,2,2,2,2,1,1,1,1,1,1,2,2, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2, 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, @@ -30,19 +30,19 @@ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -6,7,6,7,6,7,6,7,0,0,0,0,0,6,7,6,7,6,7,6, 11,12,11,12,11,12,11,12,0,0,0,0,0,11,12,11,12,11,12,11, -16,17,16,17,16,17,16,17,0,0,0,0,0,16,17,16,17,16,17,16, 21,22,21,22,21,22,21,22,0,0,0,0,0,21,22,21,22,21,22,21, +31,32,31,32,31,32,31,32,0,0,0,0,0,31,32,31,32,31,32,31, +41,42,41,42,41,42,41,42,0,0,0,0,0,41,42,41,42,41,42,41, 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -0,0,0,0,0,0,0,0,9,10,18,19,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 + + + + +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,15,25,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, +0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 diff --git a/resources/tileset.png b/resources/tileset.png index 8e6fe47..01261d0 100644 Binary files a/resources/tileset.png and b/resources/tileset.png differ diff --git a/resources/tileset.tsx b/resources/tileset.tsx index 97644fc..2c43505 100644 --- a/resources/tileset.tsx +++ b/resources/tileset.tsx @@ -1,4 +1,16 @@ - - + + + + + + + + + + + + + + -- cgit v1.2.3 From 99c6e61a2b8fe66dcef7eada525f6fbdd7a2cd00 Mon Sep 17 00:00:00 2001 From: Lucy Veron Date: Sat, 22 Jun 2019 14:11:08 +0200 Subject: added animated tiles with attributes --- resources/tileset.tsx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'resources') diff --git a/resources/tileset.tsx b/resources/tileset.tsx index 2c43505..1747cbc 100644 --- a/resources/tileset.tsx +++ b/resources/tileset.tsx @@ -4,12 +4,14 @@ + + -- cgit v1.2.3 From cccfb66c7c58bf464252e942ef2b742b41ece19e Mon Sep 17 00:00:00 2001 From: tom barrett Date: Sat, 22 Jun 2019 10:11:18 -0500 Subject: now draw at the tile level --- resources/tileset.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'resources') diff --git a/resources/tileset.tsx b/resources/tileset.tsx index 1747cbc..2672ec2 100644 --- a/resources/tileset.tsx +++ b/resources/tileset.tsx @@ -1,17 +1,17 @@ - + - + - + -- cgit v1.2.3