Repository navigation
1.16 part 14/18: 3D: flying, the Go to sheet, the HUD and touch - #185
Closed
epheterson wants to merge 1 commit into
Closed
epheterson wants to merge 1 commit into
epheterson wants to merge 1 commit into
Conversation
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Sorry @epheterson, your pull request is larger than the review limit of 150,000 diff characters |
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 10:07
9c5a682 to
e371720
Compare
epheterson
force-pushed
the
line/1.16.0-14-3d-controls
branch
from
November 23, 2026 10:07
018b7ba to
a6eb1bc
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 10:12
e371720 to
9eaa60b
Compare
epheterson
force-pushed
the
line/1.16.0-14-3d-controls
branch
from
November 23, 2026 10:12
a6eb1bc to
b2c69a8
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 10:52
9eaa60b to
10f27af
Compare
epheterson
force-pushed
the
line/1.16.0-14-3d-controls
branch
from
November 23, 2026 10:52
b2c69a8 to
9b2180b
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 16:37
10f27af to
454c181
Compare
epheterson
force-pushed
the
line/1.16.0-14-3d-controls
branch
from
November 23, 2026 16:37
9b2180b to
c5e389a
Compare
epheterson
force-pushed
the
line/1.16.0-13-3d-worlds
branch
from
November 23, 2026 16:45
454c181 to
9eea5f6
Compare
epheterson
force-pushed
the
line/1.16.0-14-3d-controls
branch
from
November 23, 2026 16:45
c5e389a to
6e37a85
Compare
Owner
Author
|
Reviewed here; included in the release PR #189. |
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.
Part 14 of 18 of Zimi 1.16.0: 3D: flying, the Go to sheet, the HUD and touch. Base:
line/1.16.0-13-3d-worlds(part 13); the diff shows only this part's files. The PR carries thenot-a-releaselabel and the version stays 1.15.7, so merging it cuts no release. Merge in order (1 to 17, then 18) with a merge commit, not a squash.What this is
How a person moves and steers in the 3D view: the UFO and its flights, the capability levels that decide what a device draws, and the browser tests that hold the Go to sheet, the controls layer and the touch rules. Two new scripts carry the code; the Go to sheet, the controls layer and the info corner live in
almanac-earth.js(part 13), so most of this part is the tests that drive them on an emulated phone.What changes
zimi/static/almanac-fly.js(new, 1,319 lines): the UFO, loaded on the first press of Fly. Speed follows one law at every scale (full throttle is alwaysAF_TAU_Sfrom the nearest surface), the craft never moves the clock, and it goes round any world in its way (_afWay,_afMove).zimi/static/almanac-fly.js: input on both devices. Keys W A S D, the arrows, Space, C, Q E and L on a keyboard; on a phone a spring-back throttle lever and a drag layer that looks, rolls with two fingers, and flies to a tapped world (_afBindLayer,_afTap).zimi/static/almanac-fly.js: the camera stands off the craft and keeps a world in frame (_afCamera), the autopilot (_aeFlyGoTo,_afPreset) stops where the world spans two thirds of the picture's shorter side, and the readout gives speed in real units and the Sun's light time.zimi/static/almanac-fly.js: hooks the mission player and Stand here also use (_aeShipStep,_aeShipCam,_aeShipNear,_aeShipDraw,_afLand,_afTakeOff).zimi/static/capability.js(new, 426 lines):ZimiCappicks a level (low, standard or high) from device signals, with Auto, Light and Full in the gear. A governor steps the pixel ratio, then the frame rate, down on slow frames and back up on easy ones, so the view slows but is never cut. It also holds the GPU memory budget and watches for a lost context.zimi/static/capability.js: the gear's "better online" rows read/manage/outbound, and only for an admin; its settings are stored on the device (zimi_cap).zimi/static/almanac-debug3d.js(new): a log viewer shown only after?debug3d=1has switched the 3D debug log on.test_almanac_go_sheet_browser.py,_sheet_*,_drawer_,_edge_buttons_,_controls_toggle_,_corners_,_phonefix_,_ux3d_and_hud_contract_cover the sheet, the buttons, the tap-to-hide rule and the one contract every mode obeys.How to review
almanac-fly.js_afMoveand_afHugVel(speed, floor and the circle-a-world rule) and_aeShipStep(frame order against the camera);capability.jsframeanddecide(when a step down fires, and that a step never sticks)._afBindLayeron a phone (a touch stays with its start element on iOS);capability.jswatchContextandchoose, which can set the view aside; frame cost of the hooks on every 3D frame.test_almanac_ux3d_browser.py,test_almanac_rig_browser.py,test_almanac_fly_browser.py) are tours and need not be read in full.almanac-fly.jsandtest_almanac_rig_browser.pyrefer to stand, site and mission state that lands in parts 15 and 16, guarded bytypeof.test_almanac_ux.cjsand.spec.mjsfollow the orrery and hint changes of part 13.test_capability.cjs,test_almanac_touch_layer_browser.py,_pushin_,_sheet_polish_and_label_touch_are named for this part but first pass in part 16.Tests
test_almanac_fly_browser.py,_flyroll_,_flight_clearance_,_rig_): the file is fetched on first press and not before, keys and levers move and turn it, no flight passes through a body, the picture stays north-up, and a craft outlives a camera visit.test_almanac_hud_contract_browser.py,_edge_buttons_,_controls_toggle_,_drawer_): one tour of every mode at 390 x 844, upright and on its side, checks each rule by stop; rules not yet met are listed in the test.test_almanac_go_sheet_browser.py,_sheet_regroup_,_sheet_cover_,_sheet_,_rowmarks_): the keyboard, Map here only for an installed map, three parts of the list, nothing cut off.test_capability_browser.py,test_capability_one_address.py): the view opens on software GL, the gear's choice is kept, and one address serves the loader and the Almanac._view_targets_,_travel_,_sbs_fade_,_corners_,_phonefix_,_ux3d_): article links land on the thing, a fast clock clips nothing, Side by side cross-fades.test_capability_one_address.py,test_almanac_ux.cjsandtest_almanac_ux.spec.mjsneeds a browser and runs in the whole matrix.