Skip to content

Commit da69394

Browse files
committed
Basic tiled support working
1 parent 9226632 commit da69394

20 files changed

+3176
-38
lines changed

conanfile.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Docs at https://docs.conan.io/en/latest/reference/conanfile_txt.html
22

33
[requires]
4-
catch2/2.13.8
4+
catch2/2.13.9
55
docopt.cpp/0.6.3
66
#fmt/8.1.1
7-
spdlog/1.9.2
7+
spdlog/1.10.0
8+
nlohmann_json/3.10.5
89
lodepng/cci.20200615
910

1011
[generators]

resources/attributions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
8x8 tileset from: https://opengameart.org/content/8x8-rpgrogue-tileset

resources/tiled/maps.tiled-project

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"automappingRulesFile": "",
3+
"commands": [
4+
],
5+
"extensionsPath": "tiles/extensions",
6+
"folders": [
7+
"tiles"
8+
],
9+
"objectTypesFile": "",
10+
"propertyTypes": [
11+
]
12+
}

resources/tiled/maps.tiled-session

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"Map/SizeTest": {
3+
"height": 4300,
4+
"width": 2
5+
},
6+
"activeFile": "tiles/Map.tmj",
7+
"expandedProjectPaths": [
8+
"tiles"
9+
],
10+
"fileStates": {
11+
"tiles/8x8 fantasytiles.tsj": {
12+
"scaleInDock": 3,
13+
"scaleInEditor": 5.5
14+
},
15+
"tiles/8x8 fantasytiles.tsx": {
16+
"scaleInDock": 3,
17+
"scaleInEditor": 5.5
18+
},
19+
"tiles/Map.tmj": {
20+
"scale": 4,
21+
"selectedLayer": 2,
22+
"viewCenter": {
23+
"x": 113.75,
24+
"y": 111
25+
}
26+
},
27+
"tiles/Map.tmx": {
28+
"scale": 3,
29+
"selectedLayer": 1,
30+
"viewCenter": {
31+
"x": 118.33333333333334,
32+
"y": 80.16666666666666
33+
}
34+
},
35+
"tiles/Store.tmj": {
36+
"scale": 12.904166666666667,
37+
"selectedLayer": 0,
38+
"viewCenter": {
39+
"x": 28.052954472069743,
40+
"y": 32.00516628995803
41+
}
42+
}
43+
},
44+
"last.exportedFilePath": "C:/Users/Jason/Desktop",
45+
"last.imagePath": "C:/Users/Jason/Desktop/tiled/tiles",
46+
"last.worldFilePath": "C:/Users/Jason/Desktop",
47+
"loadedWorlds": [
48+
],
49+
"map.height": 8,
50+
"map.lastUsedExportFilter": "JSON map files (*.tmj *.json)",
51+
"map.lastUsedFormat": "json",
52+
"map.tileHeight": 8,
53+
"map.tileWidth": 8,
54+
"map.width": 8,
55+
"openFiles": [
56+
"tiles/8x8 fantasytiles.tsj",
57+
"tiles/Map.tmj"
58+
],
59+
"project": "maps.tiled-project",
60+
"property.type": "bool",
61+
"recentFiles": [
62+
"tiles/8x8 fantasytiles.tsj",
63+
"tiles/Map.tmj",
64+
"tiles/Map.tmx",
65+
"tiles/8x8 fantasytiles.tsx"
66+
],
67+
"tileset.lastUsedFormat": "json",
68+
"tileset.tileSize": {
69+
"height": 8,
70+
"width": 8
71+
}
72+
}
22.7 KB
Loading

0 commit comments

Comments
 (0)