1 Commits
Author SHA1 Message Date
tevansandClaude Fable 5 0fba241210 Ship FALSE ALARM maps as 2x PNGs (crisp when zoomed) — v2.0.1
Foundry rasterizes SVG scene backgrounds into a fixed texture, so the
vector maps looked low-res when zoomed in. Render the three battle maps to
native-resolution PNGs via headless Chrome (compound 5200x3600, server
3600x2800, dome 4000x4000) and point the scenes at them at grid 200 px/
5-ft square (same 26x18 / 20x20 layout, 1:1 with the texture). Tokens
repositioned to the 2x coordinate space. Journal handouts stay SVG (they
render as crisp vector <img> in journals). Bump to v2.0.1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 15:16:57 +01:00
9 changed files with 15 additions and 14 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 142 KiB

+6 -5
View File
@@ -246,7 +246,7 @@ const journalArr = [
].map((j) => { delete j._key; return j; });
// ---------------------------------------------------------------- scenes
function gridCfg() { return { type: 1, size: 100, style: "solidLines", thickness: 1, color: "#59ff87", alpha: 0.12, distance: 5, units: "ft" }; }
function gridCfg() { return { type: 1, size: 200, style: "solidLines", thickness: 1, color: "#59ff87", alpha: 0.10, distance: 5, units: "ft" }; }
function sceneToken(actor, x, y, hidden = false) {
const tid = id(`fa-tok-${actor._id}-${x}-${y}`);
return { _id: tid, name: actor.name, actorId: actor._id, actorLink: false,
@@ -264,11 +264,12 @@ function scene(key, name, bg, w, h, tokens, notesFlag) {
folder: fScenes._id, sort: 0, ownership: { default: 0 }, flags: {}, _stats: STATS,
};
}
// Maps are 2x PNGs (200 px / 5-ft square) so they stay crisp when zoomed in.
const scenes = [
scene("1-arrival", "Scene 1 — The Arrival (Compound)", "map-compound.svg", 2600, 1800, []),
scene("2-server", "Scene 2 — The Server Room", "map-server-room.svg", 1800, 1400, [sceneToken(aRostova, 900, 780)]),
scene("3-dome", "Scene 3 — The Radar Dome", "map-radar-dome.svg", 2000, 2000,
[sceneToken(aVance, 1000, 1000), sceneToken(aTear, 1000, 1000, true)]),
scene("1-arrival", "Scene 1 — The Arrival (Compound)", "map-compound.png", 5200, 3600, []),
scene("2-server", "Scene 2 — The Server Room", "map-server-room.png", 3600, 2800, [sceneToken(aRostova, 1800, 1560)]),
scene("3-dome", "Scene 3 — The Radar Dome", "map-radar-dome.png", 4000, 4000,
[sceneToken(aVance, 2000, 2000), sceneToken(aTear, 2000, 2000, true)]),
];
// ---------------------------------------------------------------- adventure
Binary file not shown.
+3 -3
View File
@@ -1,3 +1,3 @@
2026/07/16-10:43:02.339226 1702bf000 Recovering log #4
2026/07/16-10:43:02.340194 1702bf000 Delete type=0 #4
2026/07/16-10:43:02.340235 1702bf000 Delete type=3 #2
2026/07/16-15:09:13.184913 170e2b000 Recovering log #4
2026/07/16-15:09:13.186094 170e2b000 Delete type=0 #4
2026/07/16-15:09:13.186131 170e2b000 Delete type=3 #2
+5 -5
View File
@@ -1,5 +1,5 @@
2026/07/16-10:42:47.050877 171d97000 Delete type=3 #1
2026/07/16-10:42:47.053360 17262f000 Level-0 table #5: started
2026/07/16-10:42:47.053724 17262f000 Level-0 table #5: 19547 bytes OK
2026/07/16-10:42:47.053835 17262f000 Delete type=0 #3
2026/07/16-10:42:47.053915 17262f000 Manual compaction at level-0 from '!adventures!5zf355zpx5s1ux56' @ 72057594037927935 : 1 .. '!adventures!5zf355zpx5s1ux56' @ 0 : 0; will stop at (end)
2026/07/16-15:09:13.093478 16f10f000 Delete type=3 #1
2026/07/16-15:09:13.095837 16f9a7000 Level-0 table #5: started
2026/07/16-15:09:13.096279 16f9a7000 Level-0 table #5: 19548 bytes OK
2026/07/16-15:09:13.096401 16f9a7000 Delete type=0 #3
2026/07/16-15:09:13.096523 16f9a7000 Manual compaction at level-0 from '!adventures!5zf355zpx5s1ux56' @ 72057594037927935 : 1 .. '!adventures!5zf355zpx5s1ux56' @ 0 : 0; will stop at (end)
Binary file not shown.
+1 -1
View File
@@ -15,7 +15,7 @@
"discord": "jalensailin"
}
],
"version": "2.0.0",
"version": "2.0.1",
"compatibility": {
"minimum": "13",
"verified": "14",