diff options
author | Lucy Veron <lucymveron@gmail.com> | 2019-06-15 19:36:14 +0200 |
---|---|---|
committer | Lucy Veron <lucymveron@gmail.com> | 2019-06-15 19:36:14 +0200 |
commit | fefa743fd24626bdd3ea3ef1db09688377321884 (patch) | |
tree | 1c21bf89749a6bc5df4f7c1a8cafd7f687f96d26 | |
parent | 0a485dd5f676bdf87b708c4c0ec44a3a263f25d0 (diff) |
added tiled mapping resource
-rw-r--r-- | resources/dirt.png | bin | 123 -> 0 bytes | |||
-rw-r--r-- | resources/grass.png | bin | 147 -> 0 bytes | |||
-rw-r--r-- | resources/map.tmx | 28 | ||||
-rw-r--r-- | resources/map.txt | 4 | ||||
-rw-r--r-- | resources/tileset.png | bin | 0 -> 669 bytes | |||
-rw-r--r-- | resources/tileset.tsx | 4 |
6 files changed, 32 insertions, 4 deletions
diff --git a/resources/dirt.png b/resources/dirt.png Binary files differdeleted file mode 100644 index 5f5076b..0000000 --- a/resources/dirt.png +++ /dev/null diff --git a/resources/grass.png b/resources/grass.png Binary files differdeleted file mode 100644 index a4e4703..0000000 --- a/resources/grass.png +++ /dev/null diff --git a/resources/map.tmx b/resources/map.tmx new file mode 100644 index 0000000..19762e3 --- /dev/null +++ b/resources/map.tmx @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="UTF-8"?> +<map version="1.2" tiledversion="1.2.3" orientation="orthogonal" renderorder="right-down" width="20" height="20" tilewidth="16" tileheight="16" infinite="0" nextlayerid="2" nextobjectid="1"> + <tileset firstgid="1" source="tileset.tsx"/> + <layer id="1" name="Tile Layer 1" width="20" height="20"> + <data encoding="csv"> +2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, +2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, +2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, +2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, +2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, +2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2, +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,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, +3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, +3,3,3,3,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1, +3,3,3,3,3,3,1,1,1,1,1,1,1,3,3,3,3,3,3,1, +3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, +3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, +3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3, +3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3 +</data> + </layer> +</map> diff --git a/resources/map.txt b/resources/map.txt deleted file mode 100644 index 5d92ba5..0000000 --- a/resources/map.txt +++ /dev/null @@ -1,4 +0,0 @@ -GDGG -DDGG -GGDG -GGDD diff --git a/resources/tileset.png b/resources/tileset.png Binary files differnew file mode 100644 index 0000000..681f505 --- /dev/null +++ b/resources/tileset.png diff --git a/resources/tileset.tsx b/resources/tileset.tsx new file mode 100644 index 0000000..b1a905e --- /dev/null +++ b/resources/tileset.tsx @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<tileset version="1.2" tiledversion="1.2.3" name="tileset" tilewidth="16" tileheight="16" tilecount="3" columns="3"> + <image source="tileset.png" width="48" height="16"/> +</tileset> |