Tilemap loading
This commit is contained in:
parent
7065c24637
commit
27fc010ac6
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.8" tiledversion="1.8.4" name="beach" tilewidth="128" tileheight="128" tilecount="1" columns="0">
|
||||
<grid orientation="orthogonal" width="1" height="1"/>
|
||||
<tile id="0">
|
||||
<image width="128" height="128" source="env_beachTile.png"/>
|
||||
</tile>
|
||||
</tileset>
|
@ -1,7 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.8" tiledversion="1.8.4" name="beachTileSwirly" tilewidth="128" tileheight="128" tilecount="1" columns="0">
|
||||
<grid orientation="orthogonal" width="1" height="1"/>
|
||||
<tile id="0">
|
||||
<image width="128" height="128" source="env_beachTileSwirly.png"/>
|
||||
</tile>
|
||||
</tileset>
|
79
game/dist/map_gameMap.tmx
vendored
79
game/dist/map_gameMap.tmx
vendored
@ -1,74 +1,27 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.8" tiledversion="1.8.4" orientation="orthogonal" renderorder="right-down" width="30" height="20" tilewidth="128" tileheight="128" infinite="1" nextlayerid="2" nextobjectid="1">
|
||||
<tileset firstgid="1" source="assets/env/env_beachTile/beachTile.tsx"/>
|
||||
<tileset firstgid="2" source="assets/env/env_beachTile/beachTileSwirly.tsx"/>
|
||||
<layer id="1" name="Floor" width="30" height="20">
|
||||
<tileset firstgid="1" name="env_beachTile" tilewidth="128" tileheight="128" tilecount="2" columns="0">
|
||||
<grid orientation="orthogonal" width="1" height="1"/>
|
||||
<tile id="0">
|
||||
<image width="128" height="128" source="assets/env/env_beachTile/env_beachTile.png"/>
|
||||
</tile>
|
||||
<tile id="1">
|
||||
<image width="128" height="128" source="assets/env/env_beachTile/env_beachTileSwirly.png"/>
|
||||
</tile>
|
||||
</tileset>
|
||||
<layer id="1" name="Tile Layer 1" width="30" height="20">
|
||||
<data encoding="csv">
|
||||
<chunk x="-16" y="-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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,
|
||||
2,1,1,2,2,0,0,0,0,0,0,0,0,0,0,0,
|
||||
2,1,1,2,2,0,0,0,0,0,0,0,0,0,0,0,
|
||||
1,2,2,1,1,0,0,0,0,0,0,0,0,0,0,0,
|
||||
2,1,1,2,1,0,0,0,0,0,0,0,0,0,0,0
|
||||
</chunk>
|
||||
<chunk x="-16" y="0" width="16" height="16">
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||
</chunk>
|
||||
<chunk x="0" y="0" width="16" height="16">
|
||||
1,2,2,1,1,0,0,0,0,0,0,0,0,0,0,0,
|
||||
2,1,1,2,2,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,2,2,1,1,2,2,0,0,0,0,
|
||||
0,0,0,0,0,0,2,2,1,1,2,2,0,0,0,0,
|
||||
0,0,0,0,0,0,2,1,0,0,1,2,0,0,0,0,
|
||||
0,0,0,0,0,0,2,2,1,1,2,2,0,0,0,0,
|
||||
0,0,0,0,0,0,2,2,1,1,2,2,0,0,0,0,
|
||||
0,0,0,0,0,0,1,1,2,2,1,1,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
|
||||
|
Reference in New Issue
Block a user