Skip to content

Connector: script elapsed, particle gravity wording, screenshot angles - #516

Merged
AlexZ005 merged 3 commits into
mainfrom
fix/script-elapsed-gravity
Nov 2, 2026
Merged

AlexZ005 merged 3 commits into
mainfrom
fix/script-elapsed-gravity

Conversation

@AlexZ005

@AlexZ005 AlexZ005 commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Rides the next release: merge into the 1.54 union, no patch release and no version bump here.

Scripts: elapsed beside time. time is the shared clock, so a pose written from it jumps at every Play press. A script now also reads elapsed: seconds of the game round while one runs, otherwise seconds since this peer last entered or left Play. It is a global rather than a parameter, so a script with its own const elapsed still compiles. Inside a round it is shared; outside one it is per peer, because a Play press has no shared stamp and adding one would be a wire change.

Particle gravity now says what it is: acceleration along world Y, negative falls, positive rises.

Connector screenshot.

  • top, front, iso and focus are 4:3 whatever the window is (iso at size 700 is 700x525, was 700x183 on a wide canvas). current keeps the canvas shape.
  • New optional arguments: aspect, from (a named side or {yaw, pitch} in degrees), camera ({position, target}), uuids, zoom, margin.
  • The result carries camera: position, target, fov, zoom, view, subject. A uuid not in the scene is named in the error.
  • Read-only: it renders from its own camera and moves nobody's view.
  • tpAgent gains lastShot(), so TP_AGENT_VERSION is 1.5.0.

Cloud: no cloud change needed. The Worker turns the extra result fields into a text block already, and its tool catalog regenerates at the release.

Tested: unit tests, ratchet and build, plus the touched suites only, by decision: no full battery here, the release's battery covers it. A CHANGELOG line is left to the release.

🤖 Generated with Claude Code

AlexZ005 and others added 3 commits November 1, 2026 20:38
A script reads `elapsed`: seconds of the game round when one is running,
otherwise seconds since this peer last entered or left Play. `time` stays
the shared clock, so a pose written from it jumps at every press. It is a
global rather than a parameter, so a script with its own `const elapsed`
still compiles. The += warning and the agent notes now point at elapsed.

The particle node's gravity says it is an acceleration along world Y:
negative falls, positive rises.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A framed view (top, front, iso, focus) is 4:3 whatever the window is, so
an iso at size 700 is 700x525 instead of following a wide canvas down to
700x183; current keeps the canvas shape. New optional arguments: aspect,
from (a named side or yaw and pitch in degrees), camera (a free position
and target), uuids (frame several), zoom and margin. The result says the
camera it used and what it framed. A missing uuid is named in the error.
Read-only: it renders from its own camera, nobody's view moves.

tpAgent gains lastShot(), so TP_AGENT_VERSION is 1.5.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
AlexZ005 added a commit that referenced this pull request Nov 1, 2026
…from #516

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AlexZ005
AlexZ005 merged commit 86ceedb into main Nov 2, 2026
19 checks passed
@AlexZ005
AlexZ005 deleted the fix/script-elapsed-gravity branch November 2, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant