Skip to content

Commit

Permalink
Merge pull request #2 from luiscastilho/fix-scene-resolution
Browse files Browse the repository at this point in the history
Fix scenes being resolution specific
  • Loading branch information
luiscastilho authored May 27, 2021
2 parents e21b454 + bf8ae9f commit ff45432
Show file tree
Hide file tree
Showing 10 changed files with 796 additions and 583 deletions.
142 changes: 66 additions & 76 deletions dungeoneering/data/scenes/Static-AbandonedFarmhouse.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"doors": [{
"vertexes": [
[
711,
513
351,
404
],
[
711,
566
351,
460
]
],
"closed": true
Expand All @@ -23,16 +23,6 @@
"row": 2,
"conditions": []
},
{
"size": "Medium",
"lightSources": [{"name": "Candle"}],
"imagePath": "/data/tokens/dm/Goblin.png",
"sightTypes": [{"name": "Darkvision 60'"}],
"name": "Goblin",
"column": 2,
"row": 3,
"conditions": []
},
{
"size": "Medium",
"lightSources": [{"name": "Candle"}],
Expand Down Expand Up @@ -92,6 +82,16 @@
"column": 11,
"row": 4,
"conditions": []
},
{
"size": "Medium",
"lightSources": [{"name": "Candle"}],
"imagePath": "/data/tokens/dm/Goblin.png",
"sightTypes": [{"name": "Darkvision 60'"}],
"name": "Goblin",
"column": 2,
"row": 3,
"conditions": []
}
],
"initiative": {
Expand Down Expand Up @@ -122,144 +122,134 @@
"walls": [
{"vertexes": [
[
427,
389
],
[
428,
515
]
]},
{"vertexes": [
[
428,
513
68,
124
],
[
497,
513
69,
247
]
]},
{"vertexes": [
[
528,
513
68,
283
],
[
609,
513
68,
406
]
]},
{"vertexes": [
[
644,
513
68,
406
],
[
712,
513
135,
406
]
]},
{"vertexes": [
[
711,
513
168,
405
],
[
711,
520
248,
405
]
]},
{"vertexes": [
[
711,
562
281,
405
],
[
711,
627
352,
405
]
]},
{"vertexes": [
[
711,
625
351,
455
],
[
835,
625
351,
518
]
]},
{"vertexes": [
[
865,
625
351,
518
],
[
1158,
625
473,
517
]
]},
{"vertexes": [
[
1156,
625
507,
517
],
[
1156,
231
797,
517
]
]},
{"vertexes": [
[
1156,
233
797,
517
],
[
1094,
233
797,
124
]
]},
{"vertexes": [
[
1054,
233
797,
124
],
[
807,
233
734,
124
]
]},
{"vertexes": [
[
777,
233
693,
124
],
[
426,
233
449,
124
]
]},
{"vertexes": [
[
428,
233
415,
125
],
[
428,
359
66,
125
]
]}
],
"illumination": {"lighting": "darkness"},
"grid": {
"cellWidth": 56,
"lastCellCenterY": 933,
"lastCellCenterY": 825,
"cellHeight": 56,
"drawGrid": false,
"firstCellCenterX": 400,
"lastCellCenterX": 1520,
"firstCellCenterY": 149
"firstCellCenterX": 40,
"lastCellCenterX": 1160,
"firstCellCenterY": 41
},
"playerTokens": [
{
Expand Down
Loading

0 comments on commit ff45432

Please sign in to comment.