Repository navigation
Connector: script elapsed, particle gravity wording, screenshot angles - #516
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rides the next release: merge into the 1.54 union, no patch release and no version bump here.
Scripts:
elapsedbesidetime.timeis the shared clock, so a pose written from it jumps at every Play press. A script now also readselapsed: 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 ownconst elapsedstill 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,isoandfocusare 4:3 whatever the window is (iso at size 700 is 700x525, was 700x183 on a wide canvas).currentkeeps the canvas shape.aspect,from(a named side or{yaw, pitch}in degrees),camera({position, target}),uuids,zoom,margin.camera: position, target, fov, zoom, view, subject. A uuid not in the scene is named in the error.tpAgentgainslastShot(), soTP_AGENT_VERSIONis 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