castle-web-cli 0.4.253 → 0.4.255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kits/hub-game/code/client/chrome.js +15 -0
- package/kits/hub-game/code/client/hubEntry.js +13 -4
- package/kits/hub-game/code/client/hudTree.js +9 -1
- package/kits/hub-game/code/client/safeLayout.js +137 -1
- package/kits/hub-game/code/client/safeStyle.js +1 -1
- package/kits/hub-game/code/systems/hub.js +5 -1
- package/kits/hub-game/docs/contract.md +12 -3
- package/kits/hub-game/scripts/fixtures/hud-surface.json +7 -7
- package/kits/hub-game/scripts/test-hub-entry.mjs +27 -5
- package/kits/hub-game/scripts/test-hud-back-dom.mjs +138 -0
- package/kits/hub-game/scripts/test-prompt-portrait-dom.mjs +128 -0
- package/kits/multiplayer-3d/CLAUDE.md +13 -0
- package/kits/multiplayer-3d/castle.json +3 -3
- package/kits/multiplayer-3d/code/client/resumeGate.js +70 -8
- package/kits/multiplayer-3d/code/systems/multiplayer.js +3 -0
- package/kits/multiplayer-3d/scripts/test-resume-gate.mjs +133 -1
- package/kits/multiplayer-3d/scripts/test-resync-reconnect.mjs +39 -0
- package/package.json +1 -1
|
@@ -82,6 +82,8 @@ export function makeChrome({ onBack, onAvatar, onColor = () => {}, avatarCount,
|
|
|
82
82
|
}
|
|
83
83
|
let canvasSource = null;
|
|
84
84
|
let safeLayout = null;
|
|
85
|
+
// The prompt's words and display the safe layout last placed (`setHud`).
|
|
86
|
+
let promptPlaced = null;
|
|
85
87
|
let worldLayout = null;
|
|
86
88
|
let worldViewport = null;
|
|
87
89
|
let worldAvatar = null;
|
|
@@ -2228,10 +2230,23 @@ export function makeChrome({ onBack, onAvatar, onColor = () => {}, avatarCount,
|
|
|
2228
2230
|
setHud(spec, timerSeconds, simNow) {
|
|
2229
2231
|
if (!spec) {
|
|
2230
2232
|
hudSurface.setHud(null);
|
|
2233
|
+
// Hidden, the safe layout may let go of its width: the same words
|
|
2234
|
+
// shown again are placed again.
|
|
2235
|
+
promptPlaced = null;
|
|
2231
2236
|
return;
|
|
2232
2237
|
}
|
|
2233
2238
|
const { big, clock } = hudSurface.setHud(spec, timerSeconds, simNow);
|
|
2234
2239
|
if (clock && uiTreeDomEnabled()) {hudDom.tick();}
|
|
2240
|
+
// A prompt shown or reworded is placed in this frame: upright it may be
|
|
2241
|
+
// as wide as the row until the safe layout narrows it beside the
|
|
2242
|
+
// control column, and the layout's own pass can be 500 ms away.
|
|
2243
|
+
if (safeLayout) {
|
|
2244
|
+
const promptKey = `${hudText.style.display}\u0001${hudText.textContent}`;
|
|
2245
|
+
if (promptKey !== promptPlaced) {
|
|
2246
|
+
promptPlaced = promptKey;
|
|
2247
|
+
safeLayout.flush();
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2235
2250
|
if (hudClear) {
|
|
2236
2251
|
layoutHudClear(big, spec.text ?? '');
|
|
2237
2252
|
}
|
|
@@ -27,15 +27,19 @@ export function parseHubEntry(hint) {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
const SOLO_KINDS = new Set(['layer', 'exact']);
|
|
30
|
+
// No title to name: the place's Doors rows are where titles come from.
|
|
31
|
+
export const UNKNOWN_DOOR_TOAST = "That place isn't in the Town right now";
|
|
30
32
|
|
|
31
33
|
// What to do for a target, from what the client knows right now:
|
|
32
34
|
// `listed` the place's Doors rows (`hubDoors`: { id, title, solo?, need? }),
|
|
33
35
|
// `homes` the ids of its House doors (scene `HubDoor.to === 'deck:house'`),
|
|
34
|
-
// nearest first, `
|
|
36
|
+
// nearest first, `present` the ids of every `HubDoor` in its scene (listed
|
|
37
|
+
// or not), `host` the host's door rows by id (`Hub.doors()`), or null
|
|
35
38
|
// where it has none, and `guest` true/false/null (null: not known).
|
|
36
39
|
// Returns { go: { door, title } } (a trip), { jump: row, toast } (onto the
|
|
37
|
-
// door's pad, as the Doors list's Go), { toast } (stay
|
|
38
|
-
|
|
40
|
+
// door's pad, as the Doors list's Go), { toast } (stay; also for a door the
|
|
41
|
+
// scene does not have), or null (nothing).
|
|
42
|
+
export function planHubEntry(target, { listed = [], homes = [], present = [], host = null, guest = null } = {}) {
|
|
39
43
|
const row = (id) => listed.find((d) => d?.id === id) ?? null;
|
|
40
44
|
const usable = (id) => {
|
|
41
45
|
const h = host?.get(id);
|
|
@@ -59,7 +63,12 @@ export function planHubEntry(target, { listed = [], homes = [], host = null, gue
|
|
|
59
63
|
}
|
|
60
64
|
const door = row(target.door);
|
|
61
65
|
if (!door) {
|
|
62
|
-
|
|
66
|
+
// A door this place has but does not list (a cabinet, a scheduled door
|
|
67
|
+
// between its events) changes nothing. One its scene lacks altogether
|
|
68
|
+
// cannot be followed, so say so rather than leave the player wondering
|
|
69
|
+
// why they are in the Town: ghost redirects by its door rows, which can
|
|
70
|
+
// name a door the saved scene lacks.
|
|
71
|
+
return present.includes(target.door) ? null : { toast: UNKNOWN_DOOR_TOAST };
|
|
63
72
|
}
|
|
64
73
|
if (homes.includes(door.id)) {
|
|
65
74
|
return house(door.id);
|
|
@@ -20,6 +20,8 @@ import { h } from './uiTree.js';
|
|
|
20
20
|
// HUD_COPY_STYLE (`hudCopy.js`) as tree style: a pill as wide as its words,
|
|
21
21
|
// at most its column, centred, wrapping anywhere.
|
|
22
22
|
const COPY = { bg: 'copy', radius: 14, pad: [4, 8], box: 'border', w: 'wrap', maxW: '100%', self: 'center', lh: 1.3, wrap: ['word', 'anywhere'] };
|
|
23
|
+
// The prompt's row: the view less 16 px (or the safe area) at each side.
|
|
24
|
+
const PROMPT_ROW = { vw: 100, sub: { l: 16, r: 16 } };
|
|
23
25
|
// An edge kept clear of the safe area only where the place asks for it.
|
|
24
26
|
const edge = (safeInsets, px) => (safeInsets ? [px, 0] : px);
|
|
25
27
|
|
|
@@ -85,7 +87,13 @@ export function buildHud(state) {
|
|
|
85
87
|
h('text', {
|
|
86
88
|
key: 'prompt', hub: 'hud-prompt', data: { hubCopy: 'instruction' }, text: hud.prompt ?? '',
|
|
87
89
|
at: { anchor: 'bottom', bottom: [54, 48], left: [16, 0], right: [16, 0], z: 2 },
|
|
88
|
-
|
|
90
|
+
// The prompt keeps to 60% of the width, except upright where the safe
|
|
91
|
+
// layout places it (`hub.safeInsets`, or Act): there it may take the
|
|
92
|
+
// whole row, and the safe layout narrows it to the lane beside the
|
|
93
|
+
// control column. 60% of a 390 px phone is 234 px, and a 48-character
|
|
94
|
+
// sentence wrapped there on most doors. Without the safe layout
|
|
95
|
+
// nothing would move it off Grab or the column, so it keeps the cap.
|
|
96
|
+
style: { ...COPY, size: 14, weight: 500, clip: false, maxW: !landscape && safeInsets ? [{ px: 560 }, PROMPT_ROW] : [{ vw: 60 }, { px: 560 }, PROMPT_ROW], talign: 'center', gone: !hud.promptShown },
|
|
89
97
|
}),
|
|
90
98
|
h('text', {
|
|
91
99
|
key: 'toast', hub: 'toast', text: toastText,
|
|
@@ -185,6 +185,31 @@ export function besideColumn(placed, view, margin = {}, column = [], minLane = 1
|
|
|
185
185
|
|
|
186
186
|
// The narrowest lane the HUD is moved into beside the right-edge controls.
|
|
187
187
|
const HUD_LANE_MIN = 72;
|
|
188
|
+
// The smallest size the HUD's big line is shrunk to so that it keeps clear of
|
|
189
|
+
// the kit Back and the standing prompt, as a 56 px "YOU'RE IT" on a 497x213 frame.
|
|
190
|
+
const HUD_BIG_MIN = 16;
|
|
191
|
+
|
|
192
|
+
// The widest word of a node's text in its own font, or 0 where it cannot be
|
|
193
|
+
// measured (no canvas in the geometry tests' DOM adapters).
|
|
194
|
+
let measureContext;
|
|
195
|
+
const widestWord = (node) => {
|
|
196
|
+
const text = node.textContent?.trim();
|
|
197
|
+
if (!text) {return 0;}
|
|
198
|
+
measureContext ??= globalThis.document?.createElement?.('canvas')?.getContext?.('2d') ?? null;
|
|
199
|
+
const style = globalThis.getComputedStyle?.(node);
|
|
200
|
+
if (!measureContext || !style?.font) {return 0;}
|
|
201
|
+
measureContext.font = style.font;
|
|
202
|
+
const upper = style.textTransform === 'uppercase';
|
|
203
|
+
return Math.max(...text.split(/\s+/).map((word) => measureContext.measureText(upper ? word.toUpperCase() : word).width));
|
|
204
|
+
};
|
|
205
|
+
// A HUD line's words broken inside a word: its widest word does not fit the
|
|
206
|
+
// line's content box.
|
|
207
|
+
const wordBroken = (node) => {
|
|
208
|
+
const style = globalThis.getComputedStyle?.(node);
|
|
209
|
+
const inner = node.clientWidth - (Number.parseFloat(style?.paddingLeft) || 0) - (Number.parseFloat(style?.paddingRight) || 0);
|
|
210
|
+
const widest = widestWord(node);
|
|
211
|
+
return widest > 0 && inner > 0 && widest > inner + 0.5;
|
|
212
|
+
};
|
|
188
213
|
|
|
189
214
|
// The box a node stands in while it is out of sight (visibility), but not
|
|
190
215
|
// while it is not laid out at all (display).
|
|
@@ -406,13 +431,104 @@ export function makeSafeLayout({ root, entries, view = globalThis.window, hud =
|
|
|
406
431
|
// The standing prompt follows every control, so it can see them all.
|
|
407
432
|
const standing = (entry) => entry.kind === 'text' && !entry.transient && entry.stack === undefined;
|
|
408
433
|
const act = (entry) => entry.transient && entry.kind === 'control' && entry.id?.startsWith('act-prompt:');
|
|
409
|
-
|
|
434
|
+
// The HUD follows the controls and the standing prompt so it can keep off
|
|
435
|
+
// their final places (the kit Back moved past the host corner on a
|
|
436
|
+
// landscape view, or under it in portrait; a prompt lifted beside a small
|
|
437
|
+
// view's column), and precedes the cards and transient text.
|
|
438
|
+
const priority = (entry) => entry.transient ? 2 : entry.kind === 'card' ? 1 : entry.kind === 'hud' ? 0.75 : standing(entry) ? 0.5 : 0;
|
|
410
439
|
current.sort((a, b) => priority(a) - priority(b));
|
|
411
440
|
// Cards and transient text are placed after the prompt and yield to its
|
|
412
441
|
// old place, exactly as before; a prompt that moves keeps off their
|
|
413
442
|
// unplaced boxes.
|
|
414
443
|
const later = current.filter((entry) => !entry.projected && (entry.transient || entry.kind === 'card'))
|
|
415
444
|
.map((entry) => visibleRect(entry.node)).filter(Boolean);
|
|
445
|
+
// The kit Back's and the standing prompt's final boxes: both are placed
|
|
446
|
+
// before the HUD (`priority`).
|
|
447
|
+
let backBox = null, promptBox = null;
|
|
448
|
+
const promptEntry = current.find((entry) => entry.id === 'hud-prompt' && !entry.projected);
|
|
449
|
+
// The HUD keeps clear of the kit Back, the standing prompt and the small
|
|
450
|
+
// view's right column, all already placed. Its lane is the room beside
|
|
451
|
+
// the Back (mirrored, so a centred HUD stays centred) and left of the
|
|
452
|
+
// column; where that is narrower than HUD_LANE_MIN it is the room left of
|
|
453
|
+
// the column alone, below the Back. Vertically, an obstacle starting at or
|
|
454
|
+
// above the HUD's top is a ceiling it goes below; one starting lower is a
|
|
455
|
+
// floor it ends above, as is the frame's bottom. The big line shrinks
|
|
456
|
+
// (never under HUD_BIG_MIN) until it keeps whole words and the HUD fits;
|
|
457
|
+
// only a HUD still too tall at that size is cut to the room left. Nothing
|
|
458
|
+
// is written for a HUD already clear of everything.
|
|
459
|
+
const clearHud = (node, box, placed, margin) => {
|
|
460
|
+
const at = (b, p) => rect(p.x, p.y, b.width, b.height);
|
|
461
|
+
const edge = Math.max(margin?.left ?? 6, viewport.insets.left);
|
|
462
|
+
const bottom = viewport.h - Math.max(margin?.bottom ?? 6, viewport.insets.bottom);
|
|
463
|
+
const sideBy = (a, b) => a.left < b.right && a.right > b.left;
|
|
464
|
+
const columnLeft = (top, bottomY) => Math.min(viewport.w - edge, ...beside.filter((band) => band.top < bottomY && band.bottom > top).map((band) => band.left - 6));
|
|
465
|
+
const obstacles = [backBox, promptBox, ...beside].filter(Boolean);
|
|
466
|
+
// Down past every ceiling in the way, then the floor below that.
|
|
467
|
+
const settle = (x, y) => {
|
|
468
|
+
for (let moved = true, i = 0; moved && i < obstacles.length + 1; i++) {
|
|
469
|
+
moved = false;
|
|
470
|
+
const drawn = rect(x, y, box.width, box.height);
|
|
471
|
+
for (const band of obstacles) {
|
|
472
|
+
if (band.top <= y && overlaps(drawn, band)) {y = band.bottom + 6; moved = true;}
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
const drawn = rect(x, y, box.width, box.height);
|
|
476
|
+
const floor = Math.min(bottom, ...obstacles.filter((band) => band.top > y && sideBy(drawn, band)).map((band) => band.top - 6));
|
|
477
|
+
return { y, floor };
|
|
478
|
+
};
|
|
479
|
+
const bigLine = [...node.children].reduce((best, child) => {
|
|
480
|
+
const px = Number.parseFloat(globalThis.getComputedStyle?.(child)?.fontSize) || 0;
|
|
481
|
+
return px > 24 && (!best || px > best.px) ? { child, px } : best;
|
|
482
|
+
}, null);
|
|
483
|
+
let lane = null;
|
|
484
|
+
let floor = bottom;
|
|
485
|
+
const start = placed.y;
|
|
486
|
+
for (let pass = 0; pass < 16; pass++) {
|
|
487
|
+
const drawn = at(box, placed);
|
|
488
|
+
const hit = obstacles.some((band) => overlaps(drawn, band));
|
|
489
|
+
const tooTall = drawn.bottom > floor;
|
|
490
|
+
const broken = bigLine !== null && wordBroken(bigLine.child);
|
|
491
|
+
if (!hit && !tooTall && !broken) {break;}
|
|
492
|
+
const onBack = backBox !== null && overlaps(drawn, backBox);
|
|
493
|
+
const onColumn = beside.some((band) => overlaps(drawn, band));
|
|
494
|
+
if ((onBack || onColumn) && !lane) {
|
|
495
|
+
const span = [drawn.top, Math.max(drawn.bottom, onBack ? backBox.bottom : 0)];
|
|
496
|
+
const right = columnLeft(...span);
|
|
497
|
+
lane = { left: edge, right, below: onBack };
|
|
498
|
+
if (onBack) {
|
|
499
|
+
const leftSide = backBox.left + backBox.right < viewport.w;
|
|
500
|
+
const inner = leftSide ? backBox.right + 6 : viewport.w - backBox.left + 6;
|
|
501
|
+
const nextTo = { left: Math.max(edge, inner), right: Math.min(viewport.w - inner, right), below: false };
|
|
502
|
+
if (nextTo.right - nextTo.left >= HUD_LANE_MIN) {lane = nextTo;}
|
|
503
|
+
}
|
|
504
|
+
const width = Math.max(HUD_LANE_MIN, lane.right - lane.left);
|
|
505
|
+
write(node, 'boxSizing', 'border-box');
|
|
506
|
+
write(node, 'maxWidth', `${width}px`);
|
|
507
|
+
for (const child of node.children) {write(child, 'maxWidth', `${width}px`);}
|
|
508
|
+
} else if (bigLine && bigLine.px > HUD_BIG_MIN) {
|
|
509
|
+
bigLine.px = Math.max(HUD_BIG_MIN, Math.floor(bigLine.px * 0.88));
|
|
510
|
+
write(bigLine.child, 'fontSize', `${bigLine.px}px`);
|
|
511
|
+
} else {break;}
|
|
512
|
+
const fresh = visibleRect(node);
|
|
513
|
+
if (!fresh) {return null;}
|
|
514
|
+
box = fresh;
|
|
515
|
+
const x = lane ? Math.max(lane.left, Math.min(lane.left + (lane.right - lane.left - box.width) / 2, lane.right - box.width)) : box.left;
|
|
516
|
+
const y0 = lane?.below ? Math.max(start, backBox.bottom + 6) : start;
|
|
517
|
+
const settled = settle(x, y0);
|
|
518
|
+
floor = settled.floor;
|
|
519
|
+
placed = { x, y: settled.y, w: box.width, h: box.height };
|
|
520
|
+
}
|
|
521
|
+
if (placed.y + box.height > floor) {
|
|
522
|
+
write(node, 'boxSizing', 'border-box');
|
|
523
|
+
write(node, 'maxHeight', `${Math.max(0, floor - placed.y)}px`);
|
|
524
|
+
write(node, 'overflowY', 'hidden');
|
|
525
|
+
const fresh = visibleRect(node);
|
|
526
|
+
if (!fresh) {return null;}
|
|
527
|
+
box = fresh;
|
|
528
|
+
placed = { ...placed, w: box.width, h: box.height };
|
|
529
|
+
}
|
|
530
|
+
return { box, placed };
|
|
531
|
+
};
|
|
416
532
|
for (const entry of current) {
|
|
417
533
|
if (entry.projected) {continue;}
|
|
418
534
|
const { node, kind } = entry;
|
|
@@ -565,6 +681,9 @@ export function makeSafeLayout({ root, entries, view = globalThis.window, hud =
|
|
|
565
681
|
if (kind === 'hud') {
|
|
566
682
|
const lane = hudLane(node, box, placed, margin);
|
|
567
683
|
if (lane) {({ box, placed } = lane);}
|
|
684
|
+
const clear = clearHud(node, box, placed, margin);
|
|
685
|
+
if (!clear) {return null;}
|
|
686
|
+
({ box, placed } = clear);
|
|
568
687
|
}
|
|
569
688
|
// CSS translate is independent of the renderer's anchoring transform.
|
|
570
689
|
const dx = placed.x - box.left, dy = placed.y - box.top;
|
|
@@ -618,6 +737,7 @@ export function makeSafeLayout({ root, entries, view = globalThis.window, hud =
|
|
|
618
737
|
};
|
|
619
738
|
if (final) {promptMoved = final; promptBack = back; promptHeld = old;} else {back();}
|
|
620
739
|
}
|
|
740
|
+
if (entry === promptEntry) {promptBox = visibleRect(node);}
|
|
621
741
|
controls.push(old);
|
|
622
742
|
continue;
|
|
623
743
|
}
|
|
@@ -656,6 +776,8 @@ export function makeSafeLayout({ root, entries, view = globalThis.window, hud =
|
|
|
656
776
|
if (kind === 'card' || entry.transient) {keepOff(final); actOff(final);}
|
|
657
777
|
if (final && kind === 'card' && entry.over?.()) {overBox = final;}
|
|
658
778
|
if (final && !entry.transient && kind !== 'hud' && kind !== 'label' && kind !== 'pointer') {controls.push(final);}
|
|
779
|
+
if (final && entry.id === 'back') {backBox = final;}
|
|
780
|
+
if (final && entry === promptEntry) {promptBox = final;}
|
|
659
781
|
if (final && entry.transient) {(kind === 'label' || kind === 'pointer' ? floating : transient).push(final);}
|
|
660
782
|
if (final && clear && entry.transient) {captions.push({ node, pill });}
|
|
661
783
|
}
|
|
@@ -687,6 +809,20 @@ export function makeSafeLayout({ root, entries, view = globalThis.window, hud =
|
|
|
687
809
|
}
|
|
688
810
|
}
|
|
689
811
|
}
|
|
812
|
+
// The invariant this pass ends on: Back and the standing prompt are never
|
|
813
|
+
// hidden, and the HUD never lies over either. Where the prompt ended up
|
|
814
|
+
// over the HUD after all (wrapped taller, moved by the caption's lane
|
|
815
|
+
// rule, or sent back to its old box by the rail just above), the HUD is
|
|
816
|
+
// cut to end above it, or, where the prompt starts at or above the HUD's
|
|
817
|
+
// top, to nothing: such a frame has no room left for it.
|
|
818
|
+
const hudNode = current.find((entry) => entry.kind === 'hud' && !entry.projected)?.node;
|
|
819
|
+
const hudFinal = hudNode && visibleRect(hudNode);
|
|
820
|
+
const promptFinal = promptEntry && visibleRect(promptEntry.node);
|
|
821
|
+
if (hudFinal && promptFinal && overlaps(hudFinal, promptFinal)) {
|
|
822
|
+
write(hudNode, 'boxSizing', 'border-box');
|
|
823
|
+
write(hudNode, 'maxHeight', `${Math.max(0, promptFinal.top > hudFinal.top ? promptFinal.top - 6 - hudFinal.top : 0)}px`);
|
|
824
|
+
write(hudNode, 'overflowY', 'hidden');
|
|
825
|
+
}
|
|
690
826
|
// The rail settled after transient text chose its lane, and does not
|
|
691
827
|
// make way for the engine's text: a caption whose words it now covers is
|
|
692
828
|
// not drawn this pass. The rail's move schedules the next pass, which
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Persistent CSS wins over the renderer's normal inline declarations. The
|
|
2
2
|
// renderer can keep writing its baseline without a per-frame restore/reapply.
|
|
3
|
-
const properties = ['translate', 'boxSizing', 'maxWidth', 'whiteSpace', 'overflowWrap', 'overflow', 'textOverflow', 'webkitLineClamp', 'display', 'maxHeight', 'overflowY', 'overflowX'];
|
|
3
|
+
const properties = ['translate', 'boxSizing', 'maxWidth', 'whiteSpace', 'overflowWrap', 'overflow', 'textOverflow', 'webkitLineClamp', 'display', 'maxHeight', 'overflowY', 'overflowX', 'fontSize'];
|
|
4
4
|
const cssName = key => key.replace(/[A-Z]/g, letter => `-${letter.toLowerCase()}`).replace(/^webkit-/, '-webkit-');
|
|
5
5
|
export function makeSafeStyle(root) {
|
|
6
6
|
const sheet = document.createElement('style');
|
|
@@ -1935,15 +1935,19 @@ class HubSystem {
|
|
|
1935
1935
|
}
|
|
1936
1936
|
const me = scene.actorWith('Player')?.components.Transform;
|
|
1937
1937
|
const homes = [];
|
|
1938
|
+
const present = [];
|
|
1938
1939
|
for (const actor of allActors(scene)) {
|
|
1939
1940
|
const door = actor.components?.HubDoor;
|
|
1941
|
+
if (typeof door?.id === 'string') {
|
|
1942
|
+
present.push(door.id);
|
|
1943
|
+
}
|
|
1940
1944
|
if (door?.to === 'deck:house' && typeof door.id === 'string') {
|
|
1941
1945
|
const t = actor.components.Transform;
|
|
1942
1946
|
homes.push({ id: door.id, d: me && t ? Math.hypot(t.x - me.x, t.z - me.z) : Infinity });
|
|
1943
1947
|
}
|
|
1944
1948
|
}
|
|
1945
1949
|
homes.sort((a, b) => a.d - b.d);
|
|
1946
|
-
const plan = planHubEntry(target, { listed: Hub.hub.doors, homes: homes.map((h) => h.id), host, guest });
|
|
1950
|
+
const plan = planHubEntry(target, { listed: Hub.hub.doors, homes: homes.map((h) => h.id), present, host, guest });
|
|
1947
1951
|
console.log(`[hub-entry] ${JSON.stringify({ target, plan: plan ? Object.keys(plan) : null })}`);
|
|
1948
1952
|
if (plan?.go) {
|
|
1949
1953
|
this.goHub(scene, { door: plan.go.door, title: plan.go.title });
|
|
@@ -2073,8 +2073,15 @@ While an NPC conversation offers suggestion or choice buttons, those buttons
|
|
|
2073
2073
|
are the next action: the bottom prompt hides until they close. Toasts yield
|
|
2074
2074
|
when they cannot fit clear of those buttons.
|
|
2075
2075
|
The wire/API stays unchanged; the client omits later sentences without adding
|
|
2076
|
-
an ellipsis. Door authors write only the next action, about 48 characters
|
|
2077
|
-
|
|
2076
|
+
an ellipsis. Door authors write only the next action, about 48 characters,
|
|
2077
|
+
and fewer for a phone held upright: there, in a place laid out by the safe
|
|
2078
|
+
layout (`hub.safeInsets`, or Act), the pill may take the whole row and is
|
|
2079
|
+
narrowed to the lane beside the bottom-right control column in the frame it
|
|
2080
|
+
is shown. That lane is about 314 px of a 390 px view beside Emote and Quick
|
|
2081
|
+
chat (about 40 characters) and about 232 px where the pill stands beside the
|
|
2082
|
+
Jump/Act pair, as in a place without Emote (about 32 characters). Elsewhere,
|
|
2083
|
+
and in landscape, it keeps to 60% of the width (234 px upright on 390). Story
|
|
2084
|
+
belongs in NPC talk or a later prompt. Dev serving warns on wrapping,
|
|
2078
2085
|
and the layout check reports it as a failure. Existing overlong first sentences
|
|
2079
2086
|
remain fully readable by wrapping in the bottom pill until their authors
|
|
2080
2087
|
shorten them; the kit never silently clips a sentence. Empty prompts have no pill.
|
|
@@ -5421,6 +5428,7 @@ a deck written before them remains valid.
|
|
|
5421
5428
|
|
|
5422
5429
|
| date | change |
|
|
5423
5430
|
| --- | --- |
|
|
5431
|
+
| 2026-11-19 | §9 the next-action prompt on a phone held upright is no longer capped at 60% of the view's width (234 px on a 390 px phone, about 30 characters), which wrapped it on 34 of 58 doors in the Nov 19 every-door pass, wherever the safe layout places it (`hub.safeInsets` or Act): it may take the row less 16 px a side (at most 560 px), the safe layout narrows it to the lane beside the control column, and a prompt shown or reworded is placed in that frame rather than at the layout's next 500 ms pass. A place without the safe layout keeps the 60% cap, since nothing would move the prompt off Grab or the column. A 40-character sentence now stays on one line on a 360 px phone beside Emote; beside the Jump/Act pair (17 of 58 doors, those without Emote) the lane is about 232 px at 390, about 32 characters. Landscape keeps its 60% cap. Copy longer than about 40 characters still wraps upright, and door authors shorten it. No key, API or wire change. Test: `test-prompt-portrait-dom`. |
|
|
5424
5432
|
| 2026-11-18 (v1.221) | §4/§12 first-input signals: a place that exports a `signal(hub, playerId, { kind, npc?, door? })` hook hears `move`, `jump` and the first door `prompt` from the client (each at most once per arrival, within 120 s of it; `hub-arrived` carries the arrival's `signals` number only where the hook exists, each `hub-signal` carries it back as `a`, and a retained rehello is answered `hub-signals` with that arrival's remaining window and spent kinds) and the kit's own `talk`, `press` (door jump, party Go/Go-yes, House visit) and `pad` (`hub.pad` step-on). A fixed vocabulary of authored ids, no free text and no manifest key. Without the hook: no wrapper, message, state, hook dispatch or wire field. |
|
|
5425
5433
|
| 2026-11-18 (v1.220) | §"A place replaced under its players" copy: when the ending is seen as the player comes back from away (`multiplayer.returning()`), the line is "<this place's title> closed while you were away. Back to <the place left>…" ("This place closed while you were away…" with no title) instead of "This place was updated", which was not true for an owner's House left empty past its reconnect window. A player who was present still sees the updated line. Copy only: no key, API or wire change. |
|
|
5426
5434
|
| 2026-11-18 (v1.219) | §12 page visibility after a rejoin: a client whose connection is not up forgets the state it last sent and sends its current state once it is connected again (a send into a socket that died unseen, as on an app switch, no longer leaves the server holding a stale hidden); the server takes a rejoin's first `hub-visibility` even when it repeats the kept value, then coalesces as before. An avatar-change hello is not a rejoin. No new key or wire field. |
|
|
@@ -5479,6 +5487,7 @@ a deck written before them remains valid.
|
|
|
5479
5487
|
| 2026-11-18 (v1.223) | Writer leases (server-only, no wire or manifest change): a lone visit back that arrives while an earlier visit's revalidation is still out checks the claim again once that round settles (on whichever claim it settled), so a check from before another instance's takeover never lets the return proceed only to lose its first save. `resumePose` takes its snapshot through the lease view too, so it reads only once the claim settles and keeps a pose the previous writer saved just before; its 5 s read budget starts once the claim has settled. An older pending round that resumes on a replacement claim a newer arrival is already checking waits for that round and keeps the claim it found; it never inherits a claim that round reopens. A take holds its queue place at once, so an end asked while it waits for the claim runs after it. Without `writerLease` nothing changes. No deck opts in yet. |
|
|
5480
5488
|
| 2026-11-18 (v1.224) | Writer leases (server-only): `await hub.saves.holds(view)` tells whether the claim a save view writes through is still active and has not been lost, after pending claim checks settle. Unrecognized views and lease-off stores answer true. No manifest or wire change. |
|
|
5481
5489
|
| 2026-11-19 (v1.229) | §4 optional `away(hub, playerId, { userId, username })` and `back(hub, playerId, { userId, username, awayMs })` hooks: pinned retention tells a place once when it holds a dropped arrived player, and once on the same id's return inside the window (after the pose is restored, before the hello replay and `resume`); otherwise the visit ends with `leave` as before ("Away and back"). The 60 s keep and pose-only places never call them. Hook presence is the opt-in; server-only, no manifest or wire change. |
|
|
5490
|
+
| 2026-11-19 (v1.231) | §5 hub-entry link to a door the place's scene does not have (no `HubDoor` with that id; a door it has but does not list, such as a cabinet or a scheduled door between its events, still changes nothing): instead of changing nothing, the player stays where they are and is told "That place isn't in the Town right now" (no title: the place's Doors rows are where titles come from), guests and accounts not known alike. Ghost redirects by its door rows, which can name a door a saved scene lacks. Unknown slots and hosts without the command still change nothing. Client-only; nothing new sent or kept; no manifest key. Within `hub.contract: 1`. |
|
|
5482
5491
|
| 2026-11-19 (v1.230) | §1 `resumeWindowSec` may stand beside `resumePose` (still refused beside `result`, `houseResume` and `resumeArrivalPose`): the pinned window holds the same visit and pose, and `resumePose`'s stored pose then places a new id for the same account up to ten minutes after departure, as the Town's places already do ("Door resume window"). Manifest validation only; no runtime or wire change. |
|
|
5483
5492
|
| 2026-11-18 (v1.226) | Writer leases (server-only, no manifest or wire change): every `set`/`remove`/`increment` through a `hub.saves` view carries the platform writer check of the claim it is bound to, so a stale write is refused atomically instead of after a separate fence (the write-after-fence window is closed for ordinary writes where the platform checks). A refusal loses the claim and is never retried. Where a checked write answers `CAULDRON_STORAGE_UNAVAILABLE` (`castle-web serve`, persistent-world sessions; the details may sit under `extensions`) the session fences and writes unchecked as before; view `transaction`/`conditionalWrite` and root atomic calls keep their fence. Every lone arrival now claims anew and the place reloads (no revalidation of a held claim): queued writes of the previous visit go first for up to 5 s; claims are sent or retried only while a connected visit is here, and a resume picks a waiting claim up again. `holds(view)` also waits for the account's current claim. Without `writerLease` nothing changes. No deck opts in yet. |
|
|
5484
5493
|
| 2026-11-18 (v1.228) | Writer leases (server-only, no manifest or wire change): `hub.saves.bind(store, view)` returns another store of the account (a `session.storage.playthrough` handle) bound to the claim `view` is bound to: `set`/`remove` carry that claim's writer check and run in account order, reads wait for that claim. The raw store when `view` is not a lease view or the lease is off. The Town conversation saves through it. No deck opts in yet. |
|
|
@@ -5520,7 +5529,7 @@ a deck written before them remains valid.
|
|
|
5520
5529
|
| 2026-10-20 (v1.158) | Optional `idle.expression`: an emote wheel, five RP motions, sit-anywhere and private visit role-emote grants via `hub.emotesFor` (§6). No key preserves existing UI, behavior and wire bytes. |
|
|
5521
5530
|
| 2026-10-20 (v1.156) | §4 `hub.noTrips(playerId)`: a client in the app (`CastleEmbed.host === "mobile"`) asks `Hub.doors()` once a page, and a host that refuses it as UNKNOWN_COMMAND (an app from before hub commands, released iOS 1.150 and 1.151) has no door trips: after each hello it sends `hub-no-trips`, and that player is left out of every pad's group, `hub.go` and house visits for the visit, with "Update Castle to play" over a door whose pad they stand on, to them alone. Any other answer (rows, `unavailable`, a timeout) and every web page change nothing. Every deck, no key. Within `hub.contract: 1`. |
|
|
5522
5531
|
| 2026-10-19 (v1.155) | §5 the host may post a hub Go event (SDK `Hub.onGo`, `{ castleSdk: 1, hub: { type: "go", doorId, owner?, title?, party? } }`): the kit takes the player through the named door like a fired pad (`Hub.go` with `owner` as `ownerUserId`, the door beat, the cover), only once the place is settled and with no trip in flight, and drops it after 60 s, when it arrives during a trip, or for a door this place's Doors list lacks (a cabinet included). An older SDK or kit ignores it. Every deck, no key. Within `hub.contract: 1`. |
|
|
5523
|
-
| 2026-10-19 | §5 hub-entry link: on a page load whose first place is a root place (no hub join, no door behind it, not a game), the client reads `Multiplayer.joinHint()` once; `{ routeId: 'hub-entry', slot }` with `slot` `house` sends a signed-in player through the nearest listed House door (`HubDoor.to` `deck:house`) to their own House (`Hub.go` with no owner), and a guest stays with "Sign in to have a House of your own". `door:<id>` of a listed door: a host row placed by `layer`/`exact` needing one player is a trip through it; a pad door (ghost takes only a fired pad's group) or one needing more players is the Doors list's Go onto its pad, the latter saying how many it needs; a House door is the House rule; a disabled row says it is closed; a guest stays for every door, told "<Title> is in the Town · sign in to play". It waits while the player is held, and checks everything again after its door lookup, right before acting. An invite arrival wins; a trip, session swap, re-admission or new player id on the same connection, or 30 s unplaced spends it; unknown slots
|
|
5532
|
+
| 2026-10-19 | §5 hub-entry link: on a page load whose first place is a root place (no hub join, no door behind it, not a game), the client reads `Multiplayer.joinHint()` once; `{ routeId: 'hub-entry', slot }` with `slot` `house` sends a signed-in player through the nearest listed House door (`HubDoor.to` `deck:house`) to their own House (`Hub.go` with no owner), and a guest stays with "Sign in to have a House of your own". `door:<id>` of a listed door: a host row placed by `layer`/`exact` needing one player is a trip through it; a pad door (ghost takes only a fired pad's group) or one needing more players is the Doors list's Go onto its pad, the latter saying how many it needs; a House door is the House rule; a disabled row says it is closed; a guest stays for every door, told "<Title> is in the Town · sign in to play". It waits while the player is held, and checks everything again after its door lookup, right before acting. An invite arrival wins; a trip, session swap, re-admission or new player id on the same connection, or 30 s unplaced spends it; unknown slots and hosts without the command change nothing; a door the place's scene does not have says "That place isn't in the Town right now" (v1.231; before it, nothing). Every deck, no key; nothing new sent or kept. Within `hub.contract: 1`. |
|
|
5524
5533
|
| 2026-10-18 (v1.154) | §5 a door asked within 16 s of this player's arrival in a session (a join, a trip's, a reconnect; ghost's roster lags it by up to 15 s, during which the SDK asks again through `forbidden`) keeps its cover up for the 15 s loading limit counted from that window's end, not the trip's start: a door that answers ok after 14 s of `forbidden` goes through instead of "it took too long". A door that never answers still shuts, by 31 s at most; one asked later keeps 15 s. Every deck, no key. Within `hub.contract: 1`. |
|
|
5525
5534
|
| 2026-10-17 (v1.147) | §5 a joining player's body without a readable saved pose starts on the scene's spawn itself (its x and z, at the v1.48 standing height), not on the multiplayer spawn ring 1.1 m around it. The client starts its own body at the spawn; on the live Town the first WORLD snapped it to its ring slot, and the kit's arrival row back at the spawn then reached it as a correction under the client's 4 m snap distance, eased a quarter of the way a frame: a 1.1 m glide just after the cover lifted (3 of 5 captures, web and TECNO). Players waiting together share the spot until the arrival row spreads them; the row, the v1.40 settle and every later placement are unchanged. Saved and resumed poses are unchanged. A default in every hub place; no key, nothing new sent. |
|
|
5526
5535
|
| 2026-10-18 (v1.150) | §12 and §13 authored mind taps also apply in `under13Choices` places: an under-13 speaker receives the place's authored asks ahead of both bundle `childAsks` and the three legacy choices. A matching trimmed `hub-npc-say` is answered through `npcLine` `why: 'authored'`; legacy strings outside those taps are ignored, and mind turns remain refused with `HUB_NPC_CHOICE_REQUIRED`. Mind-less NPCs, minds without authored asks, adults and unknown ages are unchanged. Within `hub.contract: 1`. |
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
],
|
|
488
488
|
[
|
|
489
489
|
"root",
|
|
490
|
-
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":true},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":true},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":true}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"
|
|
490
|
+
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":true},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":true},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":true}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"px\":560},{\"vw\":100,\"sub\":{\"l\":16,\"r\":16}}],\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":14,\"weight\":500,\"clip\":false,\"talign\":\"center\",\"gone\":true}},{\"t\":\"text\",\"k\":\"toast\",\"hub\":\"toast\",\"text\":\"\",\"at\":{\"anchor\":\"top\",\"top\":[12,0],\"avoid\":[\"hud/hud\",\"ask/card\"]},\"s\":{\"w\":\"wrap\",\"maxW\":[{\"vw\":100,\"px\":-24}],\"box\":\"border\",\"talign\":\"center\",\"pad\":[8,14],\"radius\":8,\"bg\":\"toast\",\"size\":14,\"gone\":true}}]}",
|
|
491
491
|
1,
|
|
492
492
|
1700000001,
|
|
493
493
|
[
|
|
@@ -496,7 +496,7 @@
|
|
|
496
496
|
],
|
|
497
497
|
[
|
|
498
498
|
"root",
|
|
499
|
-
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":true},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":true}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"
|
|
499
|
+
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":true},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":true}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"px\":560},{\"vw\":100,\"sub\":{\"l\":16,\"r\":16}}],\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":14,\"weight\":500,\"clip\":false,\"talign\":\"center\",\"gone\":true}},{\"t\":\"text\",\"k\":\"toast\",\"hub\":\"toast\",\"text\":\"\",\"at\":{\"anchor\":\"top\",\"top\":[12,0],\"avoid\":[\"hud/hud\",\"ask/card\"]},\"s\":{\"w\":\"wrap\",\"maxW\":[{\"vw\":100,\"px\":-24}],\"box\":\"border\",\"talign\":\"center\",\"pad\":[8,14],\"radius\":8,\"bg\":\"toast\",\"size\":14,\"gone\":true}}]}",
|
|
500
500
|
2,
|
|
501
501
|
1700000001,
|
|
502
502
|
[
|
|
@@ -505,7 +505,7 @@
|
|
|
505
505
|
],
|
|
506
506
|
[
|
|
507
507
|
"root",
|
|
508
|
-
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":true},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":true}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"
|
|
508
|
+
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":true},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":true}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"px\":560},{\"vw\":100,\"sub\":{\"l\":16,\"r\":16}}],\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":14,\"weight\":500,\"clip\":false,\"talign\":\"center\",\"gone\":true}},{\"t\":\"text\",\"k\":\"toast\",\"hub\":\"toast\",\"text\":\"\",\"at\":{\"anchor\":\"top\",\"top\":[12,0],\"avoid\":[\"hud/hud\",\"ask/card\"]},\"s\":{\"w\":\"wrap\",\"maxW\":[{\"vw\":100,\"px\":-24}],\"box\":\"border\",\"talign\":\"center\",\"pad\":[8,14],\"radius\":8,\"bg\":\"toast\",\"size\":14,\"gone\":true}},{\"t\":\"stack\",\"k\":\"actpair\",\"at\":{\"anchor\":\"bottomRight\",\"bottom\":[60,50],\"right\":[14,0],\"rail\":{\"name\":\"right\",\"order\":1}},\"s\":{\"w\":134,\"h\":48,\"hit\":\"none\",\"gone\":false},\"c\":[{\"t\":\"button\",\"k\":\"act\",\"data\":{\"hubAct\":\"act\"},\"disabled\":true,\"at\":{\"anchor\":\"topLeft\",\"top\":0,\"left\":70},\"s\":{\"h\":48,\"w\":64,\"minH\":44,\"pad\":8,\"radius\":22,\"border\":{\"w\":2,\"c\":\"rgba(255,255,255,.55)\"},\"bg\":\"rgba(20,16,12,.88)\",\"color\":\"#fff\",\"font\":\"ui\",\"size\":14,\"weight\":700,\"lh\":\"normal\",\"box\":\"border\",\"wrap\":\"none\",\"gone\":false,\"opacity\":0.5},\"on\":{\"press\":\"hud/actpair/act#press\",\"release\":\"hud/actpair/act#release\",\"cancel\":\"hud/actpair/act#cancel\"},\"c\":[{\"t\":\"text\",\"text\":\"Act\"}]},{\"t\":\"button\",\"k\":\"jump\",\"data\":{\"hubAct\":\"jump\"},\"fire\":\"down\",\"keepFocus\":true,\"at\":{\"anchor\":\"topLeft\",\"top\":0,\"left\":0},\"s\":{\"h\":48,\"w\":64,\"minH\":44,\"pad\":8,\"radius\":22,\"border\":{\"w\":2,\"c\":\"rgba(255,255,255,.55)\"},\"bg\":\"rgba(20,16,12,.88)\",\"color\":\"#fff\",\"font\":\"ui\",\"size\":14,\"weight\":700,\"lh\":\"normal\",\"box\":\"border\",\"wrap\":\"none\",\"gone\":false},\"on\":{\"tap\":\"hud/actpair/jump#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"Jump\"}]}]}]}",
|
|
509
509
|
3,
|
|
510
510
|
1700000001,
|
|
511
511
|
[
|
|
@@ -518,7 +518,7 @@
|
|
|
518
518
|
],
|
|
519
519
|
[
|
|
520
520
|
"root",
|
|
521
|
-
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":false},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"Plot\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":false}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"Plant.\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"
|
|
521
|
+
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":false},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"Plot\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":false}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"Plant.\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"px\":560},{\"vw\":100,\"sub\":{\"l\":16,\"r\":16}}],\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":14,\"weight\":500,\"clip\":false,\"talign\":\"center\",\"gone\":false}},{\"t\":\"text\",\"k\":\"toast\",\"hub\":\"toast\",\"text\":\"\",\"at\":{\"anchor\":\"top\",\"top\":[12,0],\"avoid\":[\"hud/hud\",\"ask/card\"]},\"s\":{\"w\":\"wrap\",\"maxW\":[{\"vw\":100,\"px\":-24}],\"box\":\"border\",\"talign\":\"center\",\"pad\":[8,14],\"radius\":8,\"bg\":\"toast\",\"size\":14,\"gone\":true}},{\"t\":\"stack\",\"k\":\"actpair\",\"at\":{\"anchor\":\"bottomRight\",\"bottom\":[60,50],\"right\":[14,0],\"rail\":{\"name\":\"right\",\"order\":1}},\"s\":{\"w\":134,\"h\":48,\"hit\":\"none\",\"gone\":false},\"c\":[{\"t\":\"button\",\"k\":\"act\",\"data\":{\"hubAct\":\"act\"},\"disabled\":true,\"at\":{\"anchor\":\"topLeft\",\"top\":0,\"left\":70},\"s\":{\"h\":48,\"w\":64,\"minH\":44,\"pad\":8,\"radius\":22,\"border\":{\"w\":2,\"c\":\"rgba(255,255,255,.55)\"},\"bg\":\"rgba(20,16,12,.88)\",\"color\":\"#fff\",\"font\":\"ui\",\"size\":14,\"weight\":700,\"lh\":\"normal\",\"box\":\"border\",\"wrap\":\"none\",\"gone\":false,\"opacity\":0.5},\"on\":{\"press\":\"hud/actpair/act#press\",\"release\":\"hud/actpair/act#release\",\"cancel\":\"hud/actpair/act#cancel\"},\"c\":[{\"t\":\"text\",\"text\":\"Act\"}]},{\"t\":\"button\",\"k\":\"jump\",\"data\":{\"hubAct\":\"jump\"},\"fire\":\"down\",\"keepFocus\":true,\"at\":{\"anchor\":\"topLeft\",\"top\":0,\"left\":0},\"s\":{\"h\":48,\"w\":64,\"minH\":44,\"pad\":8,\"radius\":22,\"border\":{\"w\":2,\"c\":\"rgba(255,255,255,.55)\"},\"bg\":\"rgba(20,16,12,.88)\",\"color\":\"#fff\",\"font\":\"ui\",\"size\":14,\"weight\":700,\"lh\":\"normal\",\"box\":\"border\",\"wrap\":\"none\",\"gone\":false},\"on\":{\"tap\":\"hud/actpair/jump#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"Jump\"}]}]}]}",
|
|
522
522
|
4,
|
|
523
523
|
1700000001,
|
|
524
524
|
[
|
|
@@ -531,7 +531,7 @@
|
|
|
531
531
|
],
|
|
532
532
|
[
|
|
533
533
|
"root",
|
|
534
|
-
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":false},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"Plot\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":false}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"Plant.\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"
|
|
534
|
+
"{\"t\":\"stack\",\"k\":\"hud\",\"s\":{\"font\":\"ui\",\"size\":15,\"weight\":600,\"lh\":1.3,\"color\":\"#fff\"},\"c\":[{\"t\":\"button\",\"k\":\"back\",\"fire\":\"down\",\"at\":{\"anchor\":\"topLeft\",\"top\":[12,0],\"left\":[12,0]},\"s\":{\"pad\":[9,16,9,12],\"radius\":22,\"border\":{\"w\":1,\"c\":\"line35\"},\"bg\":\"chip\",\"color\":\"#fff\",\"gone\":false},\"on\":{\"tap\":\"hud/back#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"‹ Town\"}]},{\"t\":\"column\",\"k\":\"hud\",\"at\":{\"anchor\":\"top\",\"top\":[12,0]},\"s\":{\"maxW\":[{\"vw\":70}],\"talign\":\"center\",\"tshadow\":\"outline\",\"gone\":false},\"c\":[{\"t\":\"text\",\"k\":\"title\",\"data\":{\"hubCopy\":\"subtitle\"},\"text\":\"Plot\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":13,\"lines\":2,\"ellipsis\":false,\"ls\":0.06,\"upper\":true,\"gone\":false}},{\"t\":\"text\",\"k\":\"big\",\"text\":\"\",\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[0,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":\"100%\",\"self\":\"center\",\"mt\":4,\"wrap\":\"anywhere\",\"size\":56,\"weight\":800,\"lh\":1.05,\"gone\":true}}]},{\"t\":\"text\",\"k\":\"prompt\",\"hub\":\"hud-prompt\",\"data\":{\"hubCopy\":\"instruction\"},\"text\":\"Plant.\",\"at\":{\"anchor\":\"bottom\",\"bottom\":[54,48],\"left\":[16,0],\"right\":[16,0],\"z\":2},\"s\":{\"bg\":\"copy\",\"radius\":14,\"pad\":[4,8],\"box\":\"border\",\"w\":\"wrap\",\"maxW\":[{\"px\":560},{\"vw\":100,\"sub\":{\"l\":16,\"r\":16}}],\"self\":\"center\",\"lh\":1.3,\"wrap\":[\"word\",\"anywhere\"],\"size\":14,\"weight\":500,\"clip\":false,\"talign\":\"center\",\"gone\":false}},{\"t\":\"text\",\"k\":\"toast\",\"hub\":\"toast\",\"text\":\"Planted\",\"at\":{\"anchor\":\"top\",\"top\":[12,0],\"avoid\":[\"hud/hud\",\"ask/card\"]},\"s\":{\"w\":\"wrap\",\"maxW\":[{\"vw\":100,\"px\":-24}],\"box\":\"border\",\"talign\":\"center\",\"pad\":[8,14],\"radius\":8,\"bg\":\"toast\",\"size\":14,\"gone\":false}},{\"t\":\"stack\",\"k\":\"actpair\",\"at\":{\"anchor\":\"bottomRight\",\"bottom\":[60,50],\"right\":[14,0],\"rail\":{\"name\":\"right\",\"order\":1}},\"s\":{\"w\":134,\"h\":48,\"hit\":\"none\",\"gone\":false},\"c\":[{\"t\":\"button\",\"k\":\"act\",\"data\":{\"hubAct\":\"act\"},\"disabled\":true,\"at\":{\"anchor\":\"topLeft\",\"top\":0,\"left\":70},\"s\":{\"h\":48,\"w\":64,\"minH\":44,\"pad\":8,\"radius\":22,\"border\":{\"w\":2,\"c\":\"rgba(255,255,255,.55)\"},\"bg\":\"rgba(20,16,12,.88)\",\"color\":\"#fff\",\"font\":\"ui\",\"size\":14,\"weight\":700,\"lh\":\"normal\",\"box\":\"border\",\"wrap\":\"none\",\"gone\":false,\"opacity\":0.5},\"on\":{\"press\":\"hud/actpair/act#press\",\"release\":\"hud/actpair/act#release\",\"cancel\":\"hud/actpair/act#cancel\"},\"c\":[{\"t\":\"text\",\"text\":\"Act\"}]},{\"t\":\"button\",\"k\":\"jump\",\"data\":{\"hubAct\":\"jump\"},\"fire\":\"down\",\"keepFocus\":true,\"at\":{\"anchor\":\"topLeft\",\"top\":0,\"left\":0},\"s\":{\"h\":48,\"w\":64,\"minH\":44,\"pad\":8,\"radius\":22,\"border\":{\"w\":2,\"c\":\"rgba(255,255,255,.55)\"},\"bg\":\"rgba(20,16,12,.88)\",\"color\":\"#fff\",\"font\":\"ui\",\"size\":14,\"weight\":700,\"lh\":\"normal\",\"box\":\"border\",\"wrap\":\"none\",\"gone\":false},\"on\":{\"tap\":\"hud/actpair/jump#tap\"},\"c\":[{\"t\":\"text\",\"text\":\"Jump\"}]}]}]}",
|
|
535
535
|
5,
|
|
536
536
|
1700000001,
|
|
537
537
|
[
|
|
@@ -559,7 +559,7 @@
|
|
|
559
559
|
[]
|
|
560
560
|
]
|
|
561
561
|
],
|
|
562
|
-
"dom": "
|
|
562
|
+
"dom": "0d9810d41553002d63d012b3ba5f1012821de5ee35349487a4d287d30ded845a",
|
|
563
563
|
"writes": 669
|
|
564
564
|
},
|
|
565
565
|
"safeLandscape": {
|
|
@@ -620,7 +620,7 @@
|
|
|
620
620
|
[]
|
|
621
621
|
]
|
|
622
622
|
],
|
|
623
|
-
"dom": "
|
|
623
|
+
"dom": "9ba1c767ba54260c4436ab6a4bae23ff35e35f99c0ca6dce8ce79efc16e53c3f",
|
|
624
624
|
"writes": 713
|
|
625
625
|
},
|
|
626
626
|
"lateSink": {
|