mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2026-02-23 15:38:29 +01:00
Compare commits
2 Commits
fix-visual
...
tiled_worl
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dc5ea97ddb | ||
|
|
74c19de010 |
7
AndorsTrail/create_worlds.bat
Normal file
7
AndorsTrail/create_worlds.bat
Normal file
@@ -0,0 +1,7 @@
|
||||
@echo off
|
||||
echo Creating folder for worlds
|
||||
mkdir %~dp0\res\xml\worlds
|
||||
echo Creating worlds
|
||||
python %~dp0\tools\create_worlds.py %~dp0\res\xml\
|
||||
echo Done!
|
||||
# pause
|
||||
48
AndorsTrail/res/xml/worlds/arulircave.world
Normal file
48
AndorsTrail/res/xml/worlds/arulircave.world
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../arulircave1.tmx",
|
||||
"height": 800,
|
||||
"width": 960,
|
||||
"x": 64,
|
||||
"y": 1440
|
||||
},
|
||||
{
|
||||
"fileName": "../arulircave2.tmx",
|
||||
"height": 480,
|
||||
"width": 480,
|
||||
"x": 480,
|
||||
"y": 928
|
||||
},
|
||||
{
|
||||
"fileName": "../arulircave3.tmx",
|
||||
"height": 480,
|
||||
"width": 480,
|
||||
"x": 896,
|
||||
"y": 1440
|
||||
},
|
||||
{
|
||||
"fileName": "../arulircave4.tmx",
|
||||
"height": 320,
|
||||
"width": 320,
|
||||
"x": 1024,
|
||||
"y": 1952
|
||||
},
|
||||
{
|
||||
"fileName": "../arulircave5.tmx",
|
||||
"height": 320,
|
||||
"width": 320,
|
||||
"x": 928,
|
||||
"y": 2304
|
||||
},
|
||||
{
|
||||
"fileName": "../arulircave6.tmx",
|
||||
"height": 480,
|
||||
"width": 480,
|
||||
"x": 1088,
|
||||
"y": 2656
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
41
AndorsTrail/res/xml/worlds/basiliskcave.world
Normal file
41
AndorsTrail/res/xml/worlds/basiliskcave.world
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../basiliskcave1_1_1.tmx",
|
||||
"height": 512,
|
||||
"width": 1024,
|
||||
"x": -192,
|
||||
"y": -384
|
||||
},
|
||||
{
|
||||
"fileName": "../basiliskcave1_1_2.tmx",
|
||||
"height": 960,
|
||||
"width": 800,
|
||||
"x": 352,
|
||||
"y": -160
|
||||
},
|
||||
{
|
||||
"fileName": "../basiliskcave1_1_3.tmx",
|
||||
"height": 928,
|
||||
"width": 704,
|
||||
"x": 384,
|
||||
"y": -896
|
||||
},
|
||||
{
|
||||
"fileName": "../basiliskcave1_1_4.tmx",
|
||||
"height": 416,
|
||||
"width": 768,
|
||||
"x": -64,
|
||||
"y": -1216
|
||||
},
|
||||
{
|
||||
"fileName": "../basiliskcave1_1_5.tmx",
|
||||
"height": 864,
|
||||
"width": 416,
|
||||
"x": 384,
|
||||
"y": -1344
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
41
AndorsTrail/res/xml/worlds/bwcave1.world
Normal file
41
AndorsTrail/res/xml/worlds/bwcave1.world
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../blackwater_mountain17.tmx",
|
||||
"height": 640,
|
||||
"width": 320,
|
||||
"x": 3488,
|
||||
"y": 11680
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain18.tmx",
|
||||
"height": 480,
|
||||
"width": 704,
|
||||
"x": 3904,
|
||||
"y": 12032
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain19.tmx",
|
||||
"height": 320,
|
||||
"width": 320,
|
||||
"x": 3904,
|
||||
"y": 12768
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain20.tmx",
|
||||
"height": 320,
|
||||
"width": 640,
|
||||
"x": 4256,
|
||||
"y": 12768
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain39.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 4608,
|
||||
"y": 12896
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/bwcave2.world
Normal file
27
AndorsTrail/res/xml/worlds/bwcave2.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../blackwater_mountain36.tmx",
|
||||
"height": 352,
|
||||
"width": 320,
|
||||
"x": 2560,
|
||||
"y": 13280
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain37.tmx",
|
||||
"height": 480,
|
||||
"width": 480,
|
||||
"x": 2624,
|
||||
"y": 13632
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain38.tmx",
|
||||
"height": 960,
|
||||
"width": 608,
|
||||
"x": 1632,
|
||||
"y": 13792
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
41
AndorsTrail/res/xml/worlds/bwentry.world
Normal file
41
AndorsTrail/res/xml/worlds/bwentry.world
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../blackwater_mountain4a.tmx",
|
||||
"height": 224,
|
||||
"width": 864,
|
||||
"x": 1728,
|
||||
"y": 13344
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain6.tmx",
|
||||
"height": 320,
|
||||
"width": 416,
|
||||
"x": 2112,
|
||||
"y": 12448
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain5.tmx",
|
||||
"height": 960,
|
||||
"width": 928,
|
||||
"x": 1120,
|
||||
"y": 12384
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain9.tmx",
|
||||
"height": 544,
|
||||
"width": 736,
|
||||
"x": 1696,
|
||||
"y": 11552
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain5a.tmx",
|
||||
"height": 640,
|
||||
"width": 576,
|
||||
"x": 448,
|
||||
"y": 12832
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
13
AndorsTrail/res/xml/worlds/bwentry2.world
Normal file
13
AndorsTrail/res/xml/worlds/bwentry2.world
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../blackwater_mountain7.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 1504,
|
||||
"y": 11776
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
48
AndorsTrail/res/xml/worlds/bwsettlement.world
Normal file
48
AndorsTrail/res/xml/worlds/bwsettlement.world
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../blackwater_mountain43.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 1184,
|
||||
"y": 13248
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain44.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 512,
|
||||
"y": 13600
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain45.tmx",
|
||||
"height": 480,
|
||||
"width": 480,
|
||||
"x": 0,
|
||||
"y": 13568
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain46.tmx",
|
||||
"height": 288,
|
||||
"width": 224,
|
||||
"x": 96,
|
||||
"y": 13312
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain51.tmx",
|
||||
"height": 448,
|
||||
"width": 320,
|
||||
"x": 3168,
|
||||
"y": 13568
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain52.tmx",
|
||||
"height": 960,
|
||||
"width": 320,
|
||||
"x": 2176,
|
||||
"y": 13600
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/crackshot_hideout.world
Normal file
27
AndorsTrail/res/xml/worlds/crackshot_hideout.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../crackshot_hideout1.tmx",
|
||||
"height": 864,
|
||||
"width": 288,
|
||||
"x": -608,
|
||||
"y": -320
|
||||
},
|
||||
{
|
||||
"fileName": "../crackshot_hideout2.tmx",
|
||||
"height": 288,
|
||||
"width": 864,
|
||||
"x": 288,
|
||||
"y": -896
|
||||
},
|
||||
{
|
||||
"fileName": "../crackshot_hideout3.tmx",
|
||||
"height": 608,
|
||||
"width": 608,
|
||||
"x": -608,
|
||||
"y": -960
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
48
AndorsTrail/res/xml/worlds/elm4f.world
Normal file
48
AndorsTrail/res/xml/worlds/elm4f.world
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../elm_4f_1.tmx",
|
||||
"height": 480,
|
||||
"width": 640,
|
||||
"x": 64,
|
||||
"y": -224
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_4f_2.tmx",
|
||||
"height": 992,
|
||||
"width": 320,
|
||||
"x": -448,
|
||||
"y": 448
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_4f_3.tmx",
|
||||
"height": 480,
|
||||
"width": 640,
|
||||
"x": -448,
|
||||
"y": -224
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_4f_4.tmx",
|
||||
"height": 992,
|
||||
"width": 320,
|
||||
"x": -448,
|
||||
"y": -576
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_4f_6.tmx",
|
||||
"height": 480,
|
||||
"width": 448,
|
||||
"x": 64,
|
||||
"y": -1056
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_4f_5.tmx",
|
||||
"height": 640,
|
||||
"width": 672,
|
||||
"x": -1120,
|
||||
"y": 96
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
20
AndorsTrail/res/xml/worlds/elm5f.world
Normal file
20
AndorsTrail/res/xml/worlds/elm5f.world
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../elm5f_1.tmx",
|
||||
"height": 576,
|
||||
"width": 640,
|
||||
"x": 320,
|
||||
"y": 448
|
||||
},
|
||||
{
|
||||
"fileName": "../elm5f_2.tmx",
|
||||
"height": 768,
|
||||
"width": 960,
|
||||
"x": 224,
|
||||
"y": -544
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
55
AndorsTrail/res/xml/worlds/elmmine.world
Normal file
55
AndorsTrail/res/xml/worlds/elmmine.world
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../blackwater_mountain13.tmx",
|
||||
"height": 608,
|
||||
"width": 960,
|
||||
"x": -416,
|
||||
"y": -608
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_mine0.tmx",
|
||||
"height": 800,
|
||||
"width": 832,
|
||||
"x": -1248,
|
||||
"y": -704
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_mine1.tmx",
|
||||
"height": 384,
|
||||
"width": 608,
|
||||
"x": 224,
|
||||
"y": -608
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_mine2.tmx",
|
||||
"height": 608,
|
||||
"width": 960,
|
||||
"x": -416,
|
||||
"y": -1600
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_mine3.tmx",
|
||||
"height": 608,
|
||||
"width": 864,
|
||||
"x": -1056,
|
||||
"y": -1600
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_mine4.tmx",
|
||||
"height": 416,
|
||||
"width": 960,
|
||||
"x": 224,
|
||||
"y": -1600
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_mine5.tmx",
|
||||
"height": 608,
|
||||
"width": 800,
|
||||
"x": -416,
|
||||
"y": -2432
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
20
AndorsTrail/res/xml/worlds/elmmine2f.world
Normal file
20
AndorsTrail/res/xml/worlds/elmmine2f.world
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../elm_2f_1.tmx",
|
||||
"height": 768,
|
||||
"width": 1152,
|
||||
"x": 256,
|
||||
"y": -384
|
||||
},
|
||||
{
|
||||
"fileName": "../elm_2f_2.tmx",
|
||||
"height": 256,
|
||||
"width": 288,
|
||||
"x": 1056,
|
||||
"y": 480
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/flagstone.world
Normal file
27
AndorsTrail/res/xml/worlds/flagstone.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../flagstone2.tmx",
|
||||
"height": 352,
|
||||
"width": 960,
|
||||
"x": 3968,
|
||||
"y": 15456
|
||||
},
|
||||
{
|
||||
"fileName": "../flagstone3.tmx",
|
||||
"height": 640,
|
||||
"width": 416,
|
||||
"x": 4160,
|
||||
"y": 16448
|
||||
},
|
||||
{
|
||||
"fileName": "../flagstone4.tmx",
|
||||
"height": 800,
|
||||
"width": 416,
|
||||
"x": 4832,
|
||||
"y": 16320
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
139
AndorsTrail/res/xml/worlds/fungi_panic.world
Normal file
139
AndorsTrail/res/xml/worlds/fungi_panic.world
Normal file
@@ -0,0 +1,139 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../mywildcave1.tmx",
|
||||
"height": 512,
|
||||
"width": 384,
|
||||
"x": 5920,
|
||||
"y": 16576
|
||||
},
|
||||
{
|
||||
"fileName": "../mywildcave2.tmx",
|
||||
"height": 480,
|
||||
"width": 800,
|
||||
"x": 6080,
|
||||
"y": 15744
|
||||
},
|
||||
{
|
||||
"fileName": "../mywildcave3.tmx",
|
||||
"height": 800,
|
||||
"width": 640,
|
||||
"x": 6048,
|
||||
"y": 15072
|
||||
},
|
||||
{
|
||||
"fileName": "../mywildcave4.tmx",
|
||||
"height": 576,
|
||||
"width": 512,
|
||||
"x": 6336,
|
||||
"y": 14528
|
||||
},
|
||||
{
|
||||
"fileName": "../bogsten2.tmx",
|
||||
"height": 512,
|
||||
"width": 672,
|
||||
"x": 9536,
|
||||
"y": 14464
|
||||
},
|
||||
{
|
||||
"fileName": "../bogsten3.tmx",
|
||||
"height": 800,
|
||||
"width": 576,
|
||||
"x": 9824,
|
||||
"y": 15168
|
||||
},
|
||||
{
|
||||
"fileName": "../bogsten4.tmx",
|
||||
"height": 800,
|
||||
"width": 640,
|
||||
"x": 10656,
|
||||
"y": 15264
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_1.tmx",
|
||||
"height": 800,
|
||||
"width": 416,
|
||||
"x": 10656,
|
||||
"y": 14816
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_2.tmx",
|
||||
"height": 576,
|
||||
"width": 640,
|
||||
"x": 10336,
|
||||
"y": 14144
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_3.tmx",
|
||||
"height": 704,
|
||||
"width": 672,
|
||||
"x": 9792,
|
||||
"y": 13440
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_4.tmx",
|
||||
"height": 480,
|
||||
"width": 672,
|
||||
"x": 10528,
|
||||
"y": 13440
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_5.tmx",
|
||||
"height": 512,
|
||||
"width": 512,
|
||||
"x": 10400,
|
||||
"y": 12896
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_6.tmx",
|
||||
"height": 576,
|
||||
"width": 512,
|
||||
"x": 9792,
|
||||
"y": 12896
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_7.tmx",
|
||||
"height": 224,
|
||||
"width": 512,
|
||||
"x": 9536,
|
||||
"y": 12896
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_8.tmx",
|
||||
"height": 320,
|
||||
"width": 928,
|
||||
"x": 9184,
|
||||
"y": 12896
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_9.tmx",
|
||||
"height": 960,
|
||||
"width": 288,
|
||||
"x": 8192,
|
||||
"y": 13536
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m2_10.tmx",
|
||||
"height": 320,
|
||||
"width": 288,
|
||||
"x": 7840,
|
||||
"y": 13536
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m3_1.tmx",
|
||||
"height": 672,
|
||||
"width": 512,
|
||||
"x": 7136,
|
||||
"y": 13632
|
||||
},
|
||||
{
|
||||
"fileName": "../mushroom_m3_2.tmx",
|
||||
"height": 640,
|
||||
"width": 736,
|
||||
"x": 6944,
|
||||
"y": 14176
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
34
AndorsTrail/res/xml/worlds/gargoylecave.world
Normal file
34
AndorsTrail/res/xml/worlds/gargoylecave.world
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../gargoylecave1.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 13440,
|
||||
"y": 13568
|
||||
},
|
||||
{
|
||||
"fileName": "../gargoylecave2.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 12768,
|
||||
"y": 13568
|
||||
},
|
||||
{
|
||||
"fileName": "../gargoylecave3.tmx",
|
||||
"height": 352,
|
||||
"width": 640,
|
||||
"x": 12640,
|
||||
"y": 12896
|
||||
},
|
||||
{
|
||||
"fileName": "../gargoylecave4.tmx",
|
||||
"height": 384,
|
||||
"width": 256,
|
||||
"x": 13152,
|
||||
"y": 13280
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
41
AndorsTrail/res/xml/worlds/haunted_underground.world
Normal file
41
AndorsTrail/res/xml/worlds/haunted_underground.world
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../haunted_underground_1.tmx",
|
||||
"height": 800,
|
||||
"width": 480,
|
||||
"x": 24384,
|
||||
"y": 22560
|
||||
},
|
||||
{
|
||||
"fileName": "../haunted_underground_2.tmx",
|
||||
"height": 704,
|
||||
"width": 384,
|
||||
"x": 25216,
|
||||
"y": 22560
|
||||
},
|
||||
{
|
||||
"fileName": "../haunted_underground_3.tmx",
|
||||
"height": 576,
|
||||
"width": 640,
|
||||
"x": 25952,
|
||||
"y": 22080
|
||||
},
|
||||
{
|
||||
"fileName": "../haunted_underground_4.tmx",
|
||||
"height": 608,
|
||||
"width": 480,
|
||||
"x": 26560,
|
||||
"y": 22080
|
||||
},
|
||||
{
|
||||
"fileName": "../haunted_underground_5.tmx",
|
||||
"height": 448,
|
||||
"width": 480,
|
||||
"x": 27200,
|
||||
"y": 21792
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/lakecave.world
Normal file
27
AndorsTrail/res/xml/worlds/lakecave.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../lakecave0.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 11168,
|
||||
"y": 14016
|
||||
},
|
||||
{
|
||||
"fileName": "../lakecave1.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 11168,
|
||||
"y": 13024
|
||||
},
|
||||
{
|
||||
"fileName": "../lakecave2.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 12160,
|
||||
"y": 13216
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/lodar5cave.world
Normal file
27
AndorsTrail/res/xml/worlds/lodar5cave.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../lodar5cave0.tmx",
|
||||
"height": 960,
|
||||
"width": 928,
|
||||
"x": 9504,
|
||||
"y": 10048
|
||||
},
|
||||
{
|
||||
"fileName": "../lodar5cave1.tmx",
|
||||
"height": 640,
|
||||
"width": 960,
|
||||
"x": 9760,
|
||||
"y": 11008
|
||||
},
|
||||
{
|
||||
"fileName": "../lodar5cave2.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 9088,
|
||||
"y": 11776
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
62
AndorsTrail/res/xml/worlds/lodarcave.world
Normal file
62
AndorsTrail/res/xml/worlds/lodarcave.world
Normal file
@@ -0,0 +1,62 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../lodarcave1.tmx",
|
||||
"height": 576,
|
||||
"width": 960,
|
||||
"x": 9888,
|
||||
"y": 8800
|
||||
},
|
||||
{
|
||||
"fileName": "../lodarcave2.tmx",
|
||||
"height": 480,
|
||||
"width": 640,
|
||||
"x": 10208,
|
||||
"y": 9792
|
||||
},
|
||||
{
|
||||
"fileName": "../lodarcave3.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 10336,
|
||||
"y": 10464
|
||||
},
|
||||
{
|
||||
"fileName": "../lodarcave4.tmx",
|
||||
"height": 800,
|
||||
"width": 640,
|
||||
"x": 10720,
|
||||
"y": 11456
|
||||
},
|
||||
{
|
||||
"fileName": "../lodarcave4a.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 11552,
|
||||
"y": 11456
|
||||
},
|
||||
{
|
||||
"fileName": "../lodarcave5.tmx",
|
||||
"height": 800,
|
||||
"width": 640,
|
||||
"x": 11136,
|
||||
"y": 12128
|
||||
},
|
||||
{
|
||||
"fileName": "../lodarcave6.tmx",
|
||||
"height": 640,
|
||||
"width": 736,
|
||||
"x": 11264,
|
||||
"y": 12800
|
||||
},
|
||||
{
|
||||
"fileName": "../lodarcave7.tmx",
|
||||
"height": 480,
|
||||
"width": 640,
|
||||
"x": 11936,
|
||||
"y": 13184
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
41
AndorsTrail/res/xml/worlds/lostmine1.world
Normal file
41
AndorsTrail/res/xml/worlds/lostmine1.world
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../lostmine1.tmx",
|
||||
"height": 928,
|
||||
"width": 960,
|
||||
"x": 2272,
|
||||
"y": 1984
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine1a.tmx",
|
||||
"height": 736,
|
||||
"width": 544,
|
||||
"x": 1504,
|
||||
"y": 1824
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine2.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 3008,
|
||||
"y": 992
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine2a.tmx",
|
||||
"height": 608,
|
||||
"width": 672,
|
||||
"x": 4000,
|
||||
"y": 1376
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine3.tmx",
|
||||
"height": 608,
|
||||
"width": 960,
|
||||
"x": 3424,
|
||||
"y": 0
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/lostmine2.world
Normal file
27
AndorsTrail/res/xml/worlds/lostmine2.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../lostmine4.tmx",
|
||||
"height": 480,
|
||||
"width": 544,
|
||||
"x": 224,
|
||||
"y": 256
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine5.tmx",
|
||||
"height": 384,
|
||||
"width": 928,
|
||||
"x": 224,
|
||||
"y": 832
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine6.tmx",
|
||||
"height": 384,
|
||||
"width": 608,
|
||||
"x": 288,
|
||||
"y": 1792
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
20
AndorsTrail/res/xml/worlds/lostmine3.world
Normal file
20
AndorsTrail/res/xml/worlds/lostmine3.world
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../lostmine7.tmx",
|
||||
"height": 928,
|
||||
"width": 960,
|
||||
"x": 512,
|
||||
"y": 256
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine8.tmx",
|
||||
"height": 416,
|
||||
"width": 608,
|
||||
"x": 800,
|
||||
"y": 1248
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/lostmine4.world
Normal file
27
AndorsTrail/res/xml/worlds/lostmine4.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../lostmine9.tmx",
|
||||
"height": 896,
|
||||
"width": 896,
|
||||
"x": 704,
|
||||
"y": 1344
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine10.tmx",
|
||||
"height": 448,
|
||||
"width": 640,
|
||||
"x": 1344,
|
||||
"y": 672
|
||||
},
|
||||
{
|
||||
"fileName": "../lostmine11.tmx",
|
||||
"height": 544,
|
||||
"width": 640,
|
||||
"x": 1440,
|
||||
"y": 0
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
34
AndorsTrail/res/xml/worlds/mountaincave.world
Normal file
34
AndorsTrail/res/xml/worlds/mountaincave.world
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../mountaincave0.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 20320,
|
||||
"y": 9504
|
||||
},
|
||||
{
|
||||
"fileName": "../mountaincave1.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 19648,
|
||||
"y": 9504
|
||||
},
|
||||
{
|
||||
"fileName": "../mountaincave2.tmx",
|
||||
"height": 800,
|
||||
"width": 960,
|
||||
"x": 19264,
|
||||
"y": 8512
|
||||
},
|
||||
{
|
||||
"fileName": "../mountaincave3.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 19168,
|
||||
"y": 7840
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
48
AndorsTrail/res/xml/worlds/omi2_bwmhole.world
Normal file
48
AndorsTrail/res/xml/worlds/omi2_bwmhole.world
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../blackwater_mountain71.tmx",
|
||||
"height": 384,
|
||||
"width": 640,
|
||||
"x": 352,
|
||||
"y": 1600
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain72.tmx",
|
||||
"height": 384,
|
||||
"width": 640,
|
||||
"x": -64,
|
||||
"y": 1600
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain73.tmx",
|
||||
"height": 800,
|
||||
"width": 640,
|
||||
"x": -64,
|
||||
"y": 2272
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain74.tmx",
|
||||
"height": 800,
|
||||
"width": 640,
|
||||
"x": -64,
|
||||
"y": 2944
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain75.tmx",
|
||||
"height": 800,
|
||||
"width": 1312,
|
||||
"x": -896,
|
||||
"y": 2272
|
||||
},
|
||||
{
|
||||
"fileName": "../blackwater_mountain76.tmx",
|
||||
"height": 800,
|
||||
"width": 640,
|
||||
"x": -896,
|
||||
"y": 1600
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
48
AndorsTrail/res/xml/worlds/pwcave.world
Normal file
48
AndorsTrail/res/xml/worlds/pwcave.world
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../pwcave0.tmx",
|
||||
"height": 352,
|
||||
"width": 960,
|
||||
"x": 9824,
|
||||
"y": 3904
|
||||
},
|
||||
{
|
||||
"fileName": "../pwcave1.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 9184,
|
||||
"y": 2912
|
||||
},
|
||||
{
|
||||
"fileName": "../pwcave2.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 9184,
|
||||
"y": 1920
|
||||
},
|
||||
{
|
||||
"fileName": "../pwcave2a.tmx",
|
||||
"height": 640,
|
||||
"width": 800,
|
||||
"x": 9312,
|
||||
"y": 1088
|
||||
},
|
||||
{
|
||||
"fileName": "../pwcave3.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 10176,
|
||||
"y": 1920
|
||||
},
|
||||
{
|
||||
"fileName": "../pwcave4.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 10176,
|
||||
"y": 2912
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
27
AndorsTrail/res/xml/worlds/snakecave.world
Normal file
27
AndorsTrail/res/xml/worlds/snakecave.world
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../snakecave1.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 4608,
|
||||
"y": 12032
|
||||
},
|
||||
{
|
||||
"fileName": "../snakecave2.tmx",
|
||||
"height": 640,
|
||||
"width": 640,
|
||||
"x": 3936,
|
||||
"y": 12032
|
||||
},
|
||||
{
|
||||
"fileName": "../snakecave3.tmx",
|
||||
"height": 480,
|
||||
"width": 960,
|
||||
"x": 3680,
|
||||
"y": 11040
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
41
AndorsTrail/res/xml/worlds/waterwayacave.world
Normal file
41
AndorsTrail/res/xml/worlds/waterwayacave.world
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../waterwayacave1.tmx",
|
||||
"height": 960,
|
||||
"width": 928,
|
||||
"x": 6624,
|
||||
"y": 6016
|
||||
},
|
||||
{
|
||||
"fileName": "../waterwayacave2.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 6624,
|
||||
"y": 6976
|
||||
},
|
||||
{
|
||||
"fileName": "../waterwayacave3.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 6880,
|
||||
"y": 7968
|
||||
},
|
||||
{
|
||||
"fileName": "../waterwayacave4.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 6240,
|
||||
"y": 8960
|
||||
},
|
||||
{
|
||||
"fileName": "../waterwayacavex.tmx",
|
||||
"height": 320,
|
||||
"width": 320,
|
||||
"x": 7872,
|
||||
"y": 8608
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
48
AndorsTrail/res/xml/worlds/waytobrimhavencave.world
Normal file
48
AndorsTrail/res/xml/worlds/waytobrimhavencave.world
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"maps": [
|
||||
{
|
||||
"fileName": "../waytobrimhavencave0.tmx",
|
||||
"height": 960,
|
||||
"width": 768,
|
||||
"x": 11168,
|
||||
"y": 8384
|
||||
},
|
||||
{
|
||||
"fileName": "../waytobrimhavencave1.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 12160,
|
||||
"y": 8640
|
||||
},
|
||||
{
|
||||
"fileName": "../waytobrimhavencave1a.tmx",
|
||||
"height": 960,
|
||||
"width": 480,
|
||||
"x": 11168,
|
||||
"y": 9312
|
||||
},
|
||||
{
|
||||
"fileName": "../waytobrimhavencave2.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 13152,
|
||||
"y": 8640
|
||||
},
|
||||
{
|
||||
"fileName": "../waytobrimhavencave3.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 14144,
|
||||
"y": 8640
|
||||
},
|
||||
{
|
||||
"fileName": "../waytobrimhavencave4.tmx",
|
||||
"height": 960,
|
||||
"width": 960,
|
||||
"x": 10176,
|
||||
"y": 8640
|
||||
}
|
||||
],
|
||||
"onlyShowAdjacentMaps": false,
|
||||
"type": "world"
|
||||
}
|
||||
2309
AndorsTrail/res/xml/worlds/world1.world
Normal file
2309
AndorsTrail/res/xml/worlds/world1.world
Normal file
File diff suppressed because it is too large
Load Diff
52
AndorsTrail/tools/create_worlds.py
Normal file
52
AndorsTrail/tools/create_worlds.py
Normal file
@@ -0,0 +1,52 @@
|
||||
import json
|
||||
import sys
|
||||
from pathlib import Path
|
||||
from xml.etree import ElementTree as etree
|
||||
|
||||
|
||||
def convert(xml_path: Path, world_folder: Path):
|
||||
with open(xml_path, 'r') as xml_f:
|
||||
xml = etree.fromstring(xml_f.read())
|
||||
|
||||
maps_folder = world_folder.parent
|
||||
|
||||
for segment in xml.findall('segment'):
|
||||
segment_id = segment.get('id')
|
||||
world = {}
|
||||
|
||||
maps = []
|
||||
for xml_map in segment.findall('map'):
|
||||
x = int(xml_map.get('x'))
|
||||
y = int(xml_map.get('y'))
|
||||
id = xml_map.get('id')
|
||||
with open(Path(maps_folder, f'{id}.tmx'), 'r') as map_f:
|
||||
map_tmx = etree.fromstring(map_f.read())
|
||||
|
||||
tilewidth = int(map_tmx.get('tilewidth'))
|
||||
tileheight = int(map_tmx.get('tileheight'))
|
||||
width = int(map_tmx.get('width'))
|
||||
height = int(map_tmx.get('height'))
|
||||
|
||||
map = {
|
||||
'fileName': f'../{id}.tmx',
|
||||
"height": width * tilewidth,
|
||||
"width": height * tileheight,
|
||||
'x': x * tilewidth,
|
||||
'y': y * tileheight,
|
||||
}
|
||||
maps.append(map)
|
||||
|
||||
world['maps'] = maps
|
||||
world["onlyShowAdjacentMaps"] = False
|
||||
world["type"] = "world"
|
||||
with open(Path(world_folder, f'{segment_id}.world'), 'w') as f:
|
||||
json.dump(world, f, indent=4)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
if sys.argv:
|
||||
folder = Path(sys.argv[1])
|
||||
else:
|
||||
folder = Path('./res\\xml\\')
|
||||
convert(Path(folder, 'worldmap.xml'),
|
||||
Path(folder, 'worlds'))
|
||||
Reference in New Issue
Block a user