Started work on using tiled
This commit is contained in:
BIN
assets/map/entities.png
Normal file
BIN
assets/map/entities.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 268 B |
4
assets/map/entities.tsx
Normal file
4
assets/map/entities.tsx
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.10" tiledversion="1.11.0" name="entities" tilewidth="8" tileheight="8" tilecount="64" columns="8">
|
||||
<image source="entities.png" width="64" height="64"/>
|
||||
</tileset>
|
32
assets/map/testmap.tmx
Normal file
32
assets/map/testmap.tmx
Normal file
@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<map version="1.10" tiledversion="1.11.0" orientation="orthogonal" renderorder="right-down" width="30" height="20" tilewidth="8" tileheight="8" infinite="0" nextlayerid="3" nextobjectid="5">
|
||||
<tileset firstgid="1" source="tilemap.tsx"/>
|
||||
<tileset firstgid="65" source="entities.tsx"/>
|
||||
<layer id="1" name="Map" width="30" height="20" locked="1">
|
||||
<data encoding="csv">
|
||||
1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,
|
||||
1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,
|
||||
1,1,1,1,1,1,2,2,2,2,2,2,6,6,6,6,6,2,2,2,2,2,2,3,3,3,2,2,2,2,
|
||||
1,1,1,1,1,1,2,2,2,2,2,2,6,6,6,6,6,2,2,2,2,2,3,3,3,3,2,2,2,2,
|
||||
1,1,1,1,1,2,2,2,2,2,2,2,5,5,5,5,5,2,2,2,2,2,3,3,3,2,2,2,2,2,
|
||||
1,1,1,1,1,2,2,2,2,2,2,2,5,5,5,5,5,2,2,2,2,2,3,3,3,2,2,2,2,2,
|
||||
1,1,1,1,1,1,2,2,2,2,2,2,5,5,1,5,5,2,2,2,2,3,3,3,3,2,2,2,2,2,
|
||||
1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,2,2,2,2,2,
|
||||
1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,2,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,3,2,2,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,
|
||||
1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2
|
||||
</data>
|
||||
</layer>
|
||||
<objectgroup id="2" name="Entities">
|
||||
<object id="4" name="Player" type="player" gid="66" x="87.7275" y="119.497" width="8" height="8"/>
|
||||
</objectgroup>
|
||||
</map>
|
14
assets/map/tiled_project.tiled-project
Normal file
14
assets/map/tiled_project.tiled-project
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"automappingRulesFile": "",
|
||||
"commands": [
|
||||
],
|
||||
"compatibilityVersion": 1100,
|
||||
"extensionsPath": "extensions",
|
||||
"folders": [
|
||||
"."
|
||||
],
|
||||
"properties": [
|
||||
],
|
||||
"propertyTypes": [
|
||||
]
|
||||
}
|
58
assets/map/tiled_project.tiled-session
Normal file
58
assets/map/tiled_project.tiled-session
Normal file
@ -0,0 +1,58 @@
|
||||
{
|
||||
"Map/SizeTest": {
|
||||
"height": 4300,
|
||||
"width": 2
|
||||
},
|
||||
"activeFile": "",
|
||||
"expandedProjectPaths": [
|
||||
],
|
||||
"fileStates": {
|
||||
"": {
|
||||
"scaleInDock": 1
|
||||
},
|
||||
"entities.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 1
|
||||
},
|
||||
"testmap.tmx": {
|
||||
"scale": 3.281458333333333,
|
||||
"selectedLayer": 1,
|
||||
"viewCenter": {
|
||||
"x": 97.36524665100629,
|
||||
"y": 58.20582820138405
|
||||
}
|
||||
},
|
||||
"testmap2.tmx": {
|
||||
"scale": 3.281458333333333,
|
||||
"selectedLayer": 0,
|
||||
"viewCenter": {
|
||||
"x": 119.91619579709226,
|
||||
"y": 80.14729223541363
|
||||
}
|
||||
},
|
||||
"tilemap.tsx": {
|
||||
"scaleInDock": 1,
|
||||
"scaleInEditor": 4
|
||||
}
|
||||
},
|
||||
"last.externalTilesetPath": "/home/yourwishes/htdocs/Dawn/assets/map",
|
||||
"last.imagePath": "/home/yourwishes/htdocs/Dawn/assets/map",
|
||||
"map.lastUsedFormat": "tmx",
|
||||
"map.tileHeight": 8,
|
||||
"map.tileWidth": 8,
|
||||
"openFiles": [
|
||||
],
|
||||
"project": "tiled_project.tiled-project",
|
||||
"recentFiles": [
|
||||
"testmap.tmx",
|
||||
"tilemap.tsx",
|
||||
"entities.tsx",
|
||||
"testmap2.tmx"
|
||||
],
|
||||
"tileset.lastUsedFilter": "All Files (*)",
|
||||
"tileset.lastUsedFormat": "tsx",
|
||||
"tileset.tileSize": {
|
||||
"height": 8,
|
||||
"width": 8
|
||||
}
|
||||
}
|
BIN
assets/map/tilemap.png
Normal file
BIN
assets/map/tilemap.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 346 B |
4
assets/map/tilemap.tsx
Normal file
4
assets/map/tilemap.tsx
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<tileset version="1.10" tiledversion="1.11.0" name="tilemap" tilewidth="8" tileheight="8" tilecount="64" columns="8">
|
||||
<image source="tilemap.png" width="64" height="64"/>
|
||||
</tileset>
|
Reference in New Issue
Block a user