diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ff4cb8d2..023f4728a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and ## Unreleased +## [0.1.0] - 2026-11-27 + ### Added - `game`: fixed-step `Loop` built on NSGo's `RequestAnimationFrame`, pausing in the background and interpolating draw frames. @@ -30,6 +32,525 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and - `game/input`: mouselook through NSGo's pointer lock: `LockPointer`/`UnlockPointer` on the game view, pointer axes (`BindPointerAxis` with `PointerX`/`PointerY`, sensitivity and invert) read per step with `Delta`, `PointerDelta` or `Axis`, `Attach` forwarding `OnPointerDelta`, `PointerLockRequested`, and pointer axes saved with the other bindings; `Load` now refuses unknown fields and trailing data (#26). - `game`: `Loop.Immersive` hides a phone's system bars through NSGo's `mobile.Immersive` while the game plays and brings them back while it is paused, as under a menu, and when it stops or its scope is disposed (#103). - `game/input`: game controllers drive actions and axes on every target with gamepads: `GamepadButton` inputs, `BindGamepadAxis` stick axes with a radial or axial dead zone, sensitivity and inversion, `WatchGamepads` reading NSGo's `gamepad` package each step, per-player `SelectGamepad`, `OnGamepads` for tests and replays, and controller bindings in `Save`/`Load` (#25). +- Editor: multi-file pending agent turns (`StartAgentTurn`, `EndAgentTurn`, `StopAgentTurn`, `KeepAgentTurn`, `RevertAgentTurn`, `UndoRevertAgentTurn`, per-change and per-file revert/restore) with derived structural diffs across scenes, prefabs, data tables, `game.yaml`, and clips, `AuthorAgent` history tagging for single-step multi-file Undo/Redo, Spec Undo toasts, Checkpoints `⌘Z` rules, and the Agent panel summary card (`Main.dc.html`). +- Editor MCP (`editormcp`): `turn_start`, `turn_end`, read-only `turn_status`, and multi-file in-memory `file_edit` tools, plus optional `why` explanations and active-turn multi-scene editing on `scene_edit` and `object_set_field`. +- `game/scenemodel`: scene file objects draw in 3D. `Build` builds a scene into a `scene3d` tree as `BuildNodes3D` does and attaches to each object's node the geometry and materials of its built-in primitive or glTF model, with `LocalBounds` from the geometry; `Assets` loads models, material files and textures from a project's files, `Built.AppendDrawItems` feeds `render3d.Queue`, and `Renderer` draws the parts lit and textured (#889). +- `game/sceneformat`: version 2 objects and overrides name a glTF 2.0 model in `model`, by its path from the project root, optionally narrowed to one node (`modelNode`) or mesh (`modelMesh`); an object's `material` replaces the model's materials, and an override's `mesh: ""` removes an inherited primitive so that it can set `model`. `CheckObjectModel` checks these fields on one object (#889). +- `game check` reports a missing or broken model, and a `modelNode` or `modelMesh` the model does not have, with the scene file and line, including what an override in an instancing or inheriting scene changes, at the override; `game mv`, `game index` and the editor's `MoveFile` rewrite the scenes and overrides that name a moved model, and the `.gltf` files whose separate buffers and images move, keeping their URIs percent-encoded (#889). +- Lantern 3D loads its level from a scene file, `assets/shrine.scene.yaml`, built with `scenemodel.Build` (#889). +- `game/editor`: the 3D viewport pans with a middle-button drag, a Shift-drag, a touchpad's scroll or a two-finger drag, zooms with the wheel or a pinch, and flies while the right button is held, looking with the pointer and moving with W, A, S, D, Q and E at a speed the wheel changes. F frames the selection, the number keys and a Spec-styled orientation widget with clickable, keyboard-focusable axis buttons and Orbit 15° controls turn to the front, back, right, left, top and bottom views, and 5 or the Spec-styled 3D viewport bar switches between perspective and orthographic (alongside the Lit/Unlit/Wireframe shading menu, view name, Reset view, keycap help line, Local/Global transform space toggle, and Focus F button), with accurate orthographic picking and gizmo drags and status bar yaw/pitch/space readout. Each scene of a project opens at the camera it was left at, kept in `.game/editor.yaml` out of version control (`SaveViewState`) (#891). +- `game/effects`: a chain of Kage shader passes over the game's frame, fused into one program with no texture between passes, with per-effect uniforms animated on the frame clock (`Clock`), an `effects.View` over a pixel-buffer frame and CPU `Reference` pictures for headless golden tests (#93). +- `game/editor`: a layers panel (`LayersView`) under the scene tree lists the scene's layers in draw order with their space and tilemap, makes the pressed layer the active one, and adds, removes, renames, reorders (by drag or context menu), hides and locks layers; `AddLayer`, `RemoveLayer` (which takes the connections of the layer's objects with it), `RenameLayer`, `MoveLayer`, `SetLayerVisible` and `SetLayerSpace` do the same as undoable commands that round-trip the scene file, `SetLayerLocked` keeps the viewports from picking, moving or painting a layer for the session, `Layers` reports what the panel shows, and the status bar marks the active layer hidden or locked (#862). +- `game/rhythm`: versioned YAML beat maps with tempo and meter changes, a music `Clock` on NSGo's audio clock that syncs to a player and stays within a millisecond of the map, and audio/video latency calibration (`Calibration`, a gameui `CalibrationScreen`) with per-device offsets kept as YAML in `core.Storage` (#527). +- `game/sceneformat`: objects hold `children` with local transforms, built into composed 2D world transforms by `Build`, into the entity hierarchy by `SpawnEntities` and into a 3D node tree by `BuildNodes3D`; `Validate` refuses a child sprite whose composed transform is sheared, and `CheckObjectTree` checks one tree's depth and shear (#484). +- `game/editor`: a scene tree panel (`SceneTreeView`) lists the scene's layers and nested objects, selects them in step with the viewports, and reparents, reorders, renames and moves them between layers by drag or context menu, keeping their world transform; `ReparentObject`, `MoveObjectToLayer`, `ReorderObject`, `DropObject` and `SetObjectID` (which rewrites the connections that name the object) do the same as undoable commands, and per-row eye and lock toggles (`SetObjectHidden`, `SetObjectLocked`) hide or lock objects in the viewports for the session without touching the scene file (#861). +- `game/editor`: a tile palette right of the viewport while a tile tool is active, showing the active layer's tileset in tile ID order at the tilemap's tile size; pressing a tile or moving with the arrow keys picks the tile Paint and Fill write, the status bar shows its ID, the palette follows the active layer, and a layer without tiles to pick says why. `Editor.TilePalette` returns what it shows (#874). +- `examples/tutorial`: Star Catcher, a tutorial game built in nine chapters from an empty project to release builds, each chapter a complete, tested program, with the chapters in English and Chinese under `docs/` (#508). +- `game/ability`: YAML ability sets and a fixed-step `Caster` with costs, cooldowns, sequential charges, cast and channel times, conditions, press/hold input triggers, events and snapshot/restore, counting every timer in whole steps (#517). +- `game/achievements`: achievements declared in a versioned YAML file with per-service Game Center and Play Games IDs, a `Tracker` with monotonic progress persisted in `core.Storage` and saved outside its lock, and `SignIn`, which reports unacknowledged progress through NSGo's `gameservices`; SlideGem reports its achievements to both services (#107). +- `game/ai`: attack token pools (`TokenPool`, `TokenManager`, `WithAttackToken`, `HasAttackToken`) with priority preemption, cooldowns, and hold timeouts; non-crossing concentric engagement slot assignment (`SlotAssigner`) with hysteresis around moving targets; and `Squad` coordination with shared `SquadState`, scored role matching, and behavior-tree-readable `SquadOrder`s (#841). +- `game/ai`: add expansion budgets and partial-path fallback (`PathOptions`, `GridPathResult`, `NavPathResult`, `AStar.MaxExpansions`, `AStar.FindWithOptions`, `AStar.FindWithOptionsInto`, `NavMesh.FindPathWithOptions`), deterministic incremental path searches (`AStarSearch`, `NavMeshSearch`, `IncrementalSearch`, `SearchStatus`), and a budgeted deterministic `PathQueue` with FIFO/round-robin scheduling, priorities, cancellation, polling, and callbacks (#832). +- `game/world3d`: add bounded and partial 3D `NavMesh` searches (`NavPathResult`, `NavMesh.FindPathWithOptions`) and incremental `NavMeshSearch` (`NavMesh.StartSearch`, `NewNavMeshSearch`) implementing `ai.IncrementalSearch` for direct scheduling on `ai.PathQueue` (#832). +- `game/ai`: behavior tree timeout (`TimeLimit`), retry (`Retry`), deterministic `random.Stream`-backed random choices (`RandomSelector`, `RandomSequence`, `WeightedSelector` / `WeightedNode`), and periodic branch service (`Service`) nodes (#842). +- `game/ai`, `game/flow`, `game/debug`: add optional behavior tree node names (`ai.Named`, preserved from `*.bt.yaml`) and zero-allocation read-only tree inspection (`ai.BTInspector`, `WalkInto`, `RunningPathInto`, `FormatBTTrace`), bounded transition history and `MachineInspector` snapshots/formatting on `flow.Machine`, and `-tags release`-stripped AI inspector overlay panels and steering debug draw helpers (`debug.AISnapshot`, `Overlay.SetAI`, `Overlay.DrawSteering`) (#836). +- `game/ai`: add deterministic behavior tree state snapshots (`BehaviorTree`, `BehaviorTreeSnapshot`, `BTNodeSnapshot`, `SnapshotBehaviorTree`, `RestoreBehaviorTree`, `SnapshotNode`, `ChildNodes`, `ErrInvalidBTSnapshot`) with YAML/JSON round-trip support, structural shape validation, and transactional restore across all built-in and custom nodes (#837). +- `game/flow`: add `Machine.Snapshot`, `Machine.Restore`, `Machine.Started`, `MachineSnapshot[S]`, and `ErrInvalidSnapshot` to save and restore finite state machine state without running `Exit` or `Enter` hooks (#837). +- `game/ai`: add typed per-agent/shared `Blackboard` with change notifications and monotonic revisions, `BlackboardCondition` decorator with observer aborts (`none`, `self`, `lower`, `both`), versioned `*.bt.yaml` parser/encoder/builder (`ParseBehaviorTree`, `EncodeBehaviorTree`, `LoadBehaviorTreeFS`, `BuildBehaviorTree`) supporting subtrees with parameter/key bindings and cycle detection via `loaderr`, and published JSON Schema `bt.v1.json` (#835). +- `game/ai`: goal-oriented action planning (GOAP) with bitset-packed `WorldState` and small integer facts, regressive A* `GOAPPlanner` with node budget and zero-allocation buffer reuse, auto-replanning `PlanRunner` implementing behavior tree `Node`, and versioned YAML action sets `ParseGOAP`/`EncodeGOAP` (#843). +- `game/ai`: add generic reusable-buffer graph search (`Graph`, `HeuristicGraph`, `GraphFunc`, `GraphSearch`, `GraphRange`) supporting A*, Dijkstra, and budgeted range queries with path reconstruction, a `HexGrid` adapter over `tilemap.Tilemap` covering all hex stagger axes and indices, and a 2D/3D `WaypointGraph` (#831). +- `game/ai`: add deterministic HPA* hierarchical pathfinding (`HPA`) with configurable clusters, automatic border entrances, weighted `CostGrid`/`EdgeCostGrid` support, incremental dirty-cluster updates (`UpdateCell`, `UpdateRect`, `RebuildDirty`), abstract/corridor queries, and Jump Point Search (`JPS`) for exact optimal 8-way uniform-cost square grids (#833). +- `game/rts`: add `SectorFlowField` (`BuildAlongHPA`, `BuildSectors`) to integrate flow fields only along an HPA* cluster corridor on large maps (#833). +- `game/ai`: add deterministic influence maps (`InfluenceLayer`) with falloff stamping, obstacle-aware spreading with decay and momentum, layer combinations, spatial and gradient queries, zero-allocation incremental updates, and a `tilemap.Camera` debug heatmap compiled out under `-tags release` (#844). +- `game/ai`, `game/world3d`: add deterministic 2D and 3D navmesh path-corridor agents (`NavAgent`, `NavAgentGroup`, `NavAgentState`, `NavLinkEvent`) with cheap local corridor repair, throttled/staggered replan budgeting (`MaxReplansPerStep`, `ReplanInterval`, `StaggerStride`), and off-mesh/flagged link traversal callbacks (`AddOffMeshLink`, `SetEdgeFlags`, `OnLink`) (#828). +- `game/ai`, `game/world3d`: add per-polygon navigation areas (`NavArea`), runtime traversal flags (`NavFlags`), build-time tagging (`BuildNavMeshWithAreas`, `NavPolygonInput`), O(1) runtime area/flag mutation without rebuilding (`PolygonArea`, `SetPolygonArea`, `PolygonFlags`, `SetPolygonFlags`, `AddPolygonFlags`, `ClearPolygonFlags`), and shared query filters (`NavFilter`, `DefaultNavFilter`, `FindPathWithFilter`, `FindPolygonWithFilter`, `ContainsWithFilter`, `NearestPolygonWithFilter`) with admissible area-weighted portal A* across both 2D and 3D navigation meshes (#824). +- `game/ai`, `game/world3d`: add BVH-accelerated 2D and 3D navigation mesh spatial queries (`NearestPoint`, `Raycast`, `MoveAlongSurface`, deterministic area-weighted `RandomPoint` and reachable `RandomPointAround`, all with `NavFilter` support) plus reusable `NavMeshQuery` and zero-allocation `FindPathInto` / `FindCorridorInto` APIs (#827). +- `ai.NavMesh` and `world3d.NavMesh` now support full off-mesh links with endpoint `Radius` snapping, one-way or `Bidirectional` traversal, explicit `Cost`, `NavArea` / `NavFlags` filtering (`NavAreaJump`, `NavAreaClimb`, `NavAreaTeleport`, `NavFlagClimb`, `NavFlagTeleport`), arbitrary `UserData`, `OffMeshLinks` / `ClearOffMeshLinks`, shortcut-aware optimal A* search, and traversed link segment reporting on `NavPathResult.Links` (`HasLinks`, `LinkAt`) and `NavLinkEvent` (#825). +- `navbake` and `navbake3d` now store and validate off-mesh links in their YAML formats (`links` / `meshes[].links`) and apply them automatically in `Mesh.NavMesh()`, and `sceneformat` adds the built-in `"nav_link"` component (`RegisterNavLink`, `ExtractNavLinks2D`, `ExtractNavLinks3D`) baked automatically by `navbake3d.Geometry.AddSceneFile` (#825). +- `game/ai`: add deterministic, zero-allocation ORCA/RVO2 velocity-based local avoidance (`ORCASolver`, `ORCAConfig`, `ORCAAgent`, `ORCAObstacle`, `ORCAAgent3D`, `ORCAObstacle3D`) supporting 2D and 3D XZ-plane navigation, two-sided static obstacle edges, avoidance layers/masks, smooth priority and stationary responsibility weighting, spatial-hash neighbor acceleration, and input-order-independent canonical LP solving (#829). +- `game/rts`: add `AvoidanceMode` (`AvoidancePush`, `AvoidanceORCA`) and `CrowdOptions.ORCA` so `Crowd` can use `ai.ORCASolver` velocity obstacles alongside its existing overlap push avoidance (#829). +- `game/ai`: add radius-aware line-of-sight grid path smoothing (`SmoothGridPath`, `SmoothGridPathInto`, `GridLineOfSight`, `GridPathOptions`) with zero-allocation buffer reuse, optional Theta* any-angle mode (`AStar.AnyAngle`), and smoothed enemy pathing in `examples/cryptquest` (#830). +- `game/ai`: add Reynolds steering behaviors (`Pursue`, `Evade`, `OffsetPursuit`, `Alignment`, `Cohesion`, `ObstacleAvoidance`, `WallAvoidance`, `Hide`, `Interpose`), `CombinePrioritized`, zero-allocation `NeighborGrid`, and 3D/XZ steering (`Agent3D`, `Vec3`, `NeighborGrid3D`, and `*3D` behaviors) compatible with `world3d.NavMesh` paths (#839). +- `game/ai`: add EQS-style tactical position queries (`TacticalQuery`, `CoverPointGenerator`, `RingGenerator`, `GridGenerator`, `NavMeshGenerator`, `DistanceTest`, `LOSTest`, `AngleTest`, `PathDistanceTest`, `InfluenceTest`, `CoverHeightTest`, `CustomTest`), cover points with tilemap/grid/2D collider generators, deterministic `PointReservations` with timeout and explicit release, and per-step `QueryBudget` limits with zero-allocation buffer reuse (#845). +- `game/sceneformat`: add the built-in `cover_point` scene YAML component (`CoverPointComponent`, `RegisterCoverPoint`, `ExtractCoverPoints`, `ExtractBuiltCoverPoints`) for authoring cover points in scenes (#845). +- `game/physics3d`: add 3D collider-edge cover point generation (`World.GenerateCoverPoints`, `GenerateCoverPointsFromBodies`) projecting static box, oriented box, sphere, and capsule faces onto the XZ plane (#845). +- `game/ai`: utility AI scoring (`Reasoner`, response curves including `*resource.Curve` via `CurveEvaluator`, Dave Mark compensation factor, momentum bonus, top-N weighted selection from `random.Stream`, `UtilitySelector` behavior tree node, and versioned YAML config `ParseUtility`/`EncodeUtility`) (#840). +- `game/tooling/apiref` and `cmd/gameapi`: the exported API of every package read from its doc comments into versioned JSON, rendered on the website as an API reference in English and Chinese with an anchor for each exported identifier, and published at `/api.json` for agents (#500). +- An API stability policy: every package is stable or experimental, with a deprecation process across releases, a test that keeps the status table complete, and each package's status shown on its docs page (#512). +- `game/anim3d`: add `Player`, `ClipFromGLTF`, and `ClipsFromGLTF` for glTF 2.0 translation, rotation, scale, and morph-weight animation playback on `game.Loop` fixed steps, supporting `STEP`, `LINEAR`, and `CUBICSPLINE` interpolation, crossfading, scene synchronization, and glTF 2.0 skin joint matrix computation (#122). +- `game/animclip`: animation clips that key any object field or registered component field (`component.field`), checked against the component registry and played on scene objects through `tween.Timeline` with play, seek, loop and events; `BindScene` keeps built sprites in step and a `Binder` binds a game's own state (#491). +- `game/editor`: an animation panel that keys the selected object's properties at the playhead, edits keys' time, value and interpolation, scrubs and plays a preview posed by the same `animclip` player the game uses, and opens and saves clips as `animation` resource files, with every edit undoable; `go tool game editor` takes a clip file and the object to play it on as its second and third arguments (#491). +- `game/sceneformat`: `BuiltObject.Sync` recomposes a built object's world transform, alpha and sprite, and its children's, after its document fields change (#491). +- `game/resource`: `animation` files take `events`, named cues in time order that a player reports as playback crosses them (#491). +- `game/tooling/library`: an asset and plugin library: a versioned YAML index anyone can add packs to, pack manifests (`pack.yaml`) for asset, editor plugin and template packs, digests that pin every file, fetching from a directory or over https, and an installer that writes a pack's files into a project, records them with the autoload entries and editor plugins it adds in `game.yaml`, updates an installed pack in place and removes it again, restoring what it changed when a write fails (#493). +- `game/project`: a `packs` section in `game.yaml` recording the installed library packs, and `project.Check` reports a pack file that is missing (#493). +- `go tool game library` lists, installs, updates and removes packs and prints a pack's digest, and `go tool game editor -library` adds a library panel that installs packs into the open project (`Editor.Library`, `InstallPack`, `RemovePack`) (#493). +- `library/`: the shared library's index with a sample asset pack, `dungeon-tiles` (#493). +- `game/tooling/importsettings`: import settings sidecars, versioned YAML files such as `hero.png.import.yaml` beside an image or a sound, with a published JSON Schema (`import.v1.json`). `game assets` reads them: an image's sidecar sets its texture's compression format, mipmaps, sRGB and sampling filter (stored in the KTX2 key/value data as `game.filter`) or slices a sprite sheet in an atlas's folder into frames on a grid, and a sound's sidecar sets its output format, rate, channels, loudness, bitrate and loop points. A sidecar's settings override its target's in `game.yaml`, and editing one rebuilds only the targets that read its asset. An image read by both an atlas and a texture target may carry both kinds of settings, and a sidecar whose asset no target reads, such as a mistyped or differently cased name, is refused (#487). +- `game/tooling/audioconv`: `Buffer.Loop` holds a loop region, which `EncodeWAV` writes in a `smpl` chunk, `DecodeWAV` reads back and `Resample` scales to the new rate (#487). +- `game/tooling/importsettings`: an import settings sidecar may hold a `credit` section, beside an `image` or `audio` section or on its own beside any asset, such as a font or a model, recording the asset's `author`, its `license` as an SPDX license expression (checked by `ValidateLicense`), its `source` and a `notice` its license asks to be shipped. The published `import.v1.json` schema describes it (#513). +- `game/tooling/credits`: collects the credit of every asset `game.yaml`'s `assets` section reaches (the images each atlas packs, each texture and audio input, and every file the manifest lists, leaving out what the targets write) and writes them as a deterministic Markdown credits file, `CREDITS.md`, with a table of authors, licenses and sources, a count per license and every notice (#513). +- `game release` writes `CREDITS.md` beside the packages when `game.yaml` has an `assets` section, and refuses to build while an asset has no credit; without an `assets` section it notes that it writes no credits file. `game credits` writes or prints the same file without building, failing on an uncredited asset; `game credits -out resources/CREDITS.md` puts it in every package (#513). +- `game/project`: `Assets.IsOutput` reports whether a target writes a file (#513). +- `game/net`: an authenticated connection handshake on WebSocket and the new `UDPServer`/`UDPClient`: `Auth.Verify` checks the client's token, the server assigns its ID and tells the client (the browser too), a dropped client resumes with the same ID within `Auth.GracePeriod`, `NextEvent` reports joins, drops, resumes and leaves, UDP datagrams are bound to the session's address and key, and `Auth.MaxPeers` (1024 by default) caps the sessions a server holds (#550). +- `game/navbake3d`: bake 3D navigation meshes from level geometry, as Recast does: glTF models, scene files, `world3d` heightmaps and `GridMap`s and `physics3d` static colliders (voxel colliders included), selected by layer mask, are rasterized into a heightfield, filtered by slope, step height and clearance, eroded by the agent's radius, split into regions, traced into simplified outlines and built into convex polygons with height detail, one mesh per named agent type (radius, height, max slope, max climb). The meshes are saved in a versioned `*.navmesh.yaml` file a scene names in its new `navMesh` field, written byte for byte the same for the same level on every CPU architecture, with a JSON schema at `https://game.nsgo.dev/schemas/navmesh.v1.json`, and `Mesh.NavMesh` returns the `world3d.NavMesh` that finds paths, with `DrawDebug` to show it (#823). +- `game navmesh` bakes a scene's glTF level geometry for every agent type in `game.yaml`'s new `navigation` section and writes the file the scene's `navMesh` names (#823). +- `game/render3d`: camera-facing billboards (view-plane, view-point and axis-locked) and 3D ribbon trails that face the camera at every angle, with near-plane-clipped drawing into a `Drawing` and draw items for transparent sorting (#281). +- `game/effects`: `Bloom`, a ready single-pass bloom approximation that makes the frame's highlights glow, with `Threshold`, `Intensity` and `Radius` uniforms and a CPU `Reference` for headless golden tests (#96). +- `game/bullets`: shooter bullet patterns (rings, spirals and aimed bursts) in versioned YAML, fired by seeded emitters into a pooled field and drawn through a sprite batch, with a 5000-bullet frame benchmark (#532). +- `game/placeholder`: a CC0 placeholder asset pack to prototype with, drawn, synthesized and modeled in Go for this repository: seven 16×16 sprite sheets with Aseprite exports and animations, a 32-tile tileset with a Tiled tileset (types, `solid`/`oneWay` and other properties, animations) and a sample level, the proportional Placeholder Pixel BMFont, eight sound effects and a seamless music loop, and three glTF models, each image and sound with its import settings sidecar. `Sheet`, `Font`, `Level`, `Model` and `Sound` load them, `FS()` returns them with a `CREDITS.md`, and the guide gives the `game.yaml` assets section that builds them with `game assets`. A test keeps the examples, the tutorial, the docs and the project template to this pack or assets listed with their license in a `CREDITS.md` (#509). +- `game completion`: the zsh, bash and fish scripts also complete `nsgo game …`, and `nsgo`'s own command names after `nsgo`, registering for `nsgo` only while it has no completion of its own (nsgo-dev/nsgo#2367, #1114). +- `game/sceneformat`: a component type registry (fields with kinds, defaults, ranges, steps and docs, declared without reflection); `ParseWith` refuses unregistered types, misspelled fields, wrong kinds and out-of-range values with the file, line and column, and `game/editor` checks edits against it and lists every registered field in the inspector (#489). +- `game/sceneformat`: `Signals.Enqueue` and `Flush` defer events to the end of an update step, running them in enqueue order without re-entering a handler that emits, and `SpawnConnected` spawns a scene's objects as entities after checking its connections, so `EmitEntity`, `EnqueueEntity` and each `Call`'s `SourceEntity` and `TargetEntity` address the entities (#694). +- `game/tooling/assetcheck`: `CheckWith` takes the game's component registry and reports a connection naming an event, handler or argument its objects do not declare, or a component that breaks its type, at the file and line; in a scene that instances or inherits others it also checks the components its overrides write and the connections of the resolved scene, reporting an override that breaks one at the override (#694). +- `game/platformer`: a `Controller` on `physics.CharacterBody` with coyote time, jump buffering, variable jump height, wall slides and wall jumps, each timed per step from a versioned YAML `Config` (#522). +- `game/physics3d`: `ConvexHull` and `Cylinder` shapes for dynamic bodies, with a deterministic quickhull builder that has a vertex limit (`NewConvexHull`, and `ConvexHullFromMesh` for glTF and `render3d` meshes), GJK and EPA contacts with up to four manifold points against every shape, triangle meshes, heightfields and voxel colliders, raycasts, bounds, mass and inertia from the hull, CCD sweeps, area volumes, debug wireframes, and cover points around standing cylinders (#808). `WorldSnapshot` saves and restores both shapes bit-identically through JSON, and their narrow phase keeps to the cross-architecture FMA-free arithmetic. +- `game/physics`: convex `Polygon` (up to 8 vertices, optionally rounded), `Capsule`, `Segment` and static `Chain` shapes in `Shape`, with overlap contacts for every pair, raycasts, `World` queries, triggers, `MoveAndSlide`, debug drawing, `RigidBody` narrowphase with up to two clipped contact points, mass and inertia from the shape (`NewRigidBody`, `Shape.Area`, `Shape.Centroid`, `Shape.MomentOfInertia`), and chains that never catch bodies on their interior vertices; `RigidWorld.Save`, `Restore` and `Checksum` carry the new shapes and their local-space geometry, and the new narrowphase stays free of arm64 fused multiply-add (#803). +- `game/tilemap`: `Object.PhysicsShape` and `ObjectLayer.PhysicsBodies` turn Tiled rectangle, ellipse, polygon and polyline objects into static physics shapes (#803). +- `game/mcp`: `game_screenshot` outlines polygon, capsule, segment and chain bodies, counted as `physics_polygons`, `physics_capsules` and `physics_lines` (#803). +- `game/effects`: `CRT`, a ready Kage effect for CRT barrel curvature and horizontal scanlines, with `Curvature`, `Scanlines` and `Lines` uniforms and a CPU `Reference` for headless golden tests (#94). +- `game/cutscene`: added version 2 YAML timeline cutscenes (`kind: timeline`) with camera (`hold`, `pan`, `follow`), actor (`walk`, `state`, `drop`, `patrol`), dialogue (l10n line IDs only), sound and music (with `fadeIn`/`fadeOut`) tracks, deterministic fixed-loop `TimelinePlayer` with `Seek`, `Player.PlayTimeline`/`Step`/`Dialogue`/`TimelineScene`, and published `cutscene.v1.json`/`cutscene.v2.json` schemas (#1055). +- `game/refs` and `game/tooling/assetcheck`: tracked `*.cutscene.yaml` scene and audio paths in `refs` and checked cutscene object IDs, dialogue line IDs (against project l10n tables) and audio paths in `game check` with file and line diagnostics (#1055). +- `game/tooling/datatable`, `game/editor`: untyped round-trip YAML data table editing (`ParseDocument`, `Document`, `RowType`, `Registry`) and a Data Table editor panel (`DataTablePanelView`, `OpenDataTableFile`, `RegisterDataTableType`) that opens tables from the file browser as a sortable, filterable grid with inferred value kinds, undo/redo, lossless saves, and per-pattern Go row-type validation (#918). +- `game/vn`: visual novel presentation on top of dialogue scripts: a YAML cast of portraits with expressions and slots, name plates, a typewriter text box, choices, a backlog, auto and skip (read lines only by default) modes, voice lines through `sound`, and the `vn/cmd/vnsample` scene (#528). +- `game/assets`: `PackLimits.MaxPackBytes` caps the archive a `DLCManager` downloads or opens (1088 MiB by default), and `ErrPackTooLarge` reports a pack or a file read from it that passes a limit (#546). +- `game/gltf`: load Draco (`KHR_draco_mesh_compression`) and meshopt (`EXT_meshopt_compression`, `KHR_meshopt_compression`) compressed geometry, plus `KHR_mesh_quantization`, decoded in pure Go and checked against the compressed and uncompressed Khronos sample models (#272). +- `game/cards`: drag and drop in the game view with the mouse and touch alike, cards snapping into slots that accept them (tags, capacity, predicates) and tweening back from ones that do not, fanned-hand, deck/pile and grid layouts, and versioned YAML board files (#533). +- `game/editor`: the 2D viewport drags objects with the Select or Move tool, keeping the offset from where they were grabbed, and draws a transform gizmo on the selection, nested children included: a free-move square, X and Y arrows along the object's own axes, a rotation ring, and corner and edge scale handles about the origin, with Shift keeping the aspect ratio; each drag is one undoable step, Escape or a cancelled gesture puts the object back, drags follow the object's layer under any view or camera zoom and rotation, a scale or rotation that would shear a sprite is refused as `ScaleObject` and `RotateObject` refuse it, and objects hidden or locked in the scene tree are left alone (`BeginDrag2D`, `UpdateDrag2D`, `EndDrag2D`, `CancelDrag2D`, `PickGizmo2D`, `Dragging2D`, `Gizmo2DShown`, `GizmoHandle2D`) (#863). +- `game/editor`: drag with Paint or Erase to paint or erase every cell the stroke crosses, recorded as one undo step, with a right-button drag erasing while Paint is active; an outline of the cell under the mouse that shows what a press would do; and picking the tile in a cell as the active tile with Alt+click or the new Pick tool. `Editor.BeginTileStroke`, `ContinueTileStroke`, `EndTileStroke`, `CancelTileStroke`, `PickTile`, `SetTileHover` and `HoveredTile` do the same in Go (#875). +- `game/editor`: the 3D viewport draws the scene as the game does. A `gpu.View` fills the panel and draws the scene's `scenemodel` build (`Scene3D`), its primitives and glTF models shaded and textured with render3d, lit by the lights an embedding editor sets (`SetLights3D`) or by `DefaultLights3D` under a gradient sky, with the grid, axes, selection outline and gizmo on the canvas over it. Lit, Unlit and Wireframe shading (`SetShading3D`) are in the toolbar, `View > 3D Shading` and the command palette. Models, material files and images load through the `Resolver` or from the open project's files, and a scene that does not build says why in the viewport's corner (`Viewport3DError`). `OrbitCamera3D.SceneCamera` gives the `scene3d.Camera` the view draws through (#890). +- `game/scenemodel`: `Renderer.SetShading` switches between `ShadingLit` and `ShadingUnlit`, which draws each part at its textured base color plus its emissive color and ignores the lights (#890). +- `game/statedump`: run a game headless from a `replay.Recording` and write its entities, components, scene stack and values as deterministic YAML that round-trips through `Parse`, with a line `Diff` between runs (#504). +- `game/procgen`: seeded, deterministic level generation on a tile grid: BSP rooms with corridors, cellular-automata caves that keep or join their regions, and wave function collapse from a versioned YAML rule file with a path constraint, plus 4-connected region checks and painting into a tilemap layer (#531). +- `game/editor`: 3D transform gizmos now support Global and Local space (`Editor.GizmoSpace3D`, `GizmoSpaceGlobal`/`GizmoSpaceLocal`, `SetGizmoSpace3D`, `ToggleGizmoSpace3D`, `GizmoOrientation3D`, `CmdGizmoSpace3D` on `t`), exact rotation about the drawn ring axis (including nested children under rotated or scaled parents), XY/XZ/YZ plane handles and a screen-space center handle on Translate, a proportional uniform center handle on Scale, snapping with modifier inversion, `W`/`E`/`R` scoped mode shortcuts, Spec Light contrast styling, and live drag deltas in the status bar (#892). +- `game/render3d`: `Gizmo` now draws and picks the screen-space center translate handle (`AxisAll`), prefers nearer plane handles and edge-on rotation rings during ray picking, and guards grazing-angle plane drags (#892). +- `game/editor`: draw, pick, and edit nested children (up to 64 levels) and instanced/inherited scene children in the 3D viewport at their composed `BuildNodes3D` world transforms, with deepest-hit picking, second-press / `Alt`-click parent and instance-root selection, parent-space gizmo drags, and single-step undoable instance overrides (#894). +- `game/editor`: add the 3D viewport bottom **MODELS** strip (`Viewport3DModelsStripView`, `StripModels`) with offscreen-rendered thumbnails, drag-into-viewport tooltips, and **Or ask for one** inline agent prompt (`OpenModelAgentPrompt`, `SubmitViewport3DAgentPrompt`, `Editor.OnAskAgent3D`), plus 3D placed-model and group inspector cards for **MODEL** (`ObjectModelSummary3D`), **MATERIAL** (`ObjectMaterialSummary3D`), **COLLIDER** (`ObjectColliderSummary3D`), **CHILDREN** (`ObjectChildrenSummary3D`), and **Ask to add a component…** (`OpenComponentAgentPrompt`) (#893). +- `game/editor`: added versioned `automations.yaml` project automations (`ParseAutomations`, `EncodeAutomations`, JSON Schema `automations.v1.json`) with five triggers (`file_changed`, `review_kept`, `file_added`, `before_export`, `daily`), pre-run checkpoints under `.nsgo/checkpoints/`, permission and You-only enforcement, Ready-to-review Agent panel cards, pause-for-today, natural-language draft-in-words, and the Settings › Automations page (#1029). +- `game/editor`, `game/editor/editormcp`, `cmd/game`: add `go tool game mcp install` to idempotently write project-level MCP configs for Claude Code (`.mcp.json`) and Codex (`.codex/config.toml`), the Connect an agent dialog (`ConnectAgentDialogView`), the right-sidebar Agent panel with thread, streamed steps, and multiline composer (`AgentPanelView`, `AgentRunner`, `CLIAgentRunner`), and the `LiveRegionPolite` header status chip (`Connected · MCP`, `Working · step n of m`, `Waiting for you · elapsed`, `Reconnecting · try n of 5` with `1, 2, 4, 8, 16 s` backoff, and `Disconnected` with `Reconnect` and step-targeted `Troubleshoot`) (#1009). +- Editor Agent panel failure, recovery, and offline states (`Partial`, `Stuck`, `Lost`, `Stopped`, `Mismatch`, and `Offline`) matching `docs/design/editor/AgentStates.dc.html` with exclusively Spec tokens, inline turn review diffing, automatic summary-vs-diff mismatch checking, viewport pointing (`Let me point` / `Esc`), 3-failure pause with hint, mid-request disconnect recovery with post-reconnect confirmation, resume skipping done steps, and manual-send offline queueing while manual tools keep working in every state (#1024). +- Editor viewport live agent overlays for pending turns: 1.5 px dashed Added (`+ name`) and Changed (`field old → new`) outlines, 25% grey ghost with 1.5 px solid Removed (`name removed` struck through) outline, pulsing 1.5 px violet Agent working outline (solid under reduced motion, 3 px outer offset when coexisting with Selection), Problem outlines, and automatic pill collision avoidance in both 2D and 3D viewports (#1013). +- Scene tree live agent markers (`NEW`, `MOD`, struck-through `DEL` ghost rows, and violet agent-working dot), header state pill (`Working`, `Waiting`, and `Pending review` with `Keep`/`Revert`), and step-scoped read-only lock (`ErrAgentTouchingObject`) with inspector read-only banner while `editormcp` touches an object (#1013). +- Interactive top-left Spec Overlay Legend toggles (`Selection`, `Agent working`, `Added`, `Changed`, `Removed`, `Problem`) persisted per-user in `EditorSettings.HiddenOverlayKinds` (`editor.yaml` / `editor-settings.v1.json`) without moving the viewport camera on the agent's behalf (#1013). +- Add live agent step streaming, interactive Spec permission cards (`Allow once`, `Always`, `Deny`) backed by `permissions.yaml`, `agent_report_step` MCP tool, `"Add to this request"` follow-ups, concurrent status-bar activity, and global `⌘.` / Stop cancellation with pending review preservation and `"Agent stopped"` toast in the editor Agent panel. +- `game/editor`: add `@`-mention picker over the project search index (Objects, Files, Prefabs, Assets, Problems, Playtest runs, History steps, Rules), context chips (suggested selection, attached, Always `brief.yaml`/`AGENTS.md`, and toggleable Viewport image) with exact-payload hover preview, `⌘L` whole-scene attachment when nothing is selected, and a context meter ring with breakdown, Compact thread, and Start fresh with summary in the agent composer (#1020). +- `game/editor`, `game/editor/editormcp`: add `plan_propose` and `plan_step_update` MCP tools, interactive Agent panel Plan cards with clarifying questions, editable/removable steps, permission-derived rationale linking to Settings › Permissions, agent-violet planned viewport ghosts with live answer/count updates and a Plan ghosts toggle, Scene Tree planned nodes and files-in-plan footer, Stop-before-write recovery with Edit plan and Run again, and turn review plan checklists (#1035). +- Add per-turn file and scene checkpoints and **Rewind to here** in the editor's Agent panel (#1021), supporting **Files and conversation**, **Files only**, and **Conversation only** rewind modes, **Redo** restoration, session continuation from before the rewound message, and returning the rewound prompt to the composer. +- `game/editor`, `game/editor/editormcp`: add a background agent task list (`TasksPanelView`, `AgentTask`, `.nsgo/threads/*.thread.yaml` persistence) with Queue and Run in parallel scheduling, per-object MCP holds (`ConnectTask`, `"waiting on "` auto-resume, separate turn reviews), numbered viewport and scene tree overlays, bulk dismiss without reverting kept edits, urgent-first status bar counts, Dock badge summary counts, and `tasks_list` / `tasks_submit` / `tasks_control` MCP tools (#1022). +- Add per-line-of-work agent threads persisted as strict versioned YAML under `.nsgo/threads/` (ignored by `.nsgo/.gitignore`), grouped by open scene, other scenes, and `Project · no scene`, with search, `⌘N` new thread, scene-bound thread switching, folded earlier requests with History links and Jump to latest, empty-thread brief suggestions, and an Inspector footer linking each object to the request that last changed it (#1019). +- `game/editor`: add the anchored `⌘L` in-place agent composer (`AskInPlaceComposerView`, `CmdAskAgent`), contextual suggestions, viewport/scene-tree context menu wiring, and `SkipPlan` / selection-context turn recording in the right-rail `AgentPanelView` (`RightRailView`, `CmdAgentTab`, `CmdInspectorTab`) (#1037). +- `game/editor/editormcp`: add the `editor://agent/turn` resource (JSON metadata + captured viewport PNG) and `agent_turn_get` / `agent_turn_reply` tools to deliver in-place selection, scene, and viewport-image context to connected agents (#1037). +- `game/refs`: add `IsAssetPath`, `Project.Paths`, `Project.UsedBy`, `Project.MissingAssets`, and `Project.UnreferencedAssets` to query asset references, missing files, and unreferenced assets from one project scan (#1052). +- `game/editor`: add the Assets drawer mode (`LeftRailSwitchView`, `AssetsLeftRailView`, `AssetDrawerView`, `AssetInspectorView`) with Scene / Assets switching, FOLDERS and SHOW ONLY filters (Unused, Missing files, Generated, Proposed), kind tabs, search, recent sort, frame-by-frame clip and audio previews, `refs`-backed USED BY inspector, missing-file replacement, and snapped drag-to-place / drag-to-swap sprites with single-step Undo and Escape cancel (#1052). +- `game/editor`: add the Audio Bus Mixer panel (`AudioMixerPanelView`, `AddAudioBus`, `RenameAudioBus`, `DeleteAudioBus`, `MoveAudioBus`, `SetAudioMasterVolume`, `SetAudioBusVolume`, `AddAudioBusEffect`, `SetAudioBusEffect`, `RemoveAudioBusEffect`, `MoveAudioBusEffect`, `AuditionAudioBus`) over `game.yaml`'s `audio` section with undoable `EditProject` persistence, `project.Validate` range enforcement, and live bus auditioning through `project.File.ConfigureMixer` and `sound.Mixer` (#909). +- `game/editor`: autosave kept scene and project edits after 2 s (`General › Save automatically`, `EditorSettings.AutoSave`), pausing while any review is open (#1016). +- `game/editor`: status bar save indicator with `Saved` (hover time tooltip), 300 ms anti-flicker `Saving…`, persistent failed-save alert with `Retry` and `Save as…`, and problem-red unsaved dot while saving fails (#1016). +- `game/editor/editormcp`: append a save-failure warning to tool results while edits are not on disk until saving succeeds (#1016). +- `game/project`, `game/playtest`: add versioned `brief.yaml` game brief format (`project.Brief`, `ParseBrief`, `EncodeBrief`, JSON Schema `brief.v1.json`) with strict line-numbered validation, gap detection, and structured playtest targets readable by `playtest.TargetsFromBrief` and `playtest.ApplyBriefTargets` (#1026). +- `game/editor`, `game/editor/editormcp`: add Settings › Game brief (`brief.yaml`) and Settings › Project rules (`AGENTS.md`) pages with undoable editing, gap badges, reverted-review rule suggestions, reviewable agent edits (`brief_edit`, `rules_edit`), MCP context exposure (`project_context`, `editor://brief`, `editor://rules`, `editor://context`), the "Agent on this page" card, and Settings search agent dispatch (#1026). +- `game/editor`, `game/project`: add a full-window Build and Release screen (`BuildReleaseScreenView`, `OpenBuildReleaseScreen`, `StartReleaseBuild`, `StopReleaseBuild`, `ResumeReleaseBuild`, `SetBuildPresetIncluded`, `SetBuildPresetFixProposal`, `ApplyBuildPresetFixAndRebuild`) with `export.budgets` support in `game.yaml`, BEFORE EVERY BUILD checks (`nsgo check`, smoke playtest, and budgets), sequential per-preset builds with ordered steps and `build/.log` streaming matching `game release -dry-run`, failure isolation with agent preset fix diffs, size breakdown and delta against the last release, and platform readiness checks (#1048). +- `game/editor`, `game/editor/editormcp`: add the built-in agent runner (`SubmitAgentTaskPrompt`, `Editor.AgentTools`, `Editor.BuiltInAgentEndpoint`) that runs requests against the Anthropic Messages API using the editor's MCP tools (enforcing Settings › Tools toggles, permissions, You-only boundaries, and outbound privacy) with API keys kept in NSGo's `core.Secrets` / system keychain and never written to project files, `editor.yaml`, or logs (#1030). +- `game/editor`: connect WHO DOES WHAT task routing (`scene_edits`, `playtest_analysis`, `problems_fixes`, `ask_in_place`, `art_and_sound`), person-only weekly request limit queueing (`Limit reached · resets 00:00` + Usage link and manual queue dispatch), and transient model-error retry backoff (`4 s, 8 s, 16 s, 32 s`) with **Retry now** and switching that task kind to another connected agent (#1030). +- `game/editor`: interactive 2D viewport resize and move handles for `camera.bounds` (with live preview, Escape cancel, and single-step Undo/Redo) and side-by-side `*.rooms.yaml` room-map editing over the 2D scene viewport with tile-grid snapping, room creation/move/resize/delete handles, inspector editing for room `id`, `name`, and `transition`, and deterministic round-trip saving via `rooms.Encode` (#884). +- `game/editor`: add the Changes & Commit screen (`ChangesPanelView`, status bar entry, `CmdChanges`) comparing scenes, data, Go code, and audio assets against `HEAD`, with selective file commits, drafted commit messages, `nsgo check`/`nsgo test` status, History commit milestones, and PR sharing (#1057). +- `game/editor`: Connections section in the inspector (`AddConnection`, `UpdateConnection`, `RemoveConnection`, `ObjectEvents`, `ObjectHandlers`, `ObjectConnections`, `JumpToConnectionOtherEnd`, and viewport/scene-tree target picking via `BeginConnectionPick`) to wire registered component events to handlers with typed params, `once`, full Undo/Redo, and pre-history `sceneformat.ValidateConnections` validation (#872). +- `game/editor`: copy (`Mod+C`), cut (`Mod+X`), paste (`Mod+V`), paste as child (`Mod+Shift+V`), duplicate (`Mod+D`), group (`Mod+G`), and ungroup (`Mod+Shift+G`) scene objects with multi-selection, scene-format YAML system clipboard serialization, automatic unique ID allocation and connection/override rewriting, pointer/offset placement, world-transform preservation on group/ungroup, and single-step undo/redo (#868). +- `game/editor`: add the full-workspace cutscene timeline editor (`CutscenePanelView`) with left-rail cutscenes and localized `loc` lines, live `cutscene.TimelinePlayer` scrubbing with a 24-frame thumbnail strip, track lanes with ±0.1 s Start/Duration and Easing inspection, and an interactive agent review mode (Before/After, hold `B` to peek, dashed/solid change markers, per-change Revert/Restore, review-joined manual edits with `⌘Z` undo, Revert all, and single-undo-step Keep N of M) (#1056). +- `game/editor/editormcp`: add `cutscene_write` (opening pending cutscene reviews without overwriting disk until kept) and `cutscene_scrub` MCP tools (#1056). +- `game/editor`: dockable, resizable panel workspace built on NSGo's `ui.DockArea` with drag-to-resize, move, and tabbing for built-in and plugin panels, `View > Panels` visibility toggles, `Reset Layout`, and per-user versioned YAML layout persistence in `/nsgo-game/layout.yaml` (#919). +- `game/editor`: added the Export & Release panel (`ExportPanelView`) to edit `game.yaml` export presets and output directory through `EditProject`, run pre-flight `tooling/credits` checks, stream `nsgo build` or dry-run output off the UI goroutine, and open the release output folder on completion (#916). +- `game/editor`, `game/refs`, `game/editor/editormcp`: add the full-window Find Usages and Safe Rename review screen (`Shift+F12`, `ReferencesScreenView`, `FindUsages`, `PreviewSafeRename`, `ApplySafeRename`) grouping scenes with override counts, prefab variants, data tables, and Go string constants (`go/parser`, listed as not rewritten) with live dry-run diffs, single-step `MoveFile` undo, and matching `refs_find` and `refactor_rename` MCP tools (#1041). +- `game/editor`: add keyboard-only 2 px Spec accent focus rings (`#3B7BFF` Dark / `#1D5CE6` Light; `+2 px` offset on controls, `-2 px` inset on rows, fields, and regions, `:focus-within` on composer cards), fixed-order `F6` / `Shift-F6` region cycling with per-region focus memory and unified `ToastView` region support, viewport `Tab` / `Shift-Tab` object cycling, dialog and Settings focus trapping with `Esc` opener restoration, and drag/scrub/typing/agent-panel focus-stability guards (#1003). +- `game/editor`: selecting a `.gltf` or `.glb` model in the file browser now shows an interactive 3D orbit-camera preview with node, mesh, material, and animation lists, bounds and triangle counts, per-animation playback/pause/scrub controls, and deterministic `*.import.yaml` model & credit sidecar editing (#897). +- `game/editor`: History panel (`⌘Y` / toolbar icon button with tooltip `"History · ⌘Y"`) combining manual edits, agent turns, external reloads, and saved points on one newest-first day-grouped timeline with `All` / `You` / `Agent` filters, read-only point-in-time viewport preview (`"Previewing … · editing is off"`, exited with `Esc` or `Now`), and non-destructive multi-file `Restore` recorded as one new undoable step (#1017). +- `game/editor/editormcp`: read-only `history_list` MCP tool exposing the unified History timeline (with `author` and `limit` filters) to connected agents, and automatic agent-turn attribution for MCP edits (#1017). +- `game/editor`: added the multi-size, multi-language HUD and menu layout screen (`HUDLayoutView`, `OpenHUDScreen`, `SetHUDLocale`, `HUDOverlays`, `HUDTextWidths`, `HUDProblems`) rendering `*.screen.yaml` simultaneously across Phone 19.5:9 with notch, Tablet 4:3, Desktop 16:9, and Ultrawide 21:9 using Spec tokens, with live `gameui.CheckScreen` diagnostics, 1.5× localized text overflow zoom, undoable anchor/safe-area/fit-text/spacing/order edits, and direct touch-control dragging written back to the screen file in one undo step (#1047). +- `game/editor`: localized the editor UI into English and Simplified Chinese via embedded versioned `l10n` YAML catalogs with live switching without restart, added plugin translation catalog support (`Plugin.Catalog`, `Plugin.LocaleYAML`, `Editor.PluginT`), and added per-user versioned YAML editor settings (`EditorSettings`, `EditorSettingsDialogView`) for language and light/dark/system appearance via `core.Scope.SetAppearance` (#921). +- Inspect and edit per-asset `*.import.yaml` sidecars (image, audio, font, model, and credit fields, inheriting `game.yaml` target defaults with per-field reset and undo/redo) directly in the scene editor inspector, and rebuild assets via **Reimport** or **Build Assets** (`go tool game assets`) with Output panel streaming and live atlas/texture reloading (#915). +- `game/project`: add `key`, `keyCode`, and `gamepadButton` action bindings plus `gamepadAxes` analog stick axes in `game.yaml`, validated, applied by `BindInput`, and published in `game.v1.json` (#908). +- `game/editor`: add an Input Map panel (`InputMapPanelView`) over `game.yaml`'s `input` section with undoable `EditProject` editing, action/binding CRUD, press-a-key capture, interactive touch/mouse region drawing and dragging over the virtual display size, axis/motion/gamepad stick editing, and action rename propagation to axes (#908). +- `game/editor`: redesigned object Inspector with Spec titled collapsible sections, field count badges, compact 2D/3D transform rows, live field filter, drag-to-scrub numeric labels with one-undo-step history and Escape cancel, Open YAML line jump, grouped Add component with Ask to add composer prompt, review/problem indicators, and matching `object_set_field` / `object_locate_yaml` MCP tools (#1038). +- Serve finished web builds strictly on the local network with a scannable pure-Go QR code (`packages/game/internal/qrcode`), Copy URL and Stop/Start serving controls that immediately release the TCP port on stop or editor close (#1049). +- Expose a LAN Play-mode MCP debug bridge (`/__nsgo_mcp/info`, `/__nsgo_mcp/bridge.js`, `/__nsgo_mcp/session`, `/__nsgo_mcp/poll`, `/__nsgo_mcp/reply`, `/__nsgo_mcp/rpc`) so the editor and agent can inspect and debug served web builds running on a phone (#1049). +- Wire live RUN ON DEVICE states and launch actions on the Build & Release screen for this Mac's/computer's browser, phone via QR/LAN link, and USB-connected Android devices through `go tool nsgo` device commands (#1049). +- `game/sceneformat`, `game/editor`: add undoable layer tilemap setup in the Layer Inspector (add an inline tilemap with tileset atlas, tile size and grid size; move between inline and top-level `tilemaps` via `ref`; resize from any edge while preserving painted tile world positions via version 3 `offsetX`/`offsetY`; change tileset atlas or tile size; remove tilemap), refusing invalid sizes and tilesets missing frames for painted IDs (#877). +- Add `ambientColor`, built-in `light2d` and `occluder2d` (rect, polygon, and tilemap collision) scene components with automatic `lights2d.Scene` building in `game/sceneformat`, plus live 2D lighting preview and interactive radius, spotlight cone, and occluder shape handles in `game/editor` (#887). +- `game/tooling/assetcheck`: `Problem` now carries 1-based `Column` where the scene or YAML format knows it, plus `Location()` formatting `file:line:column` (#1036). +- `game/editor`: live debounced project checking inspects open unsaved documents on every edit, draws Spec Problem overlays on live objects in the 2D viewport, marks offending scene tree rows with a problem badge, supports `IgnoreProblem` (re-surfacing automatically when the file is edited again), and adds the Agent problem fix panel (`ProposeProblemFix`, `ApplyProposedFix` as one undoable step with Undo toast, `ShowProblem`, and `AskAboutProblem`) (#1036). +- `game/editor/editormcp`: `game_check` checks open unsaved documents and reports 1-based columns, and `problem_propose_fix` lets an agent propose a validated fix with explanation and diff without ever applying it (#1036). +- `game/editor`: inspector Material creation/editing actions and a docked Material Editor panel (`MaterialEditorPanelView`) editing all `resource.Material` fields with live `render3d` sphere/cube and 2D sprite previews, live `resource.Library.Reload` viewport updates, Undo/Redo, and canonical `resource.Encode` saving (#896). +- `game/project`: `Resolver.Library` exposes the project's shared `*resource.Library` so tools and the scene editor can live-reload materials in place via `resource.Library.Reload` (#896). +- `game/editor`, `game/tooling/importsettings`, `game/tooling/credits`: added the MCP Generated Assets screen (`AssetGeneratorView`), strict versioned `.source.yaml` provenance/license sidecar format (`importsettings.ParseAssetSource` / `EncodeAssetSource`, `source.v1.json` schema), untrusted in-memory image/audio candidate decoding with `brief.yaml` style checks, single-step undoable Pick/Undo, and release-blocking unknown license checks in `credits` and `game release` (#1053). +- Add tracked project `permissions.yaml` (version 1 + JSON Schema `permissions.v1.json`) with Cautious, Balanced, and Autonomous presets and first-match-wins `(action, patterns) -> allow | ask | deny` rules enforced before every mutating or running `editormcp` tool call, plus the Settings › Permissions UI, blocked-step rule links, and "Always permission rule saved" toast with Show and Undo (#1010). +- `game/editor/editormcp`: the editor's MCP server, through which an agent reads and edits the open project with the same editor commands as the inspector, scene tree and viewport. The editor serves its project on a local per-project endpoint, never a network port, with `scene_read`, `scene_edit` (one undo step per call, or nothing and an error naming the file, object, field and fix when the editor refuses an edit), `selection_get`, `viewport_image` and `game_check`, a registry other parts of the editor add tools to, and `editor://scene` and `editor://selection` resources whose notifications say whether the agent or the person made a change (#1008). +- `game/cmd/game`: `go tool game mcp` serves the editor's tools on standard input and output for an agent, forwarding to the editor that has the project open, and says how to open it while none has (#1008). +- `game/editor`: `History.Group` records the commands a function executes as one undo step, or none when it fails (#1008). +- `game/mcp`: `RenderPNG` rasterizes a recorded drawing into a PNG with `game_screenshot`'s software rasterizer (#1008). +- `game/editor` and `game/editor/editormcp`: add tile MCP tools (`tile_query`, `tile_paint`, `tile_autotile`, `tile_erase`) and tile-review MCP tools (`tile_review_status`, `tile_review_revert_region`, `tile_review_restore_region`, `tile_review_keep`, `tile_review_revert_all`), region-based 2D tile edit review with Spec-styled viewport outlines, per-region Revert/Restore, single-undo-step Keep N of M, Revert all, Before/After with hold `B`, and tile palette / viewport dimension caption polish (#1064). +- `game/editor`: multi-object selection with Shift/Mod clicks, 2D marquee box selection (enclose by default, touch with Alt), Escape to clear selection, synchronized multi-selection in the scene tree, multi-object 2D and 3D move/rotate/scale about the common center and single-undo-step Delete/Duplicate, and shared-field mixed-value editing in the property inspector (#867). +- Add built-in `navregion2d` scene components (`walkable` and `obstacle` polygons with optional tilemap collision subtraction and `agentRadius`) that `sceneformat.Build` bakes into `BuiltScene.NavBake2D` and `BuiltScene.NavMesh2D` (`*ai.NavMesh`), plus 2D polygon vertex/edge-midpoint handles, live viewport mesh overlay, and the **Test Path** tool in `game/editor` (#888). +- `game/navbake3d` and `game/editor`: bake 3D navigation meshes directly from a scene's static geometry (glTF models with `modelNode`/`modelMesh`, built-in primitives, static `collider3d` shapes, plus terrain and `GridMap` YAML loaders) with an editor NavMesh bake panel, undoable `SceneDoc.NavMesh` linking, and a toggleable 3D viewport polygon overlay (#901). +- Add a unified object context menu across the 2D viewport, 3D viewport, and Scene Tree (`Shift+F10`, Context Menu key, secondary click, or Control-click) with canonical YAML copy/paste, single-undo Move under reparenting, Group, Select same prefab, visibility/lock toggles, Find usages, Rename, Ask the agent, and matching `editormcp` tools (#1039). +- Editor: added a Particle Emitter Editor panel (`ParticleEditorPanelView`) with live preview (`Play/Pause`, `Restart`, `Step`, `Burst`, optional floor collider), interactive curve widget, atlas frame picker, full Undo/Redo, and scheduled `Bursts` + `particles.v1.json` schema support, plus scene placement (`ObjectDoc.Particles` in scene format v2) supported in `sceneformat.Build`, the editor viewport, Play mode, `refs`, and `assetcheck` (#883). +- `game/editor`, `game/editor/editormcp`: add Play mode 60-second rolling `replay` v2 YAML input recording, `alt+f` marks bundled into one thread on stop or **Send marks now**, `mod+l` **Something looks wrong** frozen-frame agent dialog with MCP `play_frozen_context` / `play_replay_step` stepping overlays, and Output panel panic cards with folded runtime frames and **Replay up to the panic** stopping one frame before the panic (#1042). +- `game/editor`, `game/editor/editormcp`: add the full-window Playtest Report screen (`PlaytestReportView`) with Met/Missed goal cards and source files, BOT PROFILE summary and `playtest_define` review banner, automatic canvas chart selection across all four chart kinds (level heat map, wave bars against a goal line, per-level line, and win-rate matrix flagging >60% matchups), Watch run N replay playback in Play mode, Agent's read with actionable suggestions, and `playtest_report` MCP synchronization (#1044). +- `game/editor`: add 3D viewport hooks (`Press3D`, `Draw3D`, `OnDragBegin3D`/`OnDragMove3D`/`OnDragEnd3D`/`OnDragCancel3D`, `OnHover3D`, `Projection3D`, `PickRay3D`) to `PluginTool` and per-component 3D gizmos (`Plugin.Gizmos3D`, `ComponentGizmo3D`, `GizmoHandle3D`, `GizmoDrag3D`) with object-space point, line, and box handles that commit as a single undo step and share the same 3D handle layer with the editor's built-in 3D transform and `collider3d`/`trigger3d` handles (#898). +- `game/editor`: editor plugins, as Godot's `EditorPlugin`: Go code built into the editor binary (`Editor.RegisterPlugin`) adds panels docked left, right or below the viewport, an inspector that draws its own component types in place of the generic fields, and 2D viewport tools (`ToolPlugin`, `SetPluginTool`), with every edit going through the undo history; `SetPluginEnabled`, `ActivePlugins` and `MissingPlugins` turn plugins on and report them, `ComponentField` reads a component field with its registered default, and `Report` shows a plugin's refused edit in the status bar (#492). +- `game/project`: an `editor` section in `game.yaml` whose `plugins` list turns editor plugins on for the project (#492). +- `game/editor`: add a Problems panel (`ProblemsView`, `CheckProblems`, `Problems`, `OpenProblem`) that runs `assetcheck.CheckWith` (with the editor's component registry) and `project.Check` off the UI goroutine on project open, save and file move, navigates to scenes or selects files on press, and displays the live problem count in the status bar (#913). +- `game/editor`: add a live Profiler panel (`ProfilerPanelView`) and Play-mode `FRAME TIME · LAST 60 S` strip (`ProfilerStripView`) built with Spec tokens that connect to a running game over MCP (`ConnectProfiler`, `ConnectProfilerMCP`, `ConnectProfilerCommand`, `ConnectProfilerScope`), poll `game_perf_readout` and `game_perf_zones`, chart frame/update/draw time, FPS, allocations/GC, and asset memory with labelled spike causes, reset via `game_perf_reset`, and export recorded frames as Chrome/Perfetto trace JSON through `debug.Profiler.WriteChromeTrace` (#912). +- `game/debug`, `game/mcp`: add `FrameSample.Cause`, `Overlay.NoteFrameCause`, and `PerfFrameSample.Cause` so a game can explain known frame-time spikes in `game_perf_readout` history (#912). +- `game/editor`: add Project Settings panel (`ProjectSettingsPanelView`) over `game.yaml` editing general metadata, window, display, autoload scenes/resources and main scene, and editor plugins through `EditProject` with inline `project.Validate` errors, a first-save canonical YAML notice, Undo/Redo, and synced `nsgo.yaml` saves (#907). +- `game/editor`: support dropping, pasting, or picking PNG, JPEG, and WebP reference images onto the Agent composer with format validation, refusal reasons, hover previews, one-shot request delivery, atomic undoable **Pin to brief** (`art/reference/` + `brief.yaml` YAML diff card), and automatic inclusion of pinned references on every request via the `brief.yaml` Always chip (#1027). +- Support 3D reflection probes (`reflectionProbe`) and light probe grids (`lightProbeGrid`) in version 4 scenes (`sceneformat`, `scene.v4.json`), with baked 6×1 Radiance `.hdr` cubemap strips (`render3d.EncodeCubemapHDR` / `DecodeCubemapHDR`) and versioned canonical light probe YAML files (`*.probes.yaml`, `render3d.ParseLightProbeGrid` / `EncodeLightProbeGrid`, `lightprobes.v1.json`). +- Load baked reflection probes and light probe grids in `scenemodel.Build` / `scenemodel.Renderer` with unified `render3d` probe IBL shading and offscreen baking (`scenemodel.BakeReflectionProbe` / `BakeLightProbeGrid`). +- Place, inspect, resize with six undoable 3D face-center bounds handles (with Escape cancel), and bake reflection probes and light probe grids in the editor (`AddReflectionProbe3D`, `AddLightProbeGrid3D`, `BakeReflectionProbe3D`, `BakeLightProbeGrid3D`, `BakeAllProbes3D`), plus reference scanning in `refs` and validation in `tooling/assetcheck`. +- `game/editor`: draft player-facing Markdown release notes from git commits since the last tag (or initial commit), kept reviews, and `changelog.d` fragments via pluggable `Editor.ReleaseNotesDrafter`, saving edits directly and exclusively to the file `game release -release-notes` reads (#1050). +- `game/editor`: add confirmation-gated store publishing (`itch.io`, `Google Play · internal testing`, `TestFlight`) with a Spec-tokenized **Review uploads** dialog, unconditional human confirmation regardless of agent permission profile, pluggable `Editor.ReleaseUploader`, and cross-platform system `Keychain` credential storage that never writes secrets to project files (#1050). +- `game/editor/editormcp`: add `release_notes_draft` and `release_review_uploads` MCP tools with agent-actor enforcement so agents can draft notes and stage upload reviews without ever starting an upload (#1050). +- Add a Remote scene tree tab and live inspector to `editor` that connects to a running game over MCP (`go tool nsgo mcp` or an injected transport), lists live scenes, layers, and entities with hierarchy, edits components live with tracked keep-in-scene/discard/undo support, and provides Pause/Resume/Step N/Time Scale, tunables, and console controls (#911). +- `game/editor`: full-window change-by-change agent turn review screen (`ReviewScreenView`, `Editor.StartTurnReview`) grouped by file and kind with filter chips, search, seen progress, `ScopeReview` keyboard shortcuts (`J`/`K`, `X`, hold `B`, `⌘↵`, `⌘⌫`), adaptive scene/prefab/data-table previews, Why + line-numbered YAML diff, `Esc`/Resume pending state with viewport overlays and Agent panel card, Revert all confirmation dialog, and single-step `History` Undo (#1014). +- `game/editor/editormcp`: read-only `review_status` MCP tool reporting seen and reverted changes, active blockers, and turn review outcomes (#1014). +- `game/editor`: three-way conflict detection and resolution (**Mine / Agent's / Both**, keeping yours first) for concurrent manual edits during an agent turn review (`syncReviewAfterMutate`, `SyncReviewPersonEdits`, `ResolveReviewConflict`), plus in-place YAML editing in the Review right pane (`BeginReviewYAMLEdit`, `SetReviewYAMLDraft`, `FinishReviewYAMLEdit`) with live viewport preview, `you`-tagged lines, strict unknown-field/duplicate-key validation, mechanical one-step parse fixes (`ApplyReviewYAMLFix`), **Undo my typing** (`UndoReviewYAMLTyping`), and single-step `History` Keep/Undo (#1032). +- `game/editor/editormcp`: extend `review_status` to expose conflict merge choices (`mine`, `agent`, `both`), `you`-tagged hand-edited YAML fields and lines (preserved after Keep for round 2), and YAML parse error blockers, while enforcing `PrivacySceneAndData` and `PrivacyGoSource` privacy switches (#1032). +- `game/editor`, `game/editor/editormcp`, `game/tooling/datatable`: add full-window row-by-row Data Table review (`DataTableReviewView`, `OpenDataTableReview`, `datatable_review_propose`, `datatable_review_checks`, `datatable_review_status`) with old → new and `Δ%` cells, sortable `aria-sort` column headers, filter chips (`All`, `Changed`, `Unchanged`, `Reverted`, `Yours`), in-place value editing, drag-to-reorder, right-hand `+/-` YAML diff with `you` tags, out-of-date agent check figures, `Esc` pause/resume toast, lossless single-line Keep saves, and single-step Undo (#1033). +- `game/editor`: add file-by-file Go code review (`CodeReviewView`, `ProposeCodeReviewFiles`, `RunCodeReviewChecks`, `ConfirmCodeReviewFile`, `KeepCodeReview`, `RevertCodeReview`, and `CmdReviewCode`) that holds agent-proposed Go changes off disk until confirmed, verifies them via a Go build overlay (`BuildGoOverlay`) with `nsgo check` and `nsgo test -json`, supports Unified and Split diffs with line tags (`fails test`, `agent edited`, `round 2`), failed-test fix requests inside the same turn, single-step atomic Undo on Keep, and an Agent panel waiting card when YAML changes are kept while Go files still need confirmation (#1034). +- `game/editor/editormcp`: add `code_review_propose`, `code_review_status`, and `code_review_run_checks` MCP tools so connected agents can stage pending Go edits, inspect failing test details, submit Round 2 fixes in the same turn, and rerun build-overlay checks off the UI goroutine (#1034). +- `game/editor`, `game/editor/editormcp`: add change-scoped review notes (`C` / `CmdReviewNote`, inline note composer, viewport note pins, Notes filter chip, paused Agent panel unsent-note counts, and Revert all dropped-note warning), multi-round review tabs (`Round 1` read-only / `Round 2` latest with round banner and `"Redone from your note: …"` Why), and MCP tools `review_notes_get` and `review_redo` (with privacy, permission, You-only, and noted-only isolation enforcement) so redoing noted changes stays within one turn and one undo step (#1031). +- `game/editor`: add a Run / Stop Game toolbar command (and `F5` / `Shift+F5` shortcuts) that launches `go tool game dev` in the open project directory on desktop—optionally starting at the currently open scene—and cleanly terminates its entire process tree on Stop, `OpenProject`, `Close`, or view unmount, leaving in-editor Play preview untouched (#910). +- `game/editor`: add a docked Output / Log panel (`OutputPanelView`) below the viewport that streams the running game's stdout and stderr live off the UI goroutine, preserves a timestamped history of editor status and error messages, supports Clear and Errors-only filtering, and opens clicked `file:line` scene lines (or selects non-scene files in the file browser) (#910). +- `game/cmd/game`, `game/tooling/hotreload`: add `-scene` to `game dev` and `hotreload.SceneEnv` / `hotreload.DevScene()` so a game launched under `game dev` or from the editor can start at a chosen scene (#910). +- `game/editor`: edit scene instances and inherited scenes directly from the 2D/3D viewports, scene tree, layers panel, and inspector through undoable `overrides` and `layerOverrides`, with file-browser scene placement, asset-browser prefab placement, per-field and bulk Revert, Open Source Scene, Make Local (`MakeInstanceLocal`), and Apply Overrides to Source (`ApplyOverridesToSource`) (#870). +- `game/editor`: object-by-object Scene Merge Conflict screen (`MergeConflictView`, `OpenMergeConflict`, `OpenMergeConflictSession`, `ResolveMergeConflict`, `TakeAllAgentMergeSuggestions`, `ApplyMergeCustomYAML`, `FinishMerge`, `AbortMerge`) with `MINE`/`THEIRS`/`RESULT` live 2D previews, `CONFLICTS` and `MERGED BY ID` lists, agent suggestions with YAML and reasons, hand-edited YAML validation, `game check` + short playtest verification, Git merge commits, and merge abort (#1059). +- `game/editor/editormcp`: `merge_status`, `merge_resolve`, `merge_finish`, and `merge_abort` MCP tools for inspecting, suggesting, resolving, finishing, and aborting scene merge conflicts (#1059). +- `game/editor`: inspect and edit scene settings (name, virtual size, background color with NSGo's color picker, and camera position, zoom, rotation and optional bounds) when no object is selected, with `sceneformat.Validate` checks, Undo/Redo, and a draggable 2D viewport camera handle (#871). +- `game/editor`: add project-wide Search (files, paths, UIDs, scene object IDs/names, component types, prefabs, and scene references) with jump-to-file/scene-object navigation, and Find References powered by `refs.Scan` with file and line listings (`Search`, `FindReferences`, `ShowReferences`, `OpenSearchResult`, `OpenReference`, `RefreshSearch`, `SearchPanelView`) (#914). +- `game/editor`: add the per-computer **AGENT** Settings pages (**Models and connections**, **Tools**, and **Usage and privacy**, all marked **You only**) to `SettingsView` and persist their non-secret configuration under `agent` in `EditorSettings` (`editor.yaml`), keeping built-in API keys exclusively in the system keychain (#1028). +- `game/editor/editormcp`: wire `game_delete_file` as off by default in **Settings › Tools**, add live MCP tool on/off switching with `tools/list_changed` and readable call refusals, enforce outbound privacy across every connected agent and resource (including symlink-resolved paths) for Scene/data, Viewport images, Go source, and Art/audio, and add `InstallWithServers` syncing external MCP servers into `.mcp.json` and `.codex/config.toml` (#1028). +- `packages/game/editor`: unified `SettingsView` moving Project, Input map, Audio buses, and Export into `"PROJECT · game.yaml"` Settings pages alongside Editor General and Shortcuts settings, with `SpecPalette` Dark/Light styling, agent policy badges, cached Export readiness warnings, inline `project.Validate` errors, and keyboard-accessible `ui.Button` controls (#1060). +- `game/editor`: add searchable, scope-aware **Settings › Shortcuts** rebinding with in-place same-scope **Swap**, per-row and full reset, plugin command rebinding, per-user YAML persistence in `EditorSettings.Shortcuts`, and a live `⌘/` keyboard shortcuts sheet (#1061). +- `game/editor`: unified **Settings** window (`⌘,` to open, `Esc` to close and restore focus to the exact opener control) with `AGENT`, `PROJECT · game.yaml`, and `EDITOR · THIS COMPUTER` navigation groups, live cross-page search narrowing both navigation and rows (offering to send unmatched queries to the agent when enabled), arrow-key sidebar navigation, **Interface size** on **General**, a new **Viewport** page (Snap step/angle, Grid, Show agent changes, 3D navigation mouse mapping, and Overlay legend toggles), and strict version-1 per-person `editor.yaml` persistence with updated JSON Schema (#1005). +- `game/sceneformat`, `game/editor`: added `FieldPoint`, `FieldRect`, `FieldCircle`, and `FieldPolygon` component field kinds with JSON schema definitions, interactive 2D viewport shape rendering and draggable handles (with show-all-shapes toggle, grid snapping, polygon vertex add/remove, and undoable `SetComponentField` commits), and `PluginTool` drag and hover callbacks (#882). +- `game/editor`: unified command registry with platform-aware keyboard shortcuts guarded against firing in focused text fields, a desktop application menu bar (`File`, `Edit`, `View`, `Project`), a `ui.CommandDialog` Command Palette covering commands, plugin tools/panels, and project scenes/files, and clash-checked plugin commands (`Plugin.Commands`) (#920). +- `game/sceneformat`, `game/refs`: add the built-in version-1 `skeletal` component (`SkeletalComponent`, `SkeletonResolver`, `BuiltObject.Skeleton`, `BuiltLayer.Skeletons`, `BuiltLayer.DrawObjects`) so `.skel.yaml` rigs with a chosen atlas, skin, and animation build, draw in Z order, advance in `BuiltScene.Update`, and track file references (`refs.FieldSkeletalRig`) (#886). +- `game/editor`: add the 2D skeletal rig editor (`RigPanelView`, `OpenRigFile`, `OpenRigProjectFile`, `NewRig`, `SaveRigYAML`, `SaveRigFile`) with interactive bone move/rotate/length handles and attachment origin handles, bone/slot/skin/attachment authoring, timeline keying with runtime `skeletal` playback and crossfade preview (`PlayRig`, `StepRig`, `CrossfadeRig`), scene placement (`PlaceRig`, `PlaceOpenRig`), full `History` undo/redo, and byte-identical open-and-save round-tripping (#886). +- `game/editor`: grid snapping (defaulting to the active layer's tilemap tile size), pixel snapping (whole points), rotation step snapping in degrees, scale step snapping, modifier-key snap inversion (`Ctrl` / `Cmd`), an optional 2D snap grid overlay following `View2D`, multi-object selection movement snapping as a whole, and per-project persistence in `.game/editor.yaml` (#869). +- `game/editor`: added Spec typography, spacing, radius, height, border, and reduced-motion constants (`SpecFont*`, `SpecSpace*`, `SpecRadius*`, `SpecRowHeight`, `SpecButtonHeight`, `SpecHeaderHeight`, `SpecMotion*`, `SpecMotionDuration`, `SpecAgentPulseOpacity`), 3D axis tokens (`AxisX`, `AxisY`, `AxisZ`) from `Viewport3D.dc.html` in `spec_theme.yaml`, an AST test refusing `core.RGB`/`core.RGBA` and hardcoded UI hex color literals outside `spec_theme.go`, a Design tokens section in `docs/en/editor.md` and `docs/zh/editor.md`, and the Spec editor PR acceptance checklist in `.github/PULL_REQUEST_TEMPLATE.md` (#1002). +- `game/editor`: added the Light and Dark Spec design-token theme (`spec_theme.yaml`, `SpecTheme`, `SpecPalette`, `DarkSpecPalette`, `LightSpecPalette`, `ContrastRatio`, `SpecContrastTable`), live `AppearanceSystem` repainting, and Spec-styled viewport overlay legend and toast views measured against the same WCAG 2.2 contrast table (#1062). +- `game/resource`, `game/animclip`, `game/editor`: discrete `sprite.frame` flipbook tracks in animation clips, Aseprite tag and fixed-rate frame-run clip creation (`FromAsepriteTag`, `FromFrames`, `NewClipFromAsepriteTag`, `NewClipFromFrames`), and editor frame picker, timeline thumbnails, frame retiming, and `animclip` viewport preview (#881). +- `game/tooling/importsettings`, `game/tooling/pack`, `game/tooling/assetbuild`, `game/cmd/game`: add `image.pivot` (`default: [x, y]` and per-cell `cells` overrides) to `*.import.yaml` sidecars, regenerate `import.v1.json`, and write each frame's normalized pivot into packed TexturePacker atlas JSON in `game assets` and `game pack` for `sprite.LoadAtlas` (#880). +- `game/editor`: add an interactive sprite-sheet slice-grid preview canvas with draggable default and per-cell pivot markers, quick pivot presets, and undoable per-cell pivot editing to the image import panel (#880). +- `game/editor` & `cmd/game`: add a Start Screen when running `game editor` with no arguments, featuring per-user versioned YAML recent projects (marking missing folders), folder-picker opening, dynamic project creation from `game new`'s template registry with live validation and streamed output, Open Demo, and clean project switching with unsaved-edits confirmation (#922). +- `editor`: add the Start with AI first-run flow (`FirstRun.dc.html`), from **WHAT HAPPENS NEXT** and **Connect in place** on the Start Screen (preserving idea and name with no folder created until Approve) through the read-only template preview with planned ghosts, 5-stage **Building** view with object counts, Esc/Cancel confirmation (**Stop and delete the folder** scoped strictly to the folder created by the flow), check-failure fix proposals, and **The first review** with amber plan deviations, Before/After + hold-`B` peek, and three one-time tips persisted under `seenTips` in `editor.yaml` and resettable via **Help › Replay tips** (#1051). +- Add system notifications (`cx.ShowNotification` with on-demand `cx.RequestNotificationPermission` and `cx.OnNotificationPress`), Dock icon badge counting (`cx.SetBadge`), and a Play-mode corner dot (`PlayTaskDotView`) for agent tasks in the editor (#1023). +- `game/tilemap`: added optional `default` local tile ID on `TerrainDoc` (regenerated `tileset.v1.json`), `TilesetDoc.Terrain`, `TilesetDoc.Clone`, `Tilemap.ApplyTerrain`, `Tilemap.SetTerrainTile`, `AutotileSet.ComputeMask`, and mask helpers (`ValidTerrainMask`, `ToggleTerrainMask`, `TerrainMaskNeighbors`, `TerrainNeighborsMask`) (#879). +- `game/editor`: added the `ToolTerrain` (`t`) autotile brush (`TileStrokeTerrain`, `TileStrokeEraseTerrain`, `PaintTerrain`, `EraseTerrain`) that places or erases terrain and updates neighboring cells through the same rules as `tilemap.Tilemap.SetAutotile` in one undoable step per stroke (#879). +- `game/editor`: added the docked Tileset Editor (`TilesetEditorPanelView`, `OpenActiveLayerTileset`, `OpenTilesetFile`, `AddTilesetTerrain`, `ToggleTilesetEdgeOrCorner`) to define 4-bit cardinal and 8-bit blob terrain sets, set defaults, and assign tiles to neighbor masks by clicking their edges and corners (#879). +- `game/editor`: rectangle, Bresenham line, stamp (with palette rectangle selection and map region copy/cut/paste), and deterministic seeded weighted random tile brushes, each with live viewport preview, Escape cancellation, and single-step undo (#876). +- `game/tilemap`: `TilesetDoc` (`*.tileset.yaml`, version 1) tiles now support optional `name` and non-negative `weight` (populated into `Tileset.TileProbabilities` and reflected in `tileset.v1.json`), and `*Tilemap` directly implements `physics.TileGrid` and `physics.TileGridOrigin` so tiles marked `solid` or `oneWay` collide through `physics.MoveAndSlide` with no Go code naming the tile (#878). +- `game/sceneformat` and `game check`: version 2+ single-grid inline tilemaps may reference `tilesetFile` in place of a `tileset` atlas (`data` + `tilesetFile`), building into `BuiltLayer.Map` with all tileset flags, collision shapes, animations and custom properties, and `tooling/assetcheck` reports missing `tilesetFile` references and out-of-range tile IDs with file and line (#878). +- `game/editor` and `game/editor/editormcp`: the Tileset Editor adds tabbed Collision (solid, one-way, custom flag bits, and interactive rect/polygon shapes drawn over the tile), Animation (frames, durations and live preview), and Custom Data (name, variant weight and typed properties) editing alongside Terrain, all undoable and reflected live in the 2D viewport (including live animated tiles in edit mode) and Play mode; a right-side Tile Inspector edits the active tile's collision and rules when painting, and MCP tools `tileset_read` and `tileset_edit` read and edit the same tileset fields (#878). +- `game/editor`: add the Spec passing-feedback toast system (`Editor.EmitToastEvent`, `ToastEvent`, `ToastHandle`, `SpecFeedbackChannels`, `ToastDuration`, `ToastView`, `WindowToastView`) with five semantic kinds (success, info, warning on `Warning.Fill`/`Warning.Edge`, error, and progress), FIFO single-slot queuing with `+N` waiting counts and in-place repeat merging that never jumps ahead of errors or running progress, Spec auto-dismiss timers paused on hover/touch/keyboard focus/window background, 180 ms rise+fade / 120 ms exit motion honoring `ReduceMotion`, polite `RoleStatus` live regions with `F6`/`Tab`/`Esc` focus restoration, viewport-vs-window placement, and event routing for explicit `⌘S` save failures (with `Retry`, keeping autosave failures strictly in the status bar), live `export_panel.go` progress/cancel/complete toasts, copied text, and external disk reloads (#1004). +- Editor: persistent per-turn checkpoints stored as strict versioned YAML manifests and verbatim pre-turn files under `.nsgo/checkpoints/` (ignored by git, enforcing You-only boundaries, symlink refusal, and automatic size-cap pruning), pre-start checkpoints for autonomous tasks and automations, unified History panel (`⌘Y`) integration with cross-session checkpoint preview and one-step undoable multi-file restore, plus `checkpoint_list` and permission-checked `checkpoint_restore` MCP tools. +- `game/editor`: watch the open scene, open animation clip, `game.yaml`, and project tree for external changes, automatically reloading clean files and refreshing the file browser while offering Compare (per-object Mine/Disk merge), Reload from disk, and Keep mine for dirty files (#906). +- `game/editor`: guard `Save`, `SaveFile`, `SaveProject`, and `SaveClipFile` against overwriting files modified on disk since open or last save (`ErrDiskConflict`, `ForceSave`, `ConfirmOverwriteSave`, and the overwrite confirmation dialog) (#906). +- `game/editor`: unified Spec viewport overlay renderer (`DrawObjectOverlay`) and live overlay API (`SceneOverlayEntry`, `SetSceneOverlays`) supporting all seven Spec overlay kinds (Selection, Agent working, Added, Changed, Removed, Problem, Focused change in Review) with non-color second cues, Selection+Agent 3 px outer pairing, 240 ms change fade-in, 1.6 s Agent pulse, and reduced-motion static rendering (#1006). +- `game/editor`: shared top-left viewport overlay legend (`viewport-overlay-legend`) across 2D and 3D viewports with six `role="switch"` toggles persisted per user under `overlayLegend` in `EditorSettings` (`editor-settings.v1.json`) (#1006). +- `game/tooling/assetcheck`: populate `Problem.Object` on scene object, component, override, and connection diagnostics (and expose `object` in `editormcp`'s `game_check`) so live Problem overlays attach directly to objects in the open scene (#1006). +- `game/editor`, `game/editor/editormcp`: add a 2D viewport Overlays menu (`SHOW IN VIEWPORT` popover with live counts and switches for collision shapes, triggers, connections with `"event → handler"` arrows, patrol paths, navigation, camera bounds, labels, and plugin-registered `ViewportOverlay` entries), per-user `viewportOverlays` persistence in `EditorSettings`, and shared `viewport_overlays` support in `viewport_image` (#1040). +- `game/editor`, `game/editor/editormcp`: add a session-only viewport sketch layer (Pen, Arrow, Box, Text in scene coordinates with numbered badges, labels, rendered PNG export, keyboard shortcuts in `ScopeSketch`), `sketch_read` / `sketch_reading` MCP tools with a confirmation hold gate on `scene_edit` until Go ahead or Correct a mark, and a review Sketch overlay toggle where Keep clears marks and Revert keeps them (#1025). +- Enforce the You-only trust boundary across every `editormcp` tool, add the `permissions_draft` modal card (nothing ticked by default, never applied by `⌘↵`, Keep all, automations, or Autonomous, recorded in History as the person's), hold externally loosened `permissions.yaml` profiles and rules in Settings › Permissions while applying tightened ones immediately, and add `game_delete_file` proposed deletions that Keep all leaves untouched until confirmed in place and `⌘Z` restores from a checkpoint (#1015). +- `game/effects`: `PaletteSwap`, `PaletteRamp` and `PaletteImage` for mapping frame colors through a palette texture, plus chain-managed effect textures (`Texture`/`TextureSize` in Kage, `Effect.Texture`, `View.Textures`/`View.TexturesFunc`, `Chain.Images` and `Chain.ReferenceWithTextures`) with CPU reference pictures for headless golden tests (#95). +- `game/loaderr`: a shared `Error` for files a loader cannot use, naming the file, line, column, field, what was expected and a fix, with `Locate` to find a field's line in YAML or JSON and to turn decode errors into it; a guide in `docs/en/errors.md` (#503). +- `game/save`: `Store.LoadChecked` checks a decoded value while the slot loads, falling back to the backup copy when the check refuses it (decoded into the value the destination held before the call, not over the refused copy) and reporting the check's field at its line; load errors name a `FileBackend` copy by its file path and a `StorageBackend` copy by its storage key (#503). +- `game/sceneformat`: scene files connect one object's events to another object's handlers under `connections`, as Godot's `.tscn` connections do: component types declare `Events` and `Handlers` (with typed params and a `Func`), `ParseWith` refuses unknown events, handlers and arguments with the file, line and column, `Resolve` carries connections through instancing and inheritance, and `Connect` returns `Signals` whose `Emit` runs the connected handlers, so a button opens a door with no Go wiring code; `game/editor`'s `DeleteObject` removes the connections of the deleted objects and undo restores them (#490). +- `examples/lantern3d`: interactive 3D glTF 2.0 diorama scene (`Lantern 3D`) on NSGo's `gpu.View` with `game/gltf`, `render3d` meshes/textures/camera uniforms, `scene3d.OrbitController` mouse/touch/keyboard camera controls, a `render3d.LightRig` (moonlight key, orbiting wisp, shrine glow, ambient) shaded with render3d's metallic-roughness PBR and sRGB base-color textures, native `scene.HUD3D` overlay, `NoGPU` fallback, and cross-target headless tests on full and WebGL 2 / GLES 3.0 GPU profiles (#205). +- `examples/lantern3d`: switch between the 3D glTF Lantern Shrine (`gpu.View`) and a top-down 2D Courtyard Map (`scene.Scene` + `sprite.Batch`) through `scene.Manager.View` with `scene.Fade`, push a transparent 2D pause overlay without rebuilding 3D GPU pipelines, and share one `*input.Actions` and `*sound.Mixer` (continuous ambient music plus switch chime SFX) across transitions (#126). +- `game/ai`: add 2D `TiledNavMesh` and `NavTile` with independent tile baking/add/replace/remove, cross-border polygon linking, runtime dynamic obstacles (`NavBoxObstacle`, `NavOrientedBoxObstacle`, `NavCircleObstacle`, `NavPolygonObstacle` in carve or mark modes) rebuilding only touched tiles, two-level spatial indexing, and per-tile path invalidation (`IsPathValid`, `WatchPath`, `AddTileListener`) (#826). +- `game/world3d`: add 3D `TiledNavMesh`, `NavTile`, multi-level-aware 3D dynamic obstacles (`NavBoxObstacle`, `NavOrientedBoxObstacle`, `NavCylinderObstacle`, `NavPolygonObstacle`), two-level 3D spatial indexing, per-tile path invalidation, and `NavTileStreamer` following `ChunkStreamer` to load and unload navmesh tiles with world chunks (#826). +- `game/navbake`, `game/navbake3d`: add `Mesh.TiledNavMesh` helpers and `navbake3d.BakeTile` for independent chunk-aligned voxel tile baking (#826). +- `game/editor`: support multiple open scenes in tabs (`SceneTabsView`, `Tabs`, `ActiveTab`, `TabCount`, `SelectTab`, `SaveTab`, `CloseTab`, `RequestCloseTab`, `OpenInstancedScene`, `OpenBaseScene`) with separate per-tab documents, undo histories, selections, 2D/3D view transforms, and dirty markers, automatic rebuilding of open tabs whose instanced or base scenes are saved, and per-tab unsaved-changes confirmation on close while sharing the project file across tabs (#873). +- `game/modding`: add Steam Workshop (`ISteamUGC`) integration (`Workshop`, `WorkshopBackend`, purego-backed `NewSteamWorkshop` for desktop, `NewMemoryWorkshop` for tests, deterministic `workshop.yaml` metadata, and dynamic `Manager.Install`/`InstallFS`/`Uninstall`) so authors can publish mods and levels and subscribed players automatically sync and load them (#537). +- `examples/fieldmedic`: Field Medic, a small runnable game that ships its own scene editor (`cmd/editor`) with an editor plugin built in: a `health` component its game and editor share, and a `health` plugin with a Ward panel whose Heal All is one undoable step, an inspector for the component and an Admit tool; `docs/*/editor.md` describes how a game lays out and ships an editor with plugins (#492). +- `game/flow`: hierarchical state machines (`HSM[S]`) with nested child machines, lowest-common-ancestor transitions, innermost-first parent/child evaluation, deterministic FIFO event transitions with `flow.Bus` binding (`BindBus`, `OnEvent`), optional shallow history, and active-path inspection (`Current`, `Leaf`, `In`, `TimeIn`) (#838). +- `game/fog`: per-team fog of war on tile grids, with radius vision sources, symmetric shadowcasting past opaque cells, explored versus visible cells, a culled overlay drawn over a tilemap, and deterministic versioned JSON snapshots that survive a `save.Store` round trip (#529). +- `internal/formattest`: a shared conformance check that every package reading a YAML format runs on canonical testdata files, requiring a byte-identical load and save round trip, output that does not depend on map order, the time or randomness, and an error naming the key for an unknown top-level key, a missing `version`, `version: 0` and a version newer than the format reads; `go tool nsgo test` fails a package that decodes YAML without running it, and `docs/en/schemas.md` describes how to add a format to it (#479). +- Docs: a File Formats page (`docs/en/formats.md`, `docs/zh/formats.md`) listing every format a game reads or writes, with its files, version, the Go functions that read and write it, the guide to its fields and an example; each YAML format's conformance check now names its entry in `formattest.Format.Doc` and loads and saves the entry's examples, and `TestFormatsPage` loads the JSON and Yarn examples with each format's reader and fails when the two languages differ, when an entry's format is gone, or when a package that decodes JSON or an exported `…Version` constant has no entry (#480). +- `examples/fountain`: a 5000-particle stress scene for measuring `game/particles` with `--nsgo-fps`, and benchmarks of 5000 tinted particles drawn one at a time and of the scene's 5000 untinted particles drawn in `DrawAtlas` runs (#85). +- `game assets` builds every asset target in the new `assets` section of `game.yaml` in one run: it packs atlases, encodes KTX2 textures, converts audio and regenerates the asset manifest, and keeps a YAML cache of each target's settings, inputs and outputs so a second run with nothing changed writes no file and changing one image repacks only its atlas; `-check` lists out-of-date targets for CI, comparing with the committed outputs when the cache is absent (AAC and MP3 outputs, whose bytes depend on the encoder, only need to exist), and `-force` rebuilds everything. A renamed or removed target's old outputs are deleted, the cache key of an AAC or MP3 target names its encoder and version (`audioconv.Encoder.Tool`), and `game.yaml` refuses targets that would write over the project file or their own inputs. The `assets` section is part of package `project`'s one `game.yaml` schema (`project.Assets`), so `game release`, the editor and `game assets` accept the same file; `game/tooling/assetbuild` holds the builder, and `pack.ScanDir` lists the images `pack.PackDir` packs (#455). +- `game check` subcommand and `game/tooling/assetcheck` package: check the scenes, Tiled and LDtk maps and sprite atlases under a directory and the references between them (tilemap sources, external tilesets, images, atlases and their frames, materials and their textures), reporting each problem as `file:line: message`; the Examples workflow runs it on the sample games (#456). +- `sceneformat.FieldError`: every error `sceneformat.Validate` returns names the field at fault by its path in the document, and `Validate` reports the entries of `tilemaps` in key order (#456). +- `game completion` writes a zsh, bash or fish completion script generated from the commands' definitions, completing the subcommands, their flags, the values `-format` takes and file paths, and the website's Command Reference page, in English and Chinese, lists every subcommand's usage and flags generated from the same definitions (#459). +- `game dev`, run as `go tool game dev`, runs the game with `nsgo dev` and passes it its asset directory (`resources` by default) in `NSGO_GAME_ASSETS`, which `tooling/hotreload`'s `DevAssetsDir` returns for the game's `assets.Manager` to read from; `tooling/hotreload`'s `NewDevWatcher` starts a watcher there, `Watcher.WatchAssets` reloads the atlases, images and raw bytes an `assets.Manager` has loaded when their files are saved, within a second on the native and tui targets and on Android with `-android-host`, following the density a screen shows for multi-density images and leaving files a DLC pack overrides alone, and `Watcher.WatchAtlasFiles` reloads an atlas's JSON and image for atlases the game loads itself (#454). +- `game/assets`: `Manager.Reload` replaces the loaded assets read from a URI, updating atlases in place, and `Manager.Revision` counts those reloads for canvases and effects to redraw on (#454). +- `game/project`: `Resolver` (`NewResolver`) loads what a scene names from a project's own files: sprite atlases found by name nearest the scene as `game check` finds them (`NearestAtlases`, `ForScene`), with their images read from the project, scene files, whose atlas names it resolves from each file's own directory so an instanced or inherited scene in another directory draws the atlas `game check` finds for it, materials, physics materials, and through `ReadFile` the YAML tilesets and Tiled and LDtk maps tilemaps name; it lists the project's atlases (`AtlasNames`) and reads them and its materials again after `Refresh`, and is safe for concurrent use. `AtlasNamed`, `SkipDir`, `IsAtlasJSON`, `ResolveRef` and `HasScheme` are the atlas and path rules it shares with `game check`, so an atlas `meta.image` such as `hero 1:2.png` that `game check` accepts draws in the editor too (#905). +- `game/editor`: `Editor.ProjectAssets` makes opening a project switch the editor's resolver to a `project.Resolver` over it, so its scenes draw its own atlases, the asset browser lists them and its scene files place as instances; `OpenProjectScene` opens a project with another of its scenes, setting `ScenePath` so an instance of the open scene in itself is refused as a cycle (#905). +- `game/editor/editorcmd`: the scene editor's command line, shared by `nsgo game editor` and a game's own editor command: `New`, `Open`, `Run`, `Main`, `Show`, `Serve`, which serves the editor's MCP endpoint in a game's own editor too, and `ProjectRoot`, with `Options.RequirePlugins` refusing a project that lists a plugin the command lacks and `Options.WindowWidth` and `Options.WindowHeight` sizing the window (default 1120 by 680). An editor built with `Options.Components` checks scenes against those types together with the built-in physics components, so a scene with a `body2d` still opens in a game's own editor (#905). +- `game generate editor` writes a game's own editor command, a `main` built with the `gameeditor` tag that checks the project's scenes against its `Components` and builds in its editor plugins, and tags every file that declares the game's `main`, for any platform, `!gameeditor`; it refuses such a file when it also declares something the rest of the package needs, such as a name another file uses or an `init` function, which the editor build would lose (#905). +- `game generate component|system|scene|prefab ` writes a new component, system, scene or prefab into a game project in its conventions: the Go code and a test for each, the scene file of a scene or prefab in the current scene format, and its registration in the `Components`, `Systems` and `Prefabs` registries it declares once, and with `-autoload` or `-main` a scene's entry in `game.yaml`'s autoloads; what it writes builds and passes `game check`, and it refuses to overwrite a file or redeclare an identifier (#505). +- `game new ` creates a game project from the starter template, the one `template/template` holds, with the `name` and `id` of `game.yaml` and `nsgo.yaml` and the module path set from the directory or `-name` and `-module`, then runs `go get -tool` and `go mod tidy` so its `go.mod` requires the command's own version of the game layer (or `-version`) and has the `game` tool beside `nsgo`; `-template` chooses among templates, `starter` for now (#453). +- `game new -list` lists the templates `game new` can start from, each with a line saying what it is, and shell completion completes `-template` with their names; the [Templates](docs/en/templates.md) page lists them with the module `nsgo init -template` takes for each and describes how a template is laid out and added, and CI tests every template against the game layer version it pins (#787). +- `game release` builds a game's release packages for macOS, Windows, Linux, web, iOS and Android in one run of `nsgo build` (macOS, Windows and Linux for the steam channel), or for the targets of `game.yaml`'s export presets, with `-target`, `-output`, `-channel`, `-release-notes`, `-jobs` and `-dry-run` (#458). +- `game replay` checks every `*.replay.yaml` input recording under its directories and plays them headless through the tests with `Replay` in their names, failing when a recording cannot be played, a run ends in another state than its test expects or no test passed; `game bench` runs the benchmarks headless with `nsgo test -bench`, compares each one's median with a stored baseline and fails on a regression, or records the baseline with `-update` (#457). +- `game/tooling/bench` reads and writes benchmark baselines as versioned YAML text, parses `go test -bench` and `nsgo test -bench` output and reports regressions (#457). +- `game/gameui`: add versioned `*.screen.yaml` HUD and menu screen files (`ParseScreen`, `EncodeScreen`, `LoadScreenFS`, `BuildScreen`, `CheckScreen`, `ScreenCanvas`, `ColorRect`, `SpriteRow`, `TouchStick`, `TouchButton`) with published JSON Schema `screen.v1.json`, nine-point/fill anchors, safe-area insets, device-class conditions, declared focus order, localized `textKey` resolution, and `game check` / `refs` / `game mv` support (#1046). +- `game/gameui`: ready-to-use `SettingsMenu` covering Audio, Video (window mode, resolution, scale mode, integer scale, quality preset, VSync, frame cap), Controls (keyboard/gamepad rebinding capture and reset), Language, and Accessibility, persisted through `save.DefaultSettingsStore`, operable with mouse, touch, keyboard, and gamepad alone, and wired into `examples/caverun` (#541). +- `game/navbake`: bake `ai.NavMesh` polygons from an outline with concave obstacles and holes, or from a tilemap's solid cells on orthogonal, isometric, staggered and hexagonal maps, shrunk by an agent radius so paths keep clear of walls; one mesh per agent type with `BakeAll`, a versioned YAML mesh file with byte-identical bakes and lossless round trips, and a `Draw` debug overlay of polygons and portals (#822). +- `game/gltf`: full glTF 2.0 morph target evaluation (`MorphResult`, `ApplyMorphWeights`, `EvaluateMorphTangents`), glTF weight precedence (`ResolveWeights`, `ResolveWeightsInto`), and zero-allocation animated weight sampling (`SampleMorphWeights` for `STEP`, `LINEAR`, and `CUBICSPLINE`) verified against the Khronos `AnimatedMorphCube` model (#273). +- `game/render3d`: `MorphTarget`, `MorphMesh`, `UploadMorphMesh`, and `GPUMorphMesh` for dirty-tracked morph target vertex buffer updates, live object-space bounds, `Retained` device-loss restoration, and `MeshVertexLayout` drawing across all GPU view backends (#273). +- `game/gltf`: complete `KHR_texture_transform` and `KHR_materials_variants` support with strict spec validation, UV evaluation helpers (`DefaultTextureTransform`, `TextureTransform.IsIdentity`, `TextureTransform.Apply`, `TextureRef.ApplyUV`, `Document.PrimitiveTexCoords`, `Document.TransformTexCoords`), variant lookup/resolution helpers (`Document.VariantIndex`, `Document.MaterialForVariant`, `Document.MeshMaterials`, `Document.ResolveVariantMaterials`), and verification against the Khronos `TextureTransformTest`, `TextureTransformMultiTest`, and `GlamVelvetSofa` sample models (#274). +- `game/framedata`: per-frame hitboxes, hurtboxes, damage, hitstun, blockstun, knockback and cancel windows for fighting game moves in versioned YAML, resolved into hits deterministically each fixed step, with frame advantage summaries, `World.Save`/`Restore` for replay and rollback, and `debug` overlay drawing (#526). +- `game assets`: `fonts` targets bake a TrueType or OpenType font into an AngelCode BMFont (a `.fnt` file and its PNG pages, with the font's kerning) at a `size` of at most 2048 pixels (`project.MaxFontSize`, `project.ValidateFontSize`), with the `chars` and `padding` they name, and `models` targets pack a glTF model, its buffers and the images it names into one GLB file, optionally `scale`d and without its `animations`. Both are declared in `game.yaml` (`project.FontTarget`, `project.ModelTarget`) (#487). +- `game/tooling/importsettings`: `font` and `model` sections, which a font's or a model's sidecar holds and which override its target's settings, so editing one rebuilds only that font or model; `File.Sections` lists the sections a sidecar holds (#487). +- `game/render3d`: `LoadKTX2` uploads a KTX2 texture as `game assets` and `game tex` write it, compressed where the device supports its format and decoded to RGBA8 elsewhere, and returns its sampler with the filters the image's sidecar set through the `game.filter` key; `KTX2Sampler` applies that filter to sampler options (#487). +- `game/liveops`: `Purchases` sells in-app products over NSGo's purchase services, crediting consumables into the save exactly once through a `Ledger` saved with them (a kill before finishing redelivers without a second credit), keeping unlocks and subscriptions from the store's entitlements, restoring them, following Ask to Buy approvals and refunds, and handing transactions to an optional server to verify (#369). +- `game/fighting`: a per-step input buffer with facing-relative numpad directions, and YAML move sets recognizing motions, charges, double taps, chords and combos within their windows, with state snapshots for rollback (#525). +- `game/input`: handle mid-game controller disconnects on `Players` with `SetDisconnectPolicy` (`DisconnectPolicy`, `DisconnectEvent`, `ReconnectEvent`), automatic pause and resume (`OnPause`), same-pad reconnect and press-any-button reassignment (`AllowReassignOnPress`), single-player keyboard/touch fallback (`FallbackToKeyboardTouch`), and `PollGamepads` (#316). +- `game/input`: add `Players` and `Player` for local multiplayer input, routing separate game controllers, shared keyboard key sets, and optional pointer/touch inputs to per-player `Actions` (#128). +- `game/editor`: the inspector adds a registered component with its defaults from a searchable list of the types the object lacks and removes one with the connections that need it, adds properties by key and kind and deletes them, and edits the sprite (picked from the asset browser), origin, flips and material, each as an undoable step with a method on `Editor` (`AddComponent`, `RemoveComponent`, `ComponentConnections`, `AddProperty`, `SetObjectSprite`, `SetObjectOrigin`, `SetObjectFlip`, `SetObjectMaterial`); a duplicate component or an empty property key is refused in the status bar (#865). +- `game/inventory`: item definitions in versioned YAML, slot containers with stacking, moving, splitting and quick transfer, typed equipment slots, and snapshots that round-trip through `game/save` (#515). +- `game/tooling/jsonschema`, `cmd/gameschema`: JSON Schemas for the YAML formats, built from the Go types with descriptions from their doc comments; the scene schema is published at `https://game.nsgo.dev/schemas/scene.v1.json`, `sceneformat.Encode` names it in a `# yaml-language-server` comment so editors validate scene files, `datatable.Schema[T]` builds the schema of a versioned YAML data table, and CI fails when a committed schema drifts from its Go types (#501). +- `game/render3d`: `LoadKTX2` loads Basis Universal UASTC 4x4 KTX2 files, transcoding them to BC7, BC1, BC3, ETC2 or ASTC 4x4 as the device supports, or decoding them to RGBA8; it also takes BC7, ETC2 RGBA8 and ASTC 4x4 files and Zstandard or ZLIB supercompressed levels, and `KTX2Upload.ForceRGBA8` uploads any file decoded to RGBA8 (#271). +- `game/tooling/ktx2`: `Decode`, `Texture.Transcode`, `Texture.DecodeLevelRGBA` and `FormatFromHeaderDFD` read KTX2 files with Zstandard or ZLIB supercompression and the UASTC, BC7, ETC2 RGBA8 and ASTC 4x4 formats, `Options.Format` encodes them, and `Options.Supercompression` writes ZLIB (#271). +- `tooling/ktx2`, `render3d`: decode BasisLZ/ETC1S KTX2 files (including alpha slices and mipmap chains) in pure Go and transcode them in `Texture.Transcode` and `render3d.LoadKTX2` to each GPU's supported block format (BC7, BC1, BC3, ETC2, ASTC 4x4, or RGBA8) (#750). +- `tooling/ktx2`: decode every valid ASTC 4x4 LDR block on the CPU (void-extent, all 2D block modes, BISE trits/quints/bits, 1–4 partitions, dual-plane weights, bilinear weight grid infill, and all LDR color endpoint modes) so `astcenc`-encoded KTX2 files load on devices without ASTC (#750). +- `tooling/ktx2`: verify the ETC1S, UASTC (uncompressed and Zstandard-supercompressed), BC7, and ASTC 4x4 decoders against checked-in `basisu` and `astcenc` reference fixtures and unpacked RGBA PNGs (#750). +- `game/l10n`, `game/editor`: add versioned YAML localization string tables (`StringTable`, `ParseYAML`, `EncodeYAML`, `Catalog.LoadYAML`, `l10n.v1.json` JSON Schema) and a Localization table editor panel with keys as rows, locales as columns, missing-translation highlights, CLDR plural editing, undo/redo, and per-locale YAML saving (#917). +- `game/leaderboard`: leaderboards declared once in a versioned YAML catalog (`gameCenter`/`playGames` IDs per board), submitted to and shown through NSGo's game services with sign-in state, ranked score queries and errors for unknown boards or missing platform IDs; `examples/starburst` submits each run's score and opens the board from the game-over screen (#108). +- `game/lights2d`: add `Scene.SetLightComposite` and `Scene.EffectiveLightComposite` so light glows can explicitly use `core.CompositeSourceOver` while keeping `core.CompositeLighter` as the zero-value default, and preserve explicit `CompositeSourceOver` across `sceneformat.BuiltScene.SyncLights2D` (#1166). +- `game/liveops`: `PlatformCloud` (adapting NSGo's `cloud` package for iCloud on macOS/iOS, Google Play Games Saved Games on Android, and `nsgotest`'s in-memory store, with `CloudProviderFor`, `Available`, `WatchChanges`, `OnConflict`, and `ErrCloudConflict`), `DirCloud` (a `ConditionalCloudSync` for Steam Auto-Cloud and other directory-synced stores), and `CloudSyncer.SyncAsync` / `SyncSlotAsync` / `ResolveAsync` for non-blocking sync with engine-goroutine marshaling (#196). +- Website: `llms.txt`, an index of every English docs page, and `llms-full.txt`, every page's Markdown in one file, built with the site and linked from its footer (#499). +- `game/loaderr`: add `LocateJSON` for JSON-only loaders and replace internal `regexp` parsing in `Locate` with string scanning, reducing the web WASM bundle footprint of `loaderr`, `tilemap`, and `sprite`. +- `game/l10n`: per-language asset maps are versioned YAML (`version: 1`) loaded strictly with `LoadAssetManifestYAML` and saved deterministically with `MarshalAssetManifestYAML` (#473). +- `game/net`: a `Relay` that forwards peer-to-peer lockstep and rollback sessions between players who cannot reach each other, over WebSocket or UDP. Each player connects with a `RelayTransport`; `RelayConfig.Join` puts a player who passed the connection handshake into a session, frames go only between members of the same session, and `ChannelReliableOrdered` is reliable end to end with acknowledgements and resends, so rollback runs over UDP too. The latency a local relay adds and the decision to defer WebRTC data channels are documented in the server guide (#553). +- `game/worldmap`: add `TileMinimap` with incremental `SetTile` terrain updates, `fog.Revision`-cached fog overlay, unit/POI markers, camera viewport rectangle, orthogonal and diamond isometric projections, and click-to-pan (`PanCamera`) (#855). +- `skills/nsgo-game`: Agent Skill installable via `bunx skills add nsgo-dev/game` covering the game-layer packages, `go tool game` CLI, plain-text YAML file formats, and `game/mcp` tool suite, along with automated structure and end-to-end MCP workflow tests (#470). +- `game/mcp`: added `game_assets_list`, `game_asset_reload`, and `game_assets_reload_group` tools plus `RegisterAsset`, `RegisterAtlas`, and `Config` asset/hot-reload hooks to inspect loaded asset groups/memory and hot-reload atlases, images, bytes, custom assets, shaders, materials, and YAML resources in place; sounds, images without a file and unshown densities are reported as skipped (#469). +- `game/assets`: added read-only `Manager.Disposed`, `Manager.GroupNames`, `Manager.LookupGroup`, `Manager.GroupStats`, `Group.Stats`, and on-demand in-place `Manager.ReloadAsset` and `Manager.ReloadGroup` helpers that read and parse off the engine goroutine, plus `EstimateAtlasBytes` (#469). +- `game/tooling/hotreload`, `game/resource`: added `ShaderReloader.ShaderPath`, `ShaderReloader.ReloadShaderFile`, `MaterialReloader.MaterialPath`, `MaterialReloader.ReloadMaterialFile`, and `Library.ReloadFile` helpers for on-demand hot reload (#469). +- `game/mcp`: add `game_input_action`, `game_input_axis`, `game_input_pointer` and `game_input_actions_list` tools plus `Actions`, `Viewport`, `ViewSizeFunc` and `OnPointer` bridge hooks to inject actions, axes and viewport-mapped game/world pointer events (#463). +- `game/input`: add `Actions.Press`, `Actions.Release`, `Actions.SetAxis`, `Actions.ClearAxis`, `Actions.ActionNames` and `Actions.AxisNames` for programmatic action/axis injection and introspection (#463). +- `game/mcp`: `Bridge` and `Attach` register `game_scenes_list`, `game_layers_list`, `game_entities_list`, `game_entity_inspect` and `game_component_get` through `nsgo/automation` so `nsgo mcp` can inspect scenes, draw-ordered layers, live entities with stable generational references (`entity::`) and component values (from `entities.RegisterCodec`, `mcp.RegisterComponent`/`RegisterComponentFunc`, and built-in `Transform2D`/`WorldTransform2D`/`sceneformat.ObjectRef`) (#461). +- `game/scene`: `Manager.Stack` returns active scene controllers from bottom to top, and `Layer.Parallax` returns effective parallax scroll factors (#461). +- `game/entities`: read-only, zero-reflection inspection helpers `MakeEntity`, `World.Resolve`, `World.CodecNames`, `CodecName`, `World.HasCodec`, `World.EncodeComponent`, `World.EntityComponents`, `World.ParentOf` and `World.ChildrenOf` (#461). +- `game/mcp`: add `game_loop_status`, `game_loop_pause`, `game_loop_resume`, `game_loop_step`, `game_loop_time_scale`, and `game_loop_seed` MCP tools to inspect and drive `game.Loop` and deterministic randomness (#462). +- `game`: add `Loop.Steps`, `Loop.Elapsed`, `Loop.ElapsedSeconds`, `Loop.StepRate`, `Loop.StepDuration`, `Loop.EffectiveTimeScale`, and synchronous `Loop.StepNow` helpers (#462). +- `game/random`: add `Stream.SetSeed` and `Streams.SetSeed` to re-seed deterministic streams in place (#462). +- `game/mcp`: add `game_perf_readout`, `game_perf_zones`, and `game_perf_reset` MCP tools exposing frame timings, percentiles, draw statistics, per-frame allocations, GC/heap telemetry, asset memory, and 3D render statistics matching the debug overlay (#468). +- `game/debug`: track per-frame heap allocations (`/gc/heap/allocs:objects` and `/gc/heap/allocs:bytes`) in `GCMonitor`, add `DrawStats` support to `Overlay`, and add `Reset` methods on `Profiler`, `GCMonitor`, and `Overlay.ResetStats` (#468). +- `game/mcp`: add `ReplayController` and MCP record/replay tools (`game_replay_status`, `game_replay_record_start`, `game_replay_record_stop`, `game_replay_play`, `game_replay_stop`, `game_replay_list`) for starting/stopping input recordings and replaying them deterministically (#467). +- `game/mcp`: `game_screenshot` tool captures the game view as PNG (written to a relative `.png` path inside `Config.ScreenshotDir`, or returned as `png_base64` text) with optional pixel-aligned overlays for sprite bounds (`bounds`), 2D physics collision shapes (`collision_shapes` / `physics`, covering `physics.World` boxes, circles, triggers, solid/one-way tiles and `physics.RigidWorld` bodies), world-space reference grid (`grid`, `grid_step`), camera frame (`camera`) and bitmap labels (`labels`), aligned across `tilemap.Camera` pan/zoom/parallax and the same `screen.Viewport`, `ViewportFunc` and view size `game_input_pointer` uses, including `CaptureFrame` images at a HiDPI pixel ratio. Frames the software rasterizer draws report what it left out in `skipped_ops` and `skipped_images` (#465). +- `game/mcp`: add `game_prefabs_list`, `game_entity_spawn`, `game_entity_destroy`, `game_component_set`, and `game_component_remove` tools along with prefab registration (`Config.Prefabs`, `Bridge.RegisterPrefab`, `Bridge.RegisterEntityPrefab`, `Bridge.RegisterScenePrefab`) and typed component editing (`RegisterMutableComponent`, `RegisterComponentEditor`) (#464). +- `game/entities`: add `World.DecodeComponent`, `World.PatchComponent`, and `World.RemoveComponent` strict JSON codec mutation helpers (#464). +- `game/mcp`: add tunables and debug console MCP tools (`game_tunables_list`, `game_tunable_get`, `game_tunable_set`, `game_console_commands_list`, `game_console_exec`) configured via `Config.Console`, `Config.ConsoleFunc` and `Bridge.SetConsole` (#466). +- `game/debug`: add `Console.RegisterString`, `Console.Tunables`, `Console.Tunable`, `Console.SetTunable` and `Console.Commands` with `TunableInfo`, `TunableChange` and `CommandInfo`; `SaveTunables` and `LoadTunables` persist string tunables (#466). +- `game/render3d`: `Mesh` (positions, normals, UVs, indices) uploaded by `UploadMesh` into the NSGo GPU view's vertex and index buffers as a scope-owned `GPUMesh`, with one shared interleaved `MeshVertexLayout`, per-mesh uint16/uint32 indices that avoid the WebGL 2 restart index, validation, allocation-free encoding and retained buffers that survive device loss (#112). +- `game/worldmap`: YAML room maps with areas, links and fixed markers; visited and revealed rooms and player markers saved through a `State` that round-trips a `save.Store` slot; a minimap of the current area and a world map that draw only discovered rooms (#524). +- `game/net`: `ServerWorld.SetMaxSnapshotSize` and `DefaultMaxSnapshotSize` (60000 bytes). A full snapshot larger than the limit is split into parts that `ClientWorld` reassembles, and a delta larger than it is replaced by a split full snapshot (#546). +- `game/net`: `UDPTransport.Err`, `UDPServer.Err` and `ErrReceiveFailed` report a socket failure that stopped a UDP transport from receiving; `Send` returns the same error from then on, until `Close` (#546). +- `game/net`: `ClientWorld.Reset` forgets every snapshot and prediction and despawns every known entity, so a client can follow a server that starts its tick count over for a new match or after a restart (#546). +- `game/net`: players can join and leave a running lockstep or rollback match. The match's host (`LockstepConfig.Host` / `RollbackConfig.Host`, the lowest peer ID by default) admits a peer with `AddPeer` and removes one with `RemovePeer`; every peer applies the change at the same tick, which no peer can have run or confirmed yet, and rollback peers that predicted past it roll back. A session created with `Join` receives the host's `Sim` state at its join tick, in parts, and plays on from there; inputs before that tick are not expected from it. A leave carries the host's view of the leaving peer's inputs, with zero inputs for ticks it never received, so the match continues without waiting for it. `Members` and `Active` report who takes part, and messages the transport cannot deliver yet, such as to a peer a relay has not announced, are retried in order; once 4096 wait for one peer, the session returns the new `ErrSessionBacklog` for it (#744). +- `game/net`: a replication epoch. `NewServerWorld` picks a random one, every snapshot carries it, and a `ClientWorld` that receives a complete full snapshot of a new epoch drops the old run's snapshots and predictions and continues from it without the game calling `Reset`, while late snapshots of an epoch it has left are ignored unless that epoch keeps sending, 32 snapshots in a row, which marks it as the live one. `ServerWorld.Epoch` and `SetEpoch` read and replace it, for example to start a new match with the ticks back at zero, and `ClientWorld.Epoch` returns the one the client follows (#745). +- `game/net`: `ReplicationVersion`, `ErrReplicationVersion`, `ClientWorld.Err` and `ServerWorld.PeerErr` report a peer that speaks another version of the replication wire protocol (#745). +- `game/idle`: a `Number` that reaches 10^(10^18) and is plain float64 arithmetic up to 1e300, offline progress from wall-clock timestamps with a minimum, cap, efficiency and rewound-clock protection, and large-number formatting in short (K/M/B, 万/亿), letter, scientific, engineering and full notations with English, Chinese and YAML-defined locales (#521). +- `game` command, run as `go tool game`, with `pack`, `audio`, `manifest`, `tex` and `editor` subcommands that share `-in`/`-out` flags, usage and exit codes, and `game help` listing them; it replaces the separate `gamepack`, `gameaudio`, `gamemanifest`, `gametex` and `gameeditor` commands (#452). +- `game/project`: `game.yaml`, the one project file holding a game's name, window and virtual resolution, input map, audio buses, autoloaded scenes and resources and per-platform export presets, kept in step with `nsgo.yaml`; the `gameproject` command (check, fmt, sync, targets), `editor.Editor.OpenProject`/`EditProject`/`SaveProject`, `sound.Mixer` default volumes, and the starter template and example games reading their settings from it (#488). +- `game/editor`: the 2D viewport fills its panel and pans and zooms through the editor's own view (`View2D`), separate from the scene's camera and never saved: the wheel, a pinch or a touchpad scroll with Control or Command held zooms about the pointer, a touchpad scroll, a mouse wheel's sideways scroll, middle-drag, Space-drag or two-finger drag pans, F and Home frame the selection or everything, and Mod+0 returns to the scene camera's view, whose frame and bounds the canvas outlines and which Play always shows; hit testing, placing, moving, painting and plugin tools go through the view (`CanvasToScreen`, `ScreenToCanvas`, `ScreenToWorld`, `WorldToScreen`) (#864). +- `game/particles`: emitter definitions are YAML files with a version field, refused unknown keys and deterministic output; `MarshalConfigYAML`/`UnmarshalConfigYAML` join the JSON codec, and `LoadConfigFile`, `LoadConfigFS`, `SaveConfigFile` and `HotConfig` reloads read and write YAML (#477). +- `game/particles`: GPU-friendly 3D particle emitter (`Emitter3D`), 3D spawn shapes (`Point3D`, `Sphere`, `Hemisphere`, `Box`, `Cone`, `Ring3D`), billboard orientation modes (`BillboardSpherical`, `BillboardCylindrical`, `BillboardStretched`), deterministic back-to-front radix depth sorting (`SortByDepth`), instanced GPU uploader and WGSL pipelines (`GPUParticles3D`, `NewParticlePipeline`), and versioned YAML/JSON config serialization for 10k+ particles in a single draw call (#280). +- `game/tilemap`: `LoadTiled` reads the collision shapes Tiled's collision editor draws on tiles (rectangles, polygons, polylines, and ellipses approximated by `EllipseShapeSegments` points) into `Tileset.Shapes`; `TileShapes` returns a placed tile's shapes flipped and rotated by its GID's flip bits (`TileShape.Flipped`), `TileRevision` and `TileChangesSince` now also track `SetCellFlags`, `ClearCellFlags` and `SetFlags` (which asks for a full rebuild), and `Flags`, `CellFlags` and `TileBox` expose a tile ID's flags, a cell's override and a tile's size (#846). +- `game/tileshape`: a `View` of a tilemap's chosen layers that is a `physics.TileGrid` for `MoveAndSlide`, `CharacterBody`, the platformer controller and `World`, derives `physics.Slope` segments from 45 degree, 2:1, 22.5 degree and half tiles, merges solid cells and tile shapes into an `Outline`, static `Boxes` and `lights2d` `Occluders`, and rebuilds only the 16 by 16 chunks around each tile change it reads from `Tilemap.TileChangesSince` (#846). +- `game/ai`: perception for agents on `game.Loop`'s fixed steps: sight cones with a peripheral range and an eye offset, line of sight through a callback with a `physics` raycast adapter, noises heard within a range scaled by loudness, per-stimulus memories with last known position and velocity, decaying strength and a forget time, team attitude filters, gained/updated/lost/forgotten events, and a per-step line-of-sight budget served round-robin in a fixed order (#834). +- `game/ai/perception3d`: the same perception for 3D agents on `math3d.Vec3`, with a `physics3d` raycast adapter (#834). +- `game/lights2d`: `LineOfSight` adapts occluders to `ai.LineOfSight`, so the walls that cast shadows also block an agent's sight (#834). +- `game/scene3d` and `game/render3d`: cameras on the GPU: `Camera.Eye`, `SetViewport` and `Lerp` (for drawing between `game.Loop` steps), and `render3d.CameraBuffer` with `CameraUniform` and `CameraWGSL`, a camera uniform block at bind group 0 for 3D pipelines, checked against perspective and orthographic reference renders made headless on NSGo's software GPU device (#115). +- `game/physics`: add `PrismaticJoint`, `WeldJoint`, `WheelJoint`, and `MouseJoint`, angle limits and motors on `RevoluteJoint`, rope/max-distance (`NewRopeJoint`, `MaxOnly`) and range (`MinLength`/`MaxLength`) modes on `DistanceJoint`, connected-body collision filtering (`CollideConnected`), reaction force/torque readouts (`ReactionForce`, `ReactionTorque`, `Broken`), break thresholds (`BreakForce`, `BreakTorque`, `JointBreakEvent`, `RigidWorld.OnJointBreak`, `RigidWorld.JointBreakEvents`), and full JSON snapshot/checksum support (#807). +- `game/physics`, `game/physics3d`: add per-body and per-character `GravityScale`, area overrides (`AreaSettings`) on 2D `Trigger`s and 3D trigger bodies for directional/point gravity (with priority, combine/replace/add modes, and distance falloff), linear/angular damping overrides, Archimedes buoyancy and fluid drag from submerged bounds, and character controller area-gravity integration (#819). +- `game/physics`, `game/platformer`: added `World.MoveAndSlide` and `World.MoveAndSlideWith` for multi-iteration shape-sweep sliding against static/kinematic bodies, solid and one-way tiles, and static `RigidBody` colliders with configurable up direction, floor angle and `MotionFloating` top-down mode, added `Body.OneWay` (with `WorldSnapshot`/`Checksum` support), and wired `CharacterBody.Move`/`MoveWorld` and `platformer.Controller.StepWorld` to use it alongside slopes and moving platforms (#806). +- `game/physics`: add JSON-serializable `Save`, `Restore`, and `Checksum` snapshots for `World` and `RigidWorld` capturing full private solver, joint, and trigger tracking state (#818). +- `game/physics3d`: add JSON-serializable `Save`, `Restore`, and `Checksum` snapshots for `World` capturing warm-start contact caches, sleep timers, previous poses, active contacts, all 7 joint types, and static/voxel colliders (#818). +- `game/vehicle`: add JSON-serializable `Save`, `Restore`, and `Checksum` snapshots for `Vehicle` (#818). +- `game/physics`, `game/physics3d`, `game/vehicle`: eliminate arm64 FMA contraction drift across stepped simulation paths and add cross-architecture golden trajectory hash tests plus `game/net` rollback `SimState` soak tests (#818). +- `game/physics`: add deterministic 2D shape casts (`ShapeCast`, `ShapeCastAll`, `ShapeCastLayer`, `ShapeCastAllLayer`, `ShapeCastWith`, `ShapeCastAllWith`, `ShapeCastShape`) on `World` and `RigidWorld` with analytic Minkowski and moving-SAT time-of-impact against bodies, oriented rigid bodies, and `TileGrid` / `TileGridOrigin` tiles (#812). +- `game/physics3d`: add deterministic 3D shape casts (`ShapeCast`, `ShapeCastAll`, `ShapeCastLayer`, `ShapeCastAllLayer`, `ShapeCastWith`, `ShapeCastAllWith`, `ShapeCastShape`, `TriMeshCollider.ShapeCast`, `HeightfieldCollider.ShapeCast`) returning `RaycastHit` against bodies, triangle meshes, heightfields, and voxel colliders (#812). +- `game/physics`, `game/physics3d`: deterministic XPBD particle and constraint solver (`SoftWorld`) with distance, bending, area/pressure, shape-matching, and tetrahedral volume constraints, two-way rigid-body attachments, world/tile/mesh/heightfield collision with layer filtering, rope/cloth/soft-body builders, and debug drawing (#820). +- `game/physics3d`: add `SwingTwistJoint` (wired into `BuildRagdoll`), generic `SixDOFJoint`, spring/position drives on `HingeJoint` and `SliderJoint`, per-joint reaction force/torque readouts, and breakable joint thresholds with `World.JointBreakEvents` / `World.OnJointBreak` (#821). +- `game/physics3d`: deterministic broadphase with separate static and dynamic AABB trees (`World.SyncBroadphase`), accelerating body-pair detection, raycasts, overlap queries, CCD sweeps, `WakeInBox`, and `CharacterController` moves across all 3D shapes, triangle meshes, and heightfields while remaining bit-identical to brute-force scans (#811). +- `game/physics3d`: `CharacterController` now tracks moving kinematic and dynamic ground bodies (`GroundBody`, `GroundVelocity`, `GroundYawDelta`, `Yaw`, `ApplyPlatformYaw`), carries the capsule through linear and angular platform motion, inherits or drops platform velocity via `PlatformOnLeave` (`PlatformLeaveAddVelocity`, `PlatformLeaveAddUpwardVelocity`, `PlatformLeaveDoNothing`), pushes out of encroaching kinematic geometry, and reports `Crushed` when squeezed between opposing surfaces (#813). +- `game/sceneformat`: extend built-in `body3d` (`trigger` kind, `layer`/`mask`, `physicsMaterial` path) and `collider3d`/`trigger3d` (`cylinder`, model-derived `convex` and static `trimesh`, terrain `heightfield`, local `rotX`/`rotY`/`rotZ`), with `BuildPhysics` creating matching `physics3d` bodies, triangle meshes (`TriMeshes3D`), and heightfields (`Heightfields3D`) (#902). +- `game/editor`: add `Gizmo3DCollider` size handles (`ColliderHandles3D`, shortcut `shift+c`) through the 3D gizmo API with single-step undo, draw wireframes for all 3D collider shapes (including cylinder, convex hull, triangle mesh, and heightfield), and add the **Fit to Model Bounds** button (`FitCollider3DToBounds`) in the Inspector (#902). +- `game/physics3d`: compound shapes (`ShapeCompound`, `CompoundShape`, `CompoundChild`) supporting multiple local-offset/rotated child shapes (including boxes, spheres, capsules, convex hulls, cylinders, and nested compounds) on one rigid body, with parallel-axis combined mass, `CenterOfMass`, and 3×3 `SymMat3` `InvInertiaTensor`, combined bounds, per-child contact/raycast/overlap child-index reporting, per-child trigger and collision layer/mask overrides, CCD/area/character/cover/XPBD integration, debug wireframe drawing, and bit-identical FMA-free `WorldSnapshot` save/restore (#809). +- `game/physics3d`: body-space inertia tensors (`DiagSymMat3`, `Body.InvInertiaTensor`, `Body.WorldInvInertiaTensor`), per-body overrides (`Body.SetInertia`, `Body.SetInertiaTensor`, `Body.SetCenterOfMass`), and implicit midpoint gyroscopic Euler torque integration so asymmetric spinning bodies exhibit intermediate-axis (Dzhanibekov) flips while symmetric boxes remain stable (#810). +- `game/physics3d`: multi-point contact manifolds with up to 4 clipped face contacts for box-box and convex hull/cylinder faces, up to 2 contacts for capsule-on-face pairs, persistent feature IDs, per-point warm starting and 3D Coulomb friction, and regularized active-set block LCP normal solving (#810). +- `game/gltf`: parse Godot-style collider node suffixes (`-col`, `-colonly`, `-boxcol`, `-boxcolonly`, `-spherecol`, `-spherecolonly`, `-capsulecol`, `-capsulecolonly`, `-convcol`, `-convcolonly`) and `extras.collider` metadata via `ParseNodeCollider`, `Node.IsDrawable`, `Document.DrawableNodes`, and `Document.ColliderNodes` (#816). +- `game/physics3d`: build static colliders from glTF primitives, meshes, and scenes (`NewTriMeshFromGLTFPrimitive`, `NewTriMeshFromGLTFMesh`, `NewTriMeshFromGLTFNode`, `BuildGLTFColliders`, `World.AddGLTFColliders`), build `HeightfieldCollider` from `image.Image` (`NewHeightfieldFromImage`), and greedily merge aligned 3D boxes along X, Z, and Y (`MergeBoxes`) (#816). +- `game/world3d`: create merged static `physics3d` bodies from `GridMap` cell `ColliderBoxes` (`GridMap.ColliderBoxes`, `GridMap.MergedColliderBoxes`, `GridMap.BuildStaticBodies`, `GridMap.AddCollidersToWorld`) and bridge `Heightmap` to `physics3d.HeightfieldCollider` via `Heightmap.Collider` (#816). +- `game/math3d`: `Transform.InverseMat4` returns the exact inverse matrix of any transform, including a non-uniform scale under a rotation, whose inverse shears and which `Transform.Inverse` cannot represent; the `Inverse` docs now say so (#546). +- `game/physics3d`: `DebugStyle.DepthZO` and `DrawLine3DZO` clip debug drawing at the near plane of a `[0, 1]` depth projection such as `math3d.Perspective`, `math3d.Ortho` or a `render3d` camera, as `render3d.ProjectSegment` does; the default stays the `[-1, 1]` near plane of `physics3d.Mat4Perspective` and `Mat4Ortho` (#546). +- `game/pixelfx/arcane`: ported all 12 pixelfx arcane effects (`arcane-beam`, `arcane-missiles`, `arcane-orb`, `blink-in`, `blink-out`, `magic-circle-cast`, `mana-burst`, `portal`, `rune-circle`, `spell-charge`, `star-fall`, `time-stop`) and their shared helpers to Go with parity tests and `game pixelfx` CLI registration (#757). +- `game/pixelfx`: a Go port of pixelfx's core at commit `5294518`, under its MIT license: frames with additive light and `Composite`, the `Painter`, seeded `Rng` and noise, closed-form and simulated particles, colors and palettes, the two pixel fonts, the acting system (`Rig`, `Pose`, `Act`, `Perform`, `ActTiming`, `Chain`), the effect registry with options for placement, flip, angle, seed, palette and light, sprite sheet export as Aseprite JSON for `sprite.LoadAtlas` (`Render`, `RenderAct`, `Frames.Sheet`), and `Image` and `View` to show frames in NSGo scaled up without smoothing (#756). +- `game/pixelfx/fire`, `game/pixelfx/explosions`, `game/pixelfx/impacts` and `game/pixelfx/moves`: the torch, the small explosion, the ground slam and the ground pound, each tested frame by frame against pixelfx's own render (#756). +- `game pixelfx` renders a pixelfx effect, or the effect acted out, to a PNG sprite sheet and its Aseprite JSON, with `-set` for the effect's options and `-list` for the effects (#756). +- `game/pixelfx/critters`: port all twelve pixelfx critters effects (`bat`, `bird`, `butterfly`, `eyeball`, `fish-school`, `flying-skull`, `frog`, `ghost`, `jellyfish`, `slime`, `snake`, `wisp`) and the category's creature kit to Go, registered under `"critters/"`, checked against references rendered by pixelfx and wired into `game pixelfx` (#758). +- `game/pixelfx/explosions`: ported the rest of pixelfx's explosions category (`barrel-explosion`, `big-explosion`, `cartoon-pow`, `dirt-explosion`, `firework-burst`, `firework-rocket`, `grenade`, `implosion`, `nuke`, `plasma-explosion`, `smoke-bomb`) and its shared helpers (fire balls, rolling plume and column, crater, scorch, molten rocks, updrafts) to Go, beside the small explosion, with parity tests against frames pixelfx rendered (#759). +- `game/pixelfx/fire`: ported the rest of pixelfx's fire category (`brazier`, `campfire`, `candle`, `fire-breath`, `fire-ring` with its act, `fire-tornado`, `fireball`, `flame-pillar`, `flamethrower`, `meteor`, `spirit-flame`) alongside `torch`, with parity tests against pixelfx's own frames (#760). +- `game/pixelfx/holy`: ported all 10 pixelfx holy effects (`blessing`, `divine-shield`, `feather-burst`, `halo`, `heal`, `heal-aoe`, `holy-pillar`, `resurrection`, `smite`, `sunburst`) and the category's shared helpers (silhouette recolors, floor ovals, feathers of light, plus signs) to Go, with parity tests against pixelfx and `game pixelfx` CLI registration. `divine-shield`'s `radius`, `heal-aoe`'s `reach`, `sunburst`'s `rays` and `holy-pillar`'s `shafts` are held to a finite range, so a negative, infinite or NaN value renders instead of hanging (#777). +- `game/pixelfx/ice`: ported all 10 pixelfx ice effects (`blizzard-vortex`, `freeze`, `frost-breath`, `frost-nova`, `ice-crystal`, `ice-lance`, `ice-shatter`, `ice-spikes`, `icicle-fall`, `snowflake-burst`) and the category's shared helpers (tumbling panes of ice, ice blades, snowflakes, cracks) to Go with parity tests, and registered them with `game pixelfx` (#761). +- `game/pixelfx/impacts`: port the rest of pixelfx's impacts category (`blunt-hit`, `bullet-impact`, `crit-hit`, `heavy-landing`, `hit-flash`, `hit-spark`, `impact-frame`, `parry`, `ricochet`, `shield-block`) to Go next to `ground-slam`, registered under `"impacts/"` and rendered by `game pixelfx` (#762). +- `game/pixelfx/lightning`: port all 11 pixelfx lightning effects (`ball-lightning`, `chain-lightning`, `charge-up`, `electrified`, `lightning-strike`, `plasma-ball`, `spark-arc`, `storm-cloud`, `tesla-coil`, `thunderclap`, `zap-hit`) to Go, registered under `"lightning/"` and wired into `game pixelfx` (#763). +- `game/pixelfx/melee`: ported all 12 pixelfx melee effects (`claw-swipe`, `dagger-flurry`, `double-slash`, `hammer-smash`, `heavy-cleave`, `scythe-reap`, `spear-sweep`, `spin-slash`, `sword-slash`, `thrust`, `uppercut`, `whip-crack`) to Go, with their size options (`radius`, `reach`, `length`) kept between 1 and 416 px, each with its act for the stock character, the category's swing, slash, crack, rock and star helpers, parity tests against pixelfx's own frames, and `game pixelfx` CLI registration (#764). +- `game/pixelfx/moves`: ported pixelfx's `arrow-shot`, `earth-stomp`, `pistol-shots` and `rocket-launcher` moves beside `ground-pound`, each acted out by the stock character with its hits, dust and target, chaining the projectiles, explosions, impacts and nature effects, and verified frame by frame against pixelfx's own renders, plain, mirrored and acted out (#765). +- `game/pixelfx/moves`: ported pixelfx's remaining seven moves (`dash-strike`, `fireball-throw`, `holy-smite`, `ice-lance-throw`, `lightning-call`, `meteor-call` and `sword-combo`), completing all 12 moves in the category (and all 244 pixelfx effects), verified frame by frame against pixelfx's own renders, plain, mirrored and acted out (#765). +- `game/pixelfx/nature`: ported pixelfx's 13 nature effects (`acid-splash`, `boulder`, `earth-spike`, `healing-bloom`, `leaf-storm`, `poison-cloud`, `quake`, `root-snare`, `spore-burst`, `thorns`, `tornado`, `toxic-puddle`, `vine-whip`) and shared nature helpers to Go, wired them into `game pixelfx`, and added parity and determinism tests (#766). +- `game/pixelfx/pickups`: port pixelfx's 11 pickups effects (`chest-open`, `coin-spin`, `collect-burst`, `crystal-shard`, `gem-spin`, `heart-pickup`, `key-glint`, `loot-beam`, `potion`, `power-star`, and `xp-orb`) with reference parity tests and `game pixelfx` CLI registration (#767). +- `game/pixelfx/projectiles`: ported all 13 effects from pixelfx's `projectiles` category (`arrow`, `bullet-tracer`, `cannonball`, `energy-disc`, `flare`, `homing-missile`, `laser-bolt`, `magic-missile`, `muzzle-pistol`, `muzzle-shotgun`, `muzzle-smg`, `plasma-shot`, `rocket`), registered in `game pixelfx` and verified frame by frame against pixelfx's own renders (#768). +- `game/pixelfx/scifi`: ported all 12 sci-fi effects from pixelfx (`emp-blast`, `energy-core`, `force-field`, `glitch`, `hologram`, `jetpack`, `laser-grid`, `scanner`, `teleporter-pad`, `tractor-beam`, `warp-in`, `warp-out`) with reference parity tests, determinism tests, benchmarks, and `game pixelfx` CLI registration (#769). +- `game/pixelfx/shadow`: ported all 12 pixelfx shadow category effects (`black-hole`, `curse`, `dark-explosion`, `eclipse`, `grasping-hands`, `hex-sigil`, `life-steal`, `necro-skulls`, `shadow-flames`, `shadow-tendrils`, `soul-drain`, `void-orb`) with pixel parity tests against upstream pixelfx and wired them into `game pixelfx` (#770). +- `game/pixelfx/spawn`: port all 10 pixelfx spawn and death effects (`spawn/coin-drop`, `spawn/disintegrate`, `spawn/dissolve-burn`, `spawn/egg-hatch`, `spawn/poof`, `spawn/respawn-beam`, `spawn/shatter-death`, `spawn/soul-rise`, `spawn/spawn-portal`, and `spawn/summon-rise`) to Go with reference parity tests and `game pixelfx` CLI registration (#771). +- `game/pixelfx/status`: ported pixelfx's 13 status effects (`bleeding`, `burning`, `charmed`, `confused`, `cursed`, `frozen`, `haste`, `petrified`, `poisoned`, `rage`, `sleep`, `slowed`, `stunned`) with parity and determinism tests and wired them into `game pixelfx` (#772). +- `game/pixelfx/transitions`: ported pixelfx's 10 screen transition effects (`blinds`, `burn-away`, `crt-off`, `diamond-wipe`, `glitch-wipe`, `iris`, `pixel-dissolve`, `shatter-wipe`, `slash-wipe`, `star-iris`) with `Painter.Clipped` local-space clipping and parity tests, wired into `game pixelfx` (#773). +- `game/pixelfx/ui`: port pixelfx's 12 UI effects (`achievement`, `coin-collect`, `combo-counter`, `confetti`, `countdown`, `crit-number`, `damage-number`, `exclamation`, `health-bar-hit`, `heart-lost`, `level-up`, `quest-complete`) to Go with pixel parity tests against the pinned upstream references and `game pixelfx` CLI support (#774). +- `game/pixelfx/water`: port all twelve pixelfx water effects (`bubbles`, `drip`, `fountain`, `geyser`, `rain-splash`, `ripples`, `splash`, `water-jet`, `water-orb`, `waterfall`, `wave-crash`, `whirlpool`) to Go, registered under `"water/"` and wired into `game pixelfx` (#775). +- `game/pixelfx/weather`: ported all 12 pixelfx weather effects (`aurora`, `blizzard`, `cherry-blossoms`, `clouds`, `falling-leaves`, `fireflies`, `fog`, `god-rays`, `rain`, `shooting-stars`, `snow`, `storm`) and shared helpers to Go with parity tests and `game pixelfx` CLI registration (#776). +- `game/editor`: models go into the 3D viewport from the asset browser. The browser lists the built-in primitives and the project's `.gltf` and `.glb` models, the outputs of `game assets` model targets included, with thumbnails rendered offscreen on the software GPU (`Models`, `ModelThumbnail`); pressing one picks it for the Place tool (`SelectModel`), which in 3D adds an object drawing it where the pointer's ray meets the scene's geometry, or the ground plane at a chosen height, resting on it and optionally snapped to the grid on the ground plane and aligned to the surface (`PlacementAt3D`, `PlaceModelAt3D`, `SetPlaceOptions3D`). Dragging a model onto the viewport places it where it is dropped, and a `.glb` or `.gltf` file dropped from another app is placed when it lies inside the project (`DropModelFiles`). Each placement is one undoable step. The 3D inspector's Model field picks one of the project's models (`ProjectModels`, `SetObjectModel`) (#893). +- `examples/caverun`: plays with held keyboard keys and game controllers through `input.Actions` (`WatchKeys`, `WatchGamepads`, an analog left stick with a dead zone, Start to start or pause, Back to restart) beside touch and the mouse, replacing the key-down timers that approximated held keys (#8). +- `examples/caverun`: a 1000-firefly stress swarm (`F`, North, or the pause menu) drawn with one `DrawAtlas` and moved without allocating, a HUD sprite count, `BenchmarkLevel1000Sprites`, and headless tests that play the level to the end with the HUD buttons, the keyboard, a game controller and the swarm on (#8). +- `examples/caverun`: a README with a screenshot that a test keeps current, the controls, how to start a game with the package, and the performance measurements so far (#8). +- `game/playtest`: built-in deterministic bot profiles for top-down exploration (`topdown-explorer`), shoot-'em-ups (`shooter`), puzzle solving and human-like undo play (`puzzle-solver` with `SolvePuzzleBFS`, `EvaluatePuzzlePack`, and `NewPuzzlePackSim`), and 1-turn-lookahead card duels (`card-ai` with `RunCardTournament` and `NewCardTournamentSim`), plus optional `Series` bar charts and `Matrices` matchup grids on `playtest.Report` (#1045). +- `template`: canonical `playtest.yaml` files in `rpg2d`, `shmup2d`, `puzzle2d`, and `cards2d` templates matching each template's bot profile (#1045). +- `game/playtest`: add versioned `playtest.yaml` configuration and published JSON Schema (`playtest.v1.json`), deterministic YAML report format (`playtest.report.yaml`), per-run metrics `Collector` API (positioned events, counters, timers and perf readout), headless runner recording per-seed `.replay.yaml` files, and the `platformer-runner` bot profile with human reaction jitter (#1043). +- `game/cmd/game`: add `nsgo game playtest` (also `go tool game playtest`) to validate `playtest.yaml`, run headless playtests via `playtest.RunTest`, save per-seed recordings, write the YAML report and fail on missed goals (#1043). +- `game/editor/editormcp`: add `game_playtest` and `playtest_define` MCP tools, with `playtest_define` queuing canonical `playtest.yaml` diffs as pending reviews (`PlaytestReviews`, `ApplyPlaytestReview`, `DismissPlaytestReview`) without modifying disk until reviewed (#1043). +- `game/procgen`: hand-made YAML room templates (`ParseRoomTemplates`, `EncodeRoomTemplates`), dungeon layout graphs with critical path, branches, loops and reachable lock/key progression (`GenerateGraph`), and deterministic stitch and Spelunky-style grid-of-rooms placement (`GenerateRooms`, `PlaceRooms`) (#856). +- `game/quality`: low, medium and high presets (resolution scale, particle budget, effects, shadows) picked from the device class and measured frame times, adapted while on auto and overridable through `save.DisplaySettings.Quality`, with a versioned YAML config; `Loop.FrameTime`, `lights2d.Scene.DisableShadows` and `world3d.QualityLevelFor` wire it in (resolution scale is a value for games to apply to buffers they size; nothing in this repository applies it yet), and Starburst starts low-end Android phones on the low preset (#540). +- `game/quest`: quests with collect, reach, defeat and talk objectives, prerequisites, ordered and optional objectives and rewards, defined in a versioned YAML book, advanced by `flow.Bus` events and saved as a snapshot that round-trips through `save.Store` (#518). +- `game/render3d`: hardware MSAA offscreen render target management (`AAMode`, `ClampSampleCount`, `MSAATarget` with `Resize`, `ColorAttachment`, `DepthStencilAttachment`, `KeepDepth`, `OutputTexture`, and device-loss `Retained` support) and FXAA 3.11 full-screen post-processing (`FXAAOptions`, `FXAAPass`, `FXAAWGSL`, and CPU reference `ApplyFXAA`) compatible with both full and `NoGPUCompute` GPU profiles (#249). +- `game/gltf`: add `MaterialLightmap`, `PrimitiveLightmapUVs`, `Document.LightmapTexCoords`, and `LightmapRef` to extract baked lightmap bindings (`MOZ_lightmap`, `EXT_lightmap`, `extras.lightmap`, `KHR_texture_transform` scale and offset, and `TEXCOORD_1` with `TEXCOORD_0` fallback), and accept `MOZ_lightmap` and `EXT_lightmap` in `extensionsRequired` (#258). +- `game/render3d`: add baked lightmap rendering (`LightmapVertex`, `LightmapMesh`, `GPULightmapMesh`, `UploadLightmapMesh`, `LightmapMaterial`, `UVTransform`, `LightmapRenderer`, `UploadLightmapRGBA16F`, and RGBM/RGBD HDR encode/decode helpers) supporting dual UV sets, shared lightmap atlases, linear/sRGB/RGBM/RGBD encodings, ambient fallback, and an additive `DirectionalLight`, with output encoded to sRGB like the lit PBR pipelines (#258). +- `game/render3d`: `Uploader` decodes and packs meshes, textures and raw buffers or textures on background goroutines and streams their GPU writes across frames in `Step` under a `BytesPerFrame` budget that can change at runtime. `QueueMesh`, `QueueTexture` and `QueueTexturePixels` take the `MeshUpload` and `TextureUpload` options of the synchronous uploads and deliver the same `GPUMesh` and `GPUTexture`; uploads run in priority order, and an `UploadHandle` reports progress and cancels (#387). +- `game/gltf`: parse and validate `KHR_materials_clearcoat` (`Material.Clearcoat`) and `KHR_materials_transmission` (`Material.Transmission`), including `texCoord`, normal `scale`, and `KHR_texture_transform` on all extension texture references, and accept both extensions in `extensionsRequired` (#264). +- `game/render3d`: extend `Material`, `PBRMaterial`, `EvaluateMaterial`, `EvaluatePBR`, and `ShadePoint` with clearcoat, transmission, and IOR support; add `ExtendedMaterialDefaults`, `GPUExtendedMaterial`, per-frame `TransmissionBackground` (with `DynamicResolutionTarget` UV scaling), `NewExtendedMaterialPipeline`, and `UploadGLTFExtendedMaterials` for glTF emissive strength, clearcoat, and transmission rendering (#264). +- `game/render3d`: clustered forward shading for hundreds of point and spot lights. `ClusteredLightSystem` takes a `GPULightBuffer`'s place at `LightGroup`, uploads the same `LightRig` and adds `ClusterLight`s (`ClusterLightFromPoint`, `ClusterLightFromSpot`) binned by `ClusterGrid`, shaded with the same PBR BRDF through `NewClusteredLitPBRPipeline` / `ClusteredLitWGSL` or `shade_pbr_clustered` in custom shaders. On WebGL 2 and OpenGL ES 3.0 it falls back to the 16 most important visible lights in a uniform buffer (#382). +- `game/render3d`: cascaded shadow maps for the first directional light of a `LightRig` (`CascadedShadowMap`, `CSMConfig`, `ComputeCSMSplits`, `FitCascades`, `FitCascadesFromCamera`, `CSMWGSL`, `CSMWGSLForGroup`, `LitPBRCSMWGSL`, `NewLitPBRCSMPipeline`, `LitPBRPipelineOptions.CSMLayout`, and the CPU reference `EvaluateCSMShadow`), packing up to four texel-snapped cascades into one 2D depth atlas at bind group 3 with hard or 3x3 PCF filtering, cascade blending, a far fade and `Retained` device-loss support (#257). +- `game/render3d`: custom WGSL and Kage 3D shader materials (`CustomMaterial`, `CustomShaderDesc`, `ShaderParamDesc`, `ComputeUniformLayout`, `CompileCheck`) with deterministic std140 uniform packing, typed parameter setters, fallback 1×1 textures, `Retained` device-loss restoration, and cross-backend compilation verification. `DrawLayout` and `ExtraLayout` give a custom material a per-draw model matrix and lights, and `LightWGSLForGroup` declares the scene lights in another bind group (#263). +- `game/render3d`: directional, point, and ambient lights in glTF 2.0 metallic-roughness PBR shading (`DirectionalLight`, `PointLight` with `KHR_lights_punctual` smooth range windowing, `AmbientLight`, `LightRig`, `LightUniforms`, `GPULightBuffer` at bind group 1 with `Retained` device-loss recovery, `LightWGSL`, `LitPBRWGSL`, `PBRMaterial`, `PBRDrawBuffer`, `NewLitPBRPipeline`, and matching CPU reference evaluators `EvaluatePBR`, `ShadePoint`, `PointLightAttenuation`, and `LinearToSRGB`), verified pixel-for-pixel against CPU PBR math and checked-in reference renders (#116). +- `game/render3d`: directional light shadow mapping (`DirectionalShadowConfig`, `ShadowMapOptions`, `DirectionalShadowMap`, `ShadowUniforms`, `AppendShadowUniforms`, `ShadowDepthWGSL`, `ShadowWGSL`, `ShadowWGSLForGroup`, and the CPU reference `EvaluateDirectionalShadow`) with `FitBounds` orthographic framing, texel snapping that keeps shadow edges still as the framing moves, hard 1-tap and 3x3 PCF comparison filtering, dynamic multi-caster shadow passes, and `Retained` device-loss recovery. The lit PBR pipeline takes the shadow at bind group 3 (`LitPBRShadowWGSL`, `NewLitPBRShadowPipeline`, `LitPBRPipelineOptions.ShadowLayout`), attenuating the `LightRig`'s first directional light, with `ShadePointShadowed` as its CPU reference (#117). +- `game/render3d`: distance (`FogOff`, `FogLinear`, `FogExp`, `FogExp2`) and analytical exponential height fog (`Fog`, `Fog.Factor`, `Fog.Apply`, `FogCameraPos`), allocation-free `FogUniforms`/`AppendFogUniforms`, a scope-owned `GPUFogBuffer` that survives device loss when retained, fogged lit pipelines (`NewLitPBRFogPipeline` with the buffer at `FogGroup`, and `NewMaterialPipeline` with `MaterialPipelineOptions.FogLayout` at `MaterialFogGroup`), and the `FogWGSL`, `FogBindingWGSL`, `MaterialFogBindingWGSL` and `FogCameraWGSL` shader snippets (#254). +- `game/render3d`: dynamic resolution scaling (`DynamicResolutionScaler`, `DynamicResolutionTarget`, `DynamicResolutionConfig`) that adapts 3D render scale from GPU frame time or pass timings with hysteresis and upscales a sub-viewport offscreen target onto the native surface while keeping HUD overlays at native resolution (#383). +- `game/render3d`: map glTF 2.0 materials, textures, images, and samplers onto `render3d`'s metallic-roughness PBR model via `UploadGLTFMaterials`, `GLTFMaterialSet`, `GLTFMaterialInfo`, `GLTFTextureSlot`, `SamplerOptionsFromGLTF`, and `AlphaModeFromGLTF` with automatic sRGB/linear color-space separation, `(imageIndex, sRGB)` texture deduplication, glTF default samplers, `KHR_materials_variants` and `KHR_materials_emissive_strength`, `Retained` device-loss restore, and a check of the Khronos `DamagedHelmet` render against its own textures (#119). `MaterialWGSL` does not apply `KHR_materials_unlit`, `KHR_texture_transform` or UV sets other than `TEXCOORD_0`; `GLTFMaterialInfo.Unsupported()` and `GLTFTextureSlot.NeedsUVBake()` report materials that use them. +- `game/gltf`: `Material.EmissiveStrength()` reads `KHR_materials_emissive_strength`, which a file may now list in `extensionsRequired` (#119). +- `game/render3d`: GPU skeletal skinning (`SkinnedMesh`, `GPUSkinnedMesh`, `SkinnedVertexLayout`, `SkinnedMeshFromGLTF`, `SkinnedMeshesFromGLTFNode`, `GPUSkinPalette`, `SkinJointMatrices`, `AppendJointMatrices`, `SkinVertex`, `SkinnedBounds`, `SkinWGSL`, and `NewSkinnedMeshPipeline`) with up to 128 joints in a portable 8 KiB uniform buffer, weight normalization, joint bounds validation, and `Retained` device-loss recovery. Skinned meshes also draw with scene lights (`LitPBRPipelineOptions.SkinLayout`) or a glTF material (`MaterialPipelineOptions.SkinLayout`), and `GPUSkinPalette.UpdateWithTransform` uploads anim3d's mesh-local joint matrices (#121). +- `game/render3d`: HDR rendering and tone mapping. `HDRTarget` is an offscreen `gpu.FormatRGBA16Float` target (falling back to `RGBA8Unorm` where half floats are unsupported), and `ToneMapPass` resolves it to the display with exposure (`ExposureFromEV`), a tone-mapping curve (`ToneMapNone`, `ToneMapReinhard`, `ToneMapACES`, `ToneMapNeutral`, `ToneMapAgX`) and exact sRGB or power-law gamma encoding, with `ApplyToneMap` as its CPU reference. `LitPBRPipelineOptions.LinearOutput` (through the new `NewLitPBRPipelineWithOptions`) and `MaterialPipelineOptions.LinearOutput` make the lit PBR and material shaders write linear HDR radiance for it, and `ToneMapPass.DrawDynamicResolution` tone-maps a `DynamicResolutionTarget`'s scaled viewport. `SRGBToLinearChannel` and `SRGBToLinear` invert `LinearToSRGBChannel` and `LinearToSRGB` (#250). +- `game/render3d`: linear floating-point HDR environment cubemaps (`HDRCubemap`, `HDRImage`, `DecodeHDR`, `EncodeHDR`, `CubemapFromHDR`, `CubemapFromHDREquirectangular`, `GradientSkyHDRCubemap`, `HDRCubemapFromCubemap`, `ComputeIrradianceSHHDR`, `PrefilterEnvironmentHDR`, `EvaluateIBLHDR`, `UploadCubemapHDR` uploading `gpu.FormatRGBA16Float`), optional tone-mapped skybox output (`SkyboxPipelineDesc.ToneMap`, `SkyboxToneMapWGSL`), textured glTF PBR material IBL rendering (`MaterialIBLGroup`, `MaterialIBLWGSL`, `MaterialIBLLinearWGSL`, `NewMaterialIBLPipeline`, `EvaluateMaterialIBL`), and Khronos `DamagedHelmet` HDR skybox & IBL reference tests across full and `NoGPUCompute` profiles (#253). +- `game/render3d`: shadows for the first spot light and the first point light of a `LightRig` (#255). `SpotShadowMap` renders a perspective depth map and `PointShadowMap` packs the six cube faces into one 3x2 depth atlas, both updated from the rig's `SpotLight` / `PointLight`, with hard or 3x3 PCF filtering, depth and normal bias, several casters per pass, and `Retained` device-loss recovery. `LitPBRSpotShadowWGSL` / `LitPBRPointShadowWGSL` (`NewLitPBRSpotShadowPipeline`, `NewLitPBRPointShadowPipeline`, or `LitPBRPipelineOptions.SpotShadowLayout` / `PointShadowLayout`) draw lit PBR meshes with the shadow at bind group 3; `SpotShadowWGSL` / `PointShadowWGSL` and their `ForGroup` variants add the shadows to custom shaders, `shade_pbr_visibility` in `LightWGSL` and `ShadePointVisibility` scale the shadowed lights, and `EvaluateSpotShadow` / `EvaluatePointShadow` are the CPU references. +- `game/render3d`: glTF 2.0 metallic-roughness PBR materials on the NSGo GPU view (`Material` / `MetallicRoughnessMaterial`, `AlphaMode`, `MaterialDefaults`, `MaterialUniforms`, `GPUMaterial`, `MaterialBindingsWGSL`, `MaterialWGSL`, `NewMaterialPipeline`, and CPU reference `EvaluateMaterial`) with base color, metallic-roughness (G=roughness, B=metallic), tangent-space normal, occlusion, and emissive maps, shared 1×1 fallback textures under a single `MaterialGroup` (group 1) bind group layout, zero-allocation uniform encoding, dynamic `Update`, `Retained` device-loss recovery, and golden reference renders (#113). +- `game/render3d`: feed baked lightmaps (`LightmapVertexLayout`, `LightmapEncoding`, atlas `UVTransform`, `MOZ_lightmap` / `EXT_lightmap` / `extras.lightmap`) into the lit metallic-roughness PBR material path via `PBRLightmapWGSL`, `NewPBRLightmapPipeline`, `GPUPBRLightmap`, `EvaluatePBRLightmap`, `LightmapMeshFromGLTF`, and `UploadGLTFPBRLightmaps` (#752). +- `game/render3d`: draw glTF `COLOR_0` linear RGBA vertex colors in the metallic-roughness and lit PBR pipelines via `MaterialPipelineOptions.VertexColors` (`MaterialColoredWGSL`) and `LitPBRPipelineOptions.VertexColors` (`LitPBRColoredWGSL` and its fog, IBL, shadow, and CSM variants), with matching CPU reference support in `EvaluateMaterial` (`MaterialEvalInput.VertexColor` / `HasVertexColor`) and `PBRMaterial.WithVertexColor` (#751). +- `game/render3d`: composable 3D post-processing via offscreen `gpu.RenderTarget` passes (`PostStack3D`, `BloomPass`, `SSAOPass`, `DepthOfFieldPass`) supporting HDR bright-extract + separable Gaussian Bloom, depth-reconstructed SSAO with bilateral blur, and depth-aware disc bokeh Depth of Field across full and compute-free (`WebGL 2` / `GLES 3.0`) NSGo GPU profiles (#282). +- `game/render3d`: local reflection probes (`ReflectionProbe`, `ReflectionProbeSet`, `ProbeBlendResult`, `BoxProjectDirection`, `BakeReflectionProbe`, async `BakeReflectionProbeGPU`) backed by `Cubemap`/`GPUCubemap` and `PrefilterEnvironment`, plus light probes (`LightProbe`, `LightProbeGrid`, `LightProbeVolume`, `ComputeIrradianceSHFromFunc`) backed by `IrradianceSH`, wired into `LitPBRWGSL` at `IBLGroup` via `ProbeIBLUniform`, `GPUProbeIBLBuffer`, `ProbeIBLWGSL`, `LitPBRProbeIBLWGSL`, `NewLitPBRProbeIBLPipeline`, and CPU reference `EvaluateProbeIBL` (#384). +- `game/render3d`: offscreen render-to-texture targets (`RenderTexture`, `NewRenderTexture`, `RenderTexture.GPUTexture`, `Resize`, `Retained` device-loss support, optional depth and 4x MSAA resolve), per-camera layer mask filtering (`LayeredDrawItem`, `LayerMatches`, `FilterLayeredItems`, `FilterNodesByLayer`), normalized split-screen viewports (`ViewportRect`, `PixelViewport`, `SplitScreenHorizontal`, `SplitScreenVertical`, `SplitScreenQuad`), and multi-camera `ViewportRenderer` orchestration (#381). +- `game/render3d`: cubemap skybox (`Cubemap`, `CubemapFromImages`, `CubemapFromEquirectangular`, `GradientSkyCubemap`, `GPUCubemap`, `UploadCubemap`, `SkyboxPipeline`, `SkyboxWGSL`) and low dynamic range image-based lighting (`IrradianceSH`, `ComputeIrradianceSH`, `PrefilterEnvironment`, `GenerateBRDFLUT`, `EnvBRDFApprox`, `EvaluateIBL`, `GPUIBLBuffer`, `IBLWGSL`, `LitPBRIBLWGSL`, `NewLitPBRIBLPipeline`) with retained device-loss recovery and CPU/GPU reference tests (#253). +- `game/render3d`: spot lights with inner and outer cones in `LightRig` (`SpotLight`, `MaxSpotLights`), shaded by `shade_pbr` / `ShadePoint` together with the directional and point lights in the same pass and following glTF `KHR_lights_punctual` cone and range falloff (`SpotConeAttenuation`, `SpotLight.ConeScaleOffset`, `SpotLight.Attenuation`) (#252). +- `game/render3d`: `GPUTexture`, `PixelBuffer`, `UploadTexture`, `UploadTexturePixels`, `GPUSampler`, `SamplerOptions` presets, `TextureBindingLayout`, and `BindTexture` for uploading images and raw pixel buffers (RGBA8 linear/sRGB, RG8, R8) with CPU linear-light mipmap generation, filtering, wrapping, dynamic updates, and device-loss retention (#114). +- `game/render3d`: add cel/toon shading (`ToonMaterial`, `GPUToonMaterial`, `ToonLight`, `ToonWGSL`, `ToonOutlineWGSL`, `NewToonPipeline`, `NewToonOutlinePipeline`, `ToonRenderer`, `SmoothOutlineNormals`, `EvaluateToon`) with discrete diffuse bands or 1D cel-ramp textures, stepped specular and Fresnel rim highlights, and `CullFront` inverted-hull outlines, lit by a `DirectionalLight` key light and `AmbientLight` fill (`ToonLightFromRig`) and sharing `MaterialDefaults` fallbacks (#262). +- `game/render3d`: add `KHR_materials_unlit` unlit materials (`UnlitMaterial`, `GPUUnlitMaterial`, `UnlitWGSL`, `NewUnlitPipeline`, `EvaluateUnlit`, `UnlitMaterialFromGLTF`, `UploadGLTFUnlitMaterial`) and `COLOR_0` linear RGBA vertex-color meshes (`ColoredMesh`, `GPUColoredMesh`, `ColoredVertexLayout`, `ColoredMeshFromGLTF`) sharing `AlphaMode`, `MaterialGroup`, `MaterialUpload`, `GLTFMaterialUpload` and the per-device `MaterialDefaults` (new `MaterialDefaults.UnlitLayout`) with the metallic-roughness materials, with alpha mask/blend modes, double-sided culling, `LinearOutput` for HDR targets, and `Retained` device-loss recovery, checked against the Khronos `UnlitTest` sample (#260). +- `game/liveops`: `CloudSyncer` detects save slots changed both locally and in the cloud since the last sync and resolves them by policy (newest, keep both as a fork slot, or ask the player with a summary of each and apply the answer later with `Resolve`), with revisioned JSON cloud payloads, `save.ValidateSlot` for names from outside the game, and an `Unwrap` method that settings stores see through (#539). +- `game/presence`: rich presence on Steam (Steamworks `ISteamFriends` via purego) and Discord (pure Go local IPC v1 over Unix domain sockets and Windows named pipes) behind a provider-neutral `Activity` and `Manager` with level updates, deduplication, rate limiting and graceful degradation (#538). +- `game/physics`: kinematic rigid bodies (`RigidBody.Kinematic`, `SetTargetPose`) that push and carry dynamic bodies, sensor rigid bodies (`RigidBody.Sensor`, `RigidWorld.SensorEvents`, `OnSensor`), solid and one-way tile collision for rigid bodies without seam snags (`RigidWorld.Tiles`, `TileLayer`, `TileMask`, `TileFriction`, `TileRestitution`), raycast, point, overlap and tile-aware shape-cast queries on `RigidWorld` with `QueryMask`/`LayerMask` filtering (`Raycast`, `RaycastFirst`, `QueryPoint`, `QueryOverlap`, `QuerySensors`, `RigidBody.WorldShape`, `RigidBody` on `RaycastHit` and `OverlapHit`), and deterministic begin/end contact events with point, normal and approach speed (`RigidWorld.ContactEvents`, `OnContact`), all saved in `RigidWorldSnapshot`, which marks tiles it cannot save with `CustomTiles` (#805). +- `game/physics`: `RigidWorld` finds contact pairs with a deterministic sort-and-sweep broadphase that reports the same contacts, in the same order, as the old pass over every pair (#804). +- `game/physics`: contact impulses are cached per pair and feature across steps and warm-start the solver, and manifolds keep points of an overlapping pair up to 1 px apart, so stacks stand and settle with the default iterations (#804). +- `game/physics`: islands of rigid bodies connected by contacts and joints sleep after resting for `RigidWorld.TimeToSleep` below `SleepLinearThreshold` and `SleepAngularThreshold`, and wake on `RigidBody.Wake`, forces, impulses, edits to their pose or velocity, contact or a joint with an awake body, removal or movement of a static body they rest on, and changes to their area's gravity, damping or fluid, and bodies a `MouseJoint` holds or a joint motor drives stay awake; `RigidBody.Sleeping` reports the state and `RigidWorld.DisableSleep` turns it off (#804). +- `game/physics`: fast rigid bodies, and every body with `RigidBody.Bullet` set, are swept against static bodies by time of impact and stop at the first surface instead of passing through thin walls (#804). +- `game/physics`: `RigidWorldSnapshot` saves sleep state, sleep settings and the warm-start contact cache (#804). +- `game/rooms`: versioned YAML room maps (also built from LDtk levels or Tiled rectangles) and a `Director` that clamps the camera to the room the player enters and plays its cut, slide or fade transition (#523). +- `game` and every library package under it: runnable `Example` functions in `example_test.go`, shown with each package's Go doc and checked against their `// Output:` by `go tool nsgo test`, except examples that need an outside service or a running test, which are only compiled; commands (`package main`, such as `cmd/*` and `server/cmd/dedicatedserver`) and internal packages have none (#502). +- `game/scene`: add `Overlay3D`, `Scene.DrawScreenLayers`, and `ProjectToOverlay` to draw 2D sprite batches and screen-space layers in a transparent `core.Canvas` stacked over a 3D `gpu.View` (#124). +- `game/editor`: the editor switches between a project's scenes without a restart: the file browser opens a scene (`OpenScene`, its Open button or a double press), and the toolbar's File menu makes a new minimal scene under the project (`NewScene`), saves the scene under another path (`SaveSceneAs`) and reverts it to its file as an undoable step (`RevertScene`). `SceneDirty` and `HasUnsavedChanges` report unsaved edits by comparing encodings, so undoing back to the saved state clears them; the toolbar shows the scene's path with a marker while edits are unsaved and the window title follows (`SceneLabel`, `WindowTitle`); Mod+S saves (`Save`); and opening another scene (from the file browser, the Problems panel or a search or reference result), New Scene, quitting and closing the window ask to save, discard or cancel first. New errors: `ErrNoSceneFile` (Save or Revert without a file to write to or read) and `ErrFileExists` (NewScene or SaveSceneAs over an existing file) (#866). +- `game/sceneformat`: identity-based three-way scene merge (`Merge`, `MergeResult`) matching layers by `name`, objects by `id` anywhere in the tree (including across reparenting and layer moves), tilemaps and overrides by key, and connections by `(from, event, to, handler)`, with field-by-field merging, `Validate` enforcement on the merged result, and a versioned, deterministic YAML conflict report format (`ConflictVersion`, `ConflictDoc`, `ParseConflict`, `EncodeConflict`) (#1058). +- `game/cmd/game`: `go tool game merge` Git merge driver (`%O %A %B %P`, with `-out`, `-conflict-out`, and `-setup`), plus `.gitattributes` registration for `*.scene.yaml` and `*.scene.yml` in every project template and automatic local Git config setup in `game new` (#1058). +- `game/sceneformat`: scene format version 2 lets an object instance another scene file (`scene`, with per-object `overrides`) and a scene inherit a base scene (`inherits`, `overrides`, `layerOverrides`); `Resolve` loads them through a `SceneResolver` such as `FSScenes`, refuses cycles and returns a self-contained copy, `Build` resolves scenes itself, and `SceneDoc.Clone` and `ObjectDoc.Clone` deep copy documents (#483). +- `game/sceneformat`: the JSON Schema of version 2 scenes is published at `https://game.nsgo.dev/schemas/scene.v2.json` (`SchemaURLV2`), and `Encode` starts each file with the schema comment of its own version (`SchemaCommentFor`); `scene.v1.json` keeps refusing the keys version 2 added (#483). +- `game/editor`: `PlaceScene` places an instance of a scene file as an undoable command, and `PlaceObject` refuses an instance that does not resolve or, with the new `Editor.ScenePath` set, leads back to the open scene (#483). +- `game/scene`: `HUD3D`, `HUDSlot`, and `HUDAnchor` compose native NSGo `ui` views over a 3D `gpu.View` with automatic safe-area insets, reactive visibility toggling, and mouse/touch pass-through (#125). +- `game/physics3d`, `game/resource`: add `physics3d.PhysicsMaterial` (`Friction`, `Restitution`, `LinearDamping`, `AngularDamping`) on `physics3d.Body` (`Body.Material`, `Body.ApplyMaterial`), honored in contact impulse solving and damping, plus `resource.PhysicsMaterial.ApplyTo3D` and `resource.Library.PhysicsMaterial` (#817). +- `game/project`: add the optional `physics` section to `game.yaml` (`gravity2D`, `gravity3D`, `solverIterations2D`, `solverIterations3D`, and named collision `layers` mapped to bits `0..31`) with validation, `game.v1.json` schema updates, and runtime helpers `PhysicsLayerTable`, `PhysicsSettings`, `ConfigurePhysicsWorld`, `ConfigureRigidWorld`, and `ConfigurePhysics3DWorld` (#817). +- `game/sceneformat`: add versioned built-in 2D and 3D physics components (`body2d`, `collider2d`, `trigger2d`, `body3d`, `collider3d`, `trigger3d`), `FieldStringList` and `Field.Enum`, named collision layer validation with exact file/line `*loaderr.Error` reporting via `ParseOptions.PhysicsLayers`, and `BuildPhysics` / `PhysicsScene` to instantiate and step `physics.World`, `physics.RigidWorld`, and `physics3d.World` directly from scene files (#817). +- `game/editor`: add automatic Play-mode physics simulation (`PlayPhysics`, `PlayTriggerEvents`, `OnPlayTrigger`), 2D and 3D viewport collider/trigger debug outlines (`ShowPhysicsDebug`), built-in physics component inspector editing (enum selectors and string lists), named layer validation on project/scene open, and the Project Settings Physics tab (#817). +- `game/scene`: add `Controller.View`, `Manager.View` (`HostOptions`), `Manager.Invalidate`, and the shared `Manager.Actions` and `Manager.KeepInputOnSwitch` fields to switch and stack 2D canvas scenes and 3D `gpu.View` scenes with fade, crossfade, wipe, and custom transitions, keeping mounted 3D views alive under pushed 2D overlays and input wired across switches; a `sound.Mixer` on the Manager's scope keeps music playing through every switch (#126). +- `game/scene3d`: box-projected 3D decals (`Decal`, `NewDecal`, `NewDecalOnSurface`, `DecalReceiver`, `DecalReceiverMesh`, `ProjectDecal`, `ProjectDecalOntoReceiver`), a fixed-capacity zero-allocation `DecalPool` with deterministic priority/FIFO eviction and `FadeIn`/`FadeOut` lifetime aging, and a mobile forward-path `GPUDecalRenderer` (`DecalWGSL`, `DecalVertexLayout`) supporting normal-angle fade, depth fade, layer masks, and alpha-blended albedo textures across WebGPU, Metal, Vulkan, OpenGL ES 3.0, and WebGL 2 (#385). +- `game/sceneformat`: added scene version 4 (`scene.v4.json`) with 3D light objects (`light`: directional, point, and spot with color, intensity, range, cone angles, and shadows), scene `environment` (`sky` color/gradient/HDR, ambient and IBL intensity, distance and height `fog`, `tonemapping`, and `exposure`), and 3D camera objects (`camera`: perspective or orthographic, FOV/orthoHeight, near, far, and `current`), with `refs` HDR path scanning/rewriting and `game check` validation (#895). +- `game/scenemodel`: wired scene lights, directional/spot/point shadows, sky cubemaps, IBL, fog, tonemapping, exposure, and active 3D cameras into `Build` and `Renderer` (`PrepareScene`, `RecordShadows`, `DrawSky`, `ClearColor`, `ActiveCamera`) (#895). +- `game/editor`: rendered scene lights, shadows, sky, fog, tonemapping, and exposure in the 3D GPU viewport with parity against `scenemodel`/`render3d`, and added light/camera icons, undoable interactive handles (light direction, range sphere, spot inner/outer cone, camera frustum FOV/far), the Scene Environment settings panel, Light/Camera 3D inspector sections, and the Look Through Scene Camera toggle (`0`) (#895). +- `game/gltf`, `game/tooling/importsettings`, `game/sceneformat`, `game/scenemodel`, `game/editor`: add 3D model LOD levels (declared in `*.import.yaml` or via `_LODn` node/mesh names), scene object occluders (`mode: model` and `mode: box`), automatic `DrawItem.LODs` and `OcclusionBuffer` wiring in `scenemodel`, and 3D viewport LOD/occluder visualization with `RenderStats` overlay in the editor (#904). +- `game/sceneformat`, `game/editor`: add scene format version 3 (`scene.v3.json`) with per-layer parallax scroll factors (`parallaxX`, `parallaxY`) and repeat tiling (`repeatX`, `repeatY`, `repeatWidth`, `repeatHeight`), `layerOverrides` support, matching camera transforms in `BuiltScene.Draw`, live parallax/repeat preview in the editor 2D viewport, and undoable layer inspector controls (#885). +- `game/text`: signed-distance-field fonts (`SDFFont`) loaded from msdf-atlas-gen JSON or BMFont with a `distanceField` record, resolved at the drawn size so their edges stay sharp at any scale, with outlines, and drawn in 3D world space as camera-facing billboards or fixed-orientation text (`DrawWorld`, `LayoutWorld`) (#348). +- `game/rts`: flow fields over `ai.Grid` with a shared `FieldCache`, a `Crowd` that moves 1000 units to a target within a 60 fps frame budget, line/column/box/wedge formations in versioned YAML, box/click/double-click selection and digit-key control groups (#530). +- `game/cloudsave`: a self-hosted cloud save service for the players of the account service, with per-account slots over HTTP, conditional writes (`If-Match`, `If-None-Match`) that refuse a write racing another device, a slot size limit (`413 slot_too_large` with the limit), a slot count limit, the last few versions of each slot kept for listing and restore, SQLite and Postgres stores in `cloudsave/sqlstore`, contract tests in `cloudsave/storetest` and the standalone server `cloudsaved` (#557). +- `game/liveops`: `CloudClient`, the HTTPS `CloudSync` for `cloudsave`, with `Versions`, `LoadVersion`, `Restore` and `Purge`; `ConditionalCloudSync` with `SaveIf`, `DeleteIf` and `PayloadHash`; and `ErrSlotTooLarge` and `ErrTooManySlots` (#557). +- `game/leaderboard/selfhost`: a self-hosted cross-platform leaderboard service with boards declared in versioned YAML (sort order, all-time, daily or weekly resets in UTC that keep earlier periods readable, score bounds), score submission authenticated by the account service's tokens, optional game-server-signed score proofs, top-N, around-me and friends queries over an in-memory order-statistic index (microseconds on a million entries), a JSON Lines file store, an HTTP handler and the `leaderboardd` command (#558). +- `game/resource`: shared resource files in YAML with a common `type`/`version` header (materials, curves, gradients, animation clips, UI themes, sound bus layouts and physics materials), a `Library` that gives every user of a path one value and reloads it in place, `material` references on `sceneformat` objects, and `hotreload.Watcher.WatchResources` (#485). +- `game/sound`: 3D positional audio with `Vec3`, `Listener3D`, `Spatial3DOptions`, `Spatial3D`, `Spatialize3D`, `RolloffExponential`, `Effect.PlayAt3D`, `Cue.PlayAt3D`, `Mixer.SetListener3D`/`Listener3D`, and live `Playback3D` tracking (`Effect.Play3D`, `Cue.Play3D`) featuring distance rolloff, rear head-shadow attenuation, directional source cones, and full mixer volume/pause/suspend/background integration (#106). +- `game/sound`: `Mixer.SetPaused`, `Mixer.Paused`, `Mixer.SetPauseExempt`, and `Mixer.PauseExempt` pause and resume gameplay effects and music while letting pause-exempt groups (such as `"ui"`) keep playing, while backgrounding continues to silence and resume all groups in sync with `game.Loop` (#358). +- `game`: `Loop.OnPause` notifies listeners whenever `Loop.Paused` changes so `sound.Mixer.SetPaused` and other subsystems stay in sync with game pause (#358). +- `game/sprite`: add per-sprite `Effect` (`Flash` and `Silhouette`, `Outline`, `Dissolve`, `PaletteSwap`, and `Custom` pixel hook) with zero-leak buffer reuse in `Batch.Draw`, URI-only fallback, and lazy GPU Kage shader helpers (`EffectProgram`, `Effect.Uniforms`, `EffectShader`) (#329). +- Sprite state machines in plain-text `*.states.yaml` files (`animclip.StateMachine`, `animclip.ParseStateMachine`, `animclip.EncodeStateMachine`, `animclip.NewAnimator`, `animclip.InputDriver`, `animclip.SimulateStateMachine`) with published JSON Schema `states.v1.json`, built-in `animator` scene component (`sceneformat.AnimatorComponent`), `refs` path tracking, and `game check` validation with file and line diagnostics (#1054) +- Editor State Machine graph panel with state node cards, sprite thumbnails, directed transition arrows, `Any state` interrupts, live active-state highlighting, **Drive with keys** preview through project input actions, `LEAVING ` transition inspection, and editor MCP tools `states_write` and `states_test` (#1054) +- `game/refs`: references between a project's files that survive renames and moves. `Scan` finds every path `game.yaml` (its autoloads and `assets` section), scenes, resource files, Tiled and LDtk files and sprite atlases write to another file, with its file and line; the project index `game.index.yaml` records each scene and resource file's `uid` and each other referenced file's SHA-256, so `Project.Moved` finds a file moved without the tools; `PlanMove` and `PlanIndex` plan the in-place rewrites, keeping each file's comments and formatting, and `Plan.Apply` makes them (#486). +- `game/resource` and `game/sceneformat`: an optional `uid` field in the header of every resource file and scene, a stable ID a file keeps through renames and moves, made by `resource.NewUID` and checked by `resource.ValidUID`; `sceneformat.Resolve` keeps the scene's own uid (#486). +- `game mv` moves or renames a file or directory and rewrites every reference to it; `game index` gives scene and resource files a uid, points references at files moved without the tools and writes the project index; `editor.Editor.MoveFile` moves a file from the editor (#486). +- `game/project`: `PathRefs` lists every path `game.yaml` holds to a file or folder of the project with the YAML node that writes it, and `File.EachPath` visits them in a parsed file (#486). +- `game/editor`: a file browser below the asset browser (`FilesView`) lists the open project's files (`Editor.ProjectFiles`) and renames or moves the selected one with its Move button through `Editor.MoveFile`, so every reference to it follows (#486). +- Cave Run carries a project index (`game.index.yaml`), and a `game/refs` test fails when `game index` would change anything in the examples or the starter template (#486). +- `game/stats`: base stats with additive, multiplicative and override modifiers tagged by source, recomputed on every change with change callbacks, timed modifiers that expire on the exact fixed step, `Refresh` to restart a buff in one change, and a versioned YAML file of stats and effects (#516). +- `template/action3d`: a third-person 3D action adventure template, `game new -template action3d`, with an orbit camera, run, jump and attack animations blended by an `anim3d` state machine, melee enemies, and a key that opens the gate to the goal, played with keyboard and mouse, game controllers and touch, and tested by headless playthroughs to a win and a loss (#794). +- `game new -template cards2d` and `nsgo init -template github.com/nsgo-dev/game/template/cards2d`: Suit Ladders, a single-player 2D card game template with drag and drop on `game/cards`, a draw pile, a hand and a discard pile, rules enforced in code, the deck and the table in YAML, numbered deals from `game/random`, saves with `game/save`, and nsgotest playthroughs to a win and a loss with the keyboard, a gamepad and touch (#796). +- `fighting2d` template: a one-on-one 2D fighting game with two original fighters, special moves from motion inputs and a charge, cancels and combos with damage scaling, guards high and low with chip damage, best-of-three rounds on a timer, a CPU opponent and local versus on one keyboard or two game controllers, played with the keyboard, game controllers or touch, its moves, frame data, rules and roster in YAML and nsgotest playthroughs that win and lose a match; `game new -template fighting2d` and `nsgo init -template github.com/nsgo-dev/game/template/fighting2d` create it ([The fighting game template](docs/en/template-fighting2d.md), #791). +- `template/fps3d`: a first-person shooter arena template, `game new -template fps3d`, with hitscan and projectile weapons, ammunition and reloads, enemies that patrol, hunt and shoot over `ai` navigation, health and ammo pickups and three waves to clear, on `physics3d` character controllers and `render3d`, played with the keyboard and mouse, a game controller or touch, and headless playthroughs that win and lose (#793). +- `game new -template idle` and `nsgo init -template github.com/nsgo-dev/game/template/idle` create Hearthkeeper, an idle game with generators, upgrades, large-number formatting, offline progress on return, prestige, a win and a loss, playable with keyboard, controller and touch (#800). +- `game new -template platformer2d` and `nsgo init -template github.com/nsgo-dev/game/template/platformer2d`: a side-scrolling platformer template with a coyote-time and jump-buffered controller, three rooms with camera bounds, spikes, pits, sparks, a checkpoint and a goal, played with the keyboard, a controller or touch, and tests that play it to a win and a loss (#788). +- The `puzzle2d` template, Spark Slide: a 2D grid puzzle in which a spark slides until a wall stops it and lights every lamp it passes, with levels in a versioned YAML file, undo and redo through `undo.History`, a move limit, three stars per level, and a level select that unlocks each level after the one before and saves the stars with `save`; it plays with the keyboard, a game controller, touch and the mouse, and its tests play every level to a win and to a loss. `game new -template puzzle2d` or `nsgo init -template github.com/nsgo-dev/game/template/puzzle2d` creates it (#795). +- `game new -template racing3d` starts a 3D racing game: two laps of a closed circuit against racing-line rivals with `vehicle`'s raycast cars, checkpoints, a countdown, a best-lap ghost saved between launches and a results screen, drawn with `render3d` and played with keyboard, gamepad or touch, with tests that play races to a win and a loss; [Racing 3D template](docs/en/template-racing3d.md) describes it (#792). +- `game new -template rhythm` and `nsgo init -template github.com/nsgo-dev/game/template/rhythm`: Pulse Lanes, a four-lane rhythm game with its songs and charts in a versioned YAML file over `rhythm` beat maps, a `rhythm.Clock` kept in step with looping music, hits judged by when the key or finger went down, Perfect, Great, Good and Miss judgements, combo, score, rank and an energy bar to clear or fail by, audio and video latency calibration kept per device, saved best clears, and `nsgotest` playthroughs with the keyboard, a game controller, touch and the mouse (#802). +- `game new -template roguelike2d` and `nsgo init -template github.com/nsgo-dev/game/template/roguelike2d`: a turn-based roguelike template with five floors generated from the run's seed by `procgen`, bump-to-attack combat, weighted loot with pity from `loot`, stats with equipment and timed tonics from `stats`, a quaff and a cleave on turn cooldowns from `ability`, monsters and items as `entities` components played by scheduled systems, permadeath with a run saved every turn and a run summary with `save`, played with the keyboard, a controller or touch, and tests that play it to a win and a loss (#798). +- `game new -template rpg2d` and `nsgo init -template github.com/nsgo-dev/game/template/rpg2d`: a top-down RPG template with a town and a meadow, people with branching dialogue, an inventory with equipment, one quest, turn-based battles and three save slots, playable with the keyboard, a gamepad and touch (#789). +- `game new -template rts2d` and `nsgo init -template github.com/nsgo-dev/game/template/rts2d` create a 2D real-time strategy skirmish: crystals to gather, barracks to build on pads, workers, soldiers and rangers, fog of war, box selection and control groups on `game/rts`, and a computer opponent scored by `game/ai`'s utility reasoner, played with the keyboard and mouse, a gamepad or touch, with its rules, map, formation and opponent in YAML and headless tests that play it to a win and a loss (#797). +- `game new -template shmup2d` and `nsgo init -template github.com/nsgo-dev/game/template/shmup2d` create a vertical scrolling shooter: one stage of enemy waves on dive, weave, cross and hover paths, `bullets` patterns, power, bomb and life items dropped by whole waves, a boss with three phases, lives, bombs and a score, with the stage in a YAML format of its own, played with the keyboard, the mouse, a controller or touch, and `nsgotest` playthroughs that reach both the win and the loss (#790). +- `game new -template towerdefense2d` and `nsgo init -template github.com/nsgo-dev/game/template/towerdefense2d` create Bramble Gate, a 2D tower defense game to grow from: towers with upgrades on `stats` sheets beside a road found with `ai.AStar` on a `tilemap`, `bullets` projectiles that lead their target, splash and slow, waves, enemies, towers and projectiles in versioned YAML that `game.yaml` autoloads, money and lives, and keyboard, gamepad and touch controls from `game.yaml`'s input map, with `nsgotest` playthroughs that win and lose it with each; [Tower defense template](docs/en/template-towerdefense2d.md) describes it (#799). +- `game new -template visualnovel` starts a short branching visual novel, *Lantern Crossing*, built on `vn`, `flow`, `save` and `l10n`: two characters with expressions, drawn backgrounds, choices that change the ending, a backlog, auto and skip modes that skip only lines already read, three save slots, and English and Simplified Chinese, played with the keyboard, a controller or touch, with headless tests that reach both endings with each; `nsgo init -template github.com/nsgo-dev/game/template/visualnovel` writes the same project (#801). +- `website`: list every project template (`action3d`, `fighting2d`, `fps3d`, `idle`, `platformer2d`, `puzzle2d`, `racing3d`, `roguelike2d`, `rts2d`, `shmup2d`, and `visualnovel`) on the showcase page across all 10 locales (#791, #797, #800, #801). +- `game/tilemap`: support Tiled image-collection tilesets (`.tmj`/`.tsj` and `.tmx`/`.tsx`, including optional tile sub-rectangles), drawing tile objects (`DrawObjectLayer` and interleaved `Draw` order with flips, rotation, opacity, parallax, camera culling, `tileoffset`, and `objectalignment`), external `.tx`/`.tj` object templates via `TilesetLoader.LoadTemplate` with property merging and GID remapping, text objects (`ObjectText` / `TextObject`), and layer `tintcolor` (#849). +- `game/tilemap`: `*Tilemap` and `*WorldStream` now satisfy `physics.TileGrid` and `physics.TileGridOrigin` directly via `TileSize`, `GridSize`, `GridOrigin`, `TileFlagsAt`, and `TileFlags.PhysicsFlags` (#814). +- `game/tilemap`: preserve each Tiled tile's collision object group in `Tileset.TileCollisions` (`Tilemap.TileCollisionGroup`) and add deterministic `EncodeTiled` for `.tmj` round-tripping with per-tile collision data (#814). +- `game/tilemap`, `game/project`, `game/sceneformat`: add `LDtkOptions`, `LoadLDtkWith`, `LoadLDtkAllWith`, `LoadLDtkWorldWith`, LDtk `intGridValuesGroups` support, and `physics.ldtkIntGrid` rules in `game.yaml` (`File.LDtkOptions` and `project.Resolver`) to map LDtk IntGrid values to collision flags from project settings (#814). +- `game/tileshape`: merge adjacent partial rectangular tiles in `View.Boxes` and add `View.StaticShapes` and `View.AppendStaticShapesIn` to generate merged `Box`, convex `Polygon`, and closed `Chain` static physics shapes for partial tiles (#814). +- `game/ai`, `game/fog`: add grid topologies (`TopologyFromTilemap` for square 4/8, hex pointy/flat odd/even, and staggered isometric), tactics movement-range queries (`MovementRange`, `ReachableCells`), hexagonal and staggered fog visibility, and aligned hex/isometric/staggered fog rendering (#854). +- `game/tilemap`, `game/world3d`: add sparse power-of-two chunked tile layers with negative coordinates, per-chunk static caches and dirty tracking, deterministic YAML/JSON chunk persistence, bounded 2D streaming (`tilemap.ChunkStream` and `world3d.TilemapStreamer` on `world3d.ChunkStreamer`), and direct sparse loading of infinite Tiled `.tmj` maps (#853). +- `game/tilemap`: `LoadTiled` now loads Tiled XML maps (`.tmx`) and external XML tilesets (`.tsx`) alongside `.tmj`/`.tsj` (including cross-format references), decodes CSV, XML ``, and base64 tile data (uncompressed, `zlib`, and `gzip`) for both finite layers and infinite-map chunks with decompression-bomb protection, adds `TilesetLoader.LoadTileset` (falling back to `LoadJSON`), and refuses `zstd` compression with a structured `loaderr` fix hint (#848). +- `game/tilemap`: parse Tiled Wang sets (`wangsets` of type `corner`, `edge`, and `mixed`) and per-tile `probability` from embedded `.tmj` and external `.tsj` tilesets into `Tileset.WangSets` and `Tileset.TileProbabilities`, and add multi-terrain autotiling (`Tilemap.SetTerrain` and `Tilemap.SetTerrainRect`) with Tiled terrain-brush neighbor propagation, orthogonal and isometric support, dense and sparse chunked layer support, and deterministic probability-weighted variant selection via `*random.Stream` (#850). +- `game/tilemap`: add `Tilemap.Origin`, LDtk world positions and `Neighbours` (`LevelNeighbour`, `LoadLDtkWorld`), Tiled `.world` loader (`ParseTiledWorld`, `LoadTiledWorld`), and region-based multi-level streamer `WorldStream` (#852). +- `game/physics`: add optional `TileGridOrigin` interface and `Grid.OriginX`/`Grid.OriginY` honored by `MoveAndSlide`, `CharacterBody.Move`, `World` queries, `SoftWorld`, and debug drawing (#852). +- `game/fog`: add `Fog.Origin` copied by `NewFromTilemap` and honored by `CellAt`, `Draw`, and JSON snapshots (#852). +- `game/tilemap`, `game/scene`: add per-layer tile Y-sorting (`TileLayer.YSort`, `SetLayerYSort`, `PropSortOriginY` / `SetTileSortOriginY`, `AppendYSortTiles`, `SortYSortTiles`, `YSortDrawer`, `Layer.AddTileLayer`) so tall tiles interleave with sprites across orthogonal, isometric, staggered, and hexagonal maps with camera culling, animated tiles, and zero steady-state allocations (#851). +- `game/tooling/hotreload`: live hot reload for WGSL (`.wgsl`) and Kage (`.kage`) shaders and YAML 3D shader materials (`.material.yaml`, `.mat.yaml`, `.material.yml`, `.mat.yml`) under `game dev` via `CompileShaderSource`, `ShaderReloader`, `MaterialReloader`, `MaterialDef` (`ParseMaterial`, `ParseMaterialFile`, `EncodeMaterial`), `ReloadError`, `Watcher.WatchShader`, `Watcher.WatchShaders`, and `Watcher.WatchMaterials`; candidate shaders and GPU render pipelines compile and validate before swapping so compile, entry-point, or YAML errors report structured `*loaderr.Error` diagnostics without crashing while keeping the previous working pipeline active, and editing a shader automatically rebuilds dependent materials (#366). +- `game/undo`: a `History` of reversible moves for puzzle and turn-based games, with unlimited undo and redo, `Seek`, move groups, and a versioned YAML `Log` to save and restore it (#520). +- `game/vehicle`: raycast cars on `physics3d` with spring-damper wheel suspension, friction-circle tire forces and engine, brake, steering and handbrake input, race checkpoints, laps and standings on trigger bodies, YAML car configs and lap ghosts, and a reference car that laps a test track deterministically (#534). +- `game/screen`: `Video` applies the saved display settings at start and on change: windowed or full screen on a chosen display (`save.DisplaySettings.DisplayID`, falling back to `DisplayIndex`), `FrameCap` as the loop's `DrawRate`, and with `AutoDropLowPower` a lower cap while the system is in low-power mode or under serious thermal pressure, restored once it clears (#356). +- `game/effects`: vignette, full-screen flash and screen shake effects (`VignetteEffect`, `FlashEffect`, `ShakeEffect`) with CPU reference pictures, and `NewFlash` and `NewShake`, which fade a flash and decay a seeded shake on the frame clock and stay still under reduced motion (#97). +- `game/voxel`: chunked 3D voxel worlds with greedy meshing to `render3d.Mesh` and per-material `SubMesh` ranges, cross-chunk neighbor culling and ambient occlusion, minimal dirty-chunk remeshing on edit, 3D DDA voxel raycasting, and deterministic versioned YAML saves with published JSON Schema `voxel.v1.json` (#535). +- `game/physics3d`, `game/voxel`: add direct solid-block `VoxelCollider` (`TestShape`, `CollectContacts`, `Raycast`, `Sweep`, CCD, and instant `SetBlock` wakeup), `voxel.NewCollider` / `World.Collider`, and axis-separated AABB `MoveAndSlideAABB` / `CharacterMover` with single-block step-up (#815). +- `game/voxel`: add per-voxel sky and block light propagation (0..15), emissive and light-opacity block properties, incremental cross-chunk flood fill/removal with minimal dirty tracking, and vertex light/color output for `render3d` (#860). +- `apps/website`: added full website UI localization, dynamic `//` routing, SEO `hreflang` alternates, and browser language auto-detection for 8 additional mainstream languages (`zh-tw`, `ja`, `ko`, `es`, `fr`, `de`, `pt`, `ru`), bringing the site to 10 languages with automatic English fallback for untranslated docs. +- `game/loot`: nested weighted drop tables in versioned YAML with guaranteed drops, rolls and count ranges, hard and soft pity counters saved with the stream, and zero-allocation rolls on `random` streams (#519). +- Scene objects now support a version 2 `gridMap` field referencing `*.gridmap.yaml` files (including scene overrides and `scene.v2.json` schema), instanced in `scenemodel.Build` via `world3d.GridMap.BuildInstances` with shared `MeshID`/`MaterialID` and validated/tracked by `game check`, `refs`, and `MoveFile`. +- `world3d.LoadMeshLibraryFromGLTF` now reads binary `.glb` mesh libraries in addition to `.gltf`, and `world3d` adds `RotateGridOrientation`, `FindGridOrientation`, `MeshLibrary.Items`, and `GridMap.EachCell`. +- The 3D scene editor adds interactive GridMap painting: a mesh-library palette with 3D thumbnails, Paint/Erase/Pick/Box Fill tools on the active floor height (`]`/`[`/`PageUp`/`PageDown`), 24-orientation rotation keys (`X`/`Y`/`Z`/`Q` + Shift), live hovered cell and box-fill previews, full undo/redo, and canonical `.gridmap.yaml` saving. +- `world3d`, `render3d`, and `editor`: extend `*.terrain.yaml` with `size`, 16-bit grayscale PNG heightmap encoding/decoding (`NewHeightmap`, `Heightmap.ToGray16`, `Heightmap.EncodePNG`, `DecodeHeightmapPNG`), per-layer material references and grayscale weight-map PNGs (`PackLayerWeightMaps`, `LoadTerrainSplatMapFromWeights`), embedded foliage layers with density-map PNGs (`Heightmap.FoliageDensityAt`, `TerrainDoc.ScatterFoliage`, `DensityMap.EncodePNG`), `render3d.TerrainMaterialFromDoc` / `MeshFromTerrainMesh` loading, and 3D editor terrain sculpt and paint tools (raise/lower, smooth, flatten, set height, layer paint, foliage density paint with radius, strength, falloff, single-step undo per stroke, and lossless 16-bit PNG + YAML saving) (#900). +- `game/world3d`: add `TerrainLOD`, `Heightmap.BuildMeshLOD`, `Heightmap.ChunkBounds`, and `TerrainLODBiasFor` for distance-based terrain chunk LOD with hysteresis, quality preset bias, crack-free stitched neighbor seams, frustum culling, and `FloatingOrigin` / `ChunkStreamer` integration (#858). +- `game/world3d`, `game/render3d`: add splat-map multi-layer PBR terrain materials (up to 8 layers across 1–2 RGBA weight maps with per-layer tiling, optional height-based blending, slope-driven triplanar projection, lighting/shadows/CSM/fog, version 1 YAML terrain definitions, and `Heightmap.LayerAt(x, z)` gameplay queries) (#857). +- `game/world3d`: add version 1 YAML formats (`*.gridmap.yaml` and `*.foliage.yaml`) with strict parsing, deterministic canonical encoding, box-run compression, runtime world builders (`LoadGridMapFS`, `LoadTerrainFS`, `LoadFoliageFS`, `TerrainDoc.BuildHeightmap`/`BuildLOD`, `GridMapDoc.Build`, `GridMap.ToDoc`, `FoliageDoc.ScatterAll`), optional `chunkSize` on `TerrainDoc`, published JSON Schemas (`gridmap.v1.json`, `foliage.v1.json`, updated `terrain.v1.json`), and `game check` (`tooling/assetcheck`) validation (#859). +- `game/tilemap`: YAML tilesets (`*.tileset.yaml`, `TilesetDoc`, version 1) define a grid image's or atlas's tiles once, with properties, `solid`/`oneWay`/custom flags, collision shapes, animations and `cardinal` or `blob` terrain sets; `ParseTileset`, `EncodeTileset` and `LoadTilesetFS` read and write them losslessly, `Tilemap.AddTilesetDoc` builds one into a `Tileset` with its flags, `Tileset.Terrains` and `Tilemap.Terrain` hand terrains to `ApplyAutotile`, and the schema is published at `https://game.nsgo.dev/schemas/tileset.v1.json` (#847). +- `game/sceneformat`: scene version 2 tilemaps can be layered grids that place a YAML tileset's tiles (`tilesetFile`) in named `tileLayers`, one readable row per line with `h`, `v` and `d` flip letters, and can name an LDtk level (`level`); `Build` turns them, and Tiled (`.tmj`, `.tmx`) and LDtk (`.ldtk`) sources, into a `tilemap.Tilemap` (`BuiltLayer.Map`) that culls to the scene's view, animates through `BuiltScene.Update` and answers `FlagsAt` and `Raycast`, reading files through the new `FileResolver` and `ImageResolver` interfaces; `FSAssets` reads a project's files so scenes use Tiled and LDtk maps with no resolver of the game's own (#847). +- `game/editor`: the tile tools paint the tile layers of layered grids with flipped tiles (`ActiveTileLayer`, `ActiveTileFlip`), and the tile palette shows a layered grid's YAML tileset with tile layer and flip toggles; `game editor` reads the open project's files, so those scenes build there (#847). +- `game check` validates YAML tilesets, the tilesets and tiles of layered grids, `.tmx` and `.ldtk` tilemap sources and LDtk levels, and `game mv` keeps `tilesetFile` and tileset `image` references working (#847). ### Changed @@ -37,6 +558,69 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and - `game/particles`: `Emitter.Draw` now tints each particle's sprite by its `ColorCurve` RGB, where it previously applied only the curve's alpha, so particle definitions with a non-white `colorCurve` draw in that color (#29). - `game`: `Loop` adds each frame's time from `RequestAnimationFrame` as it is, the display's own frame time where the platform stamps one, and no longer smooths it (#27). - `game/sound`: group, master and background volume changes now reach effects already playing through NSGo's `audio.Playback`, silencing them at 0 instead of stopping them; an `Effect` at its `Limit` stops its oldest playback to play a new one instead of refusing it; a voice with `Muted` set now plays nothing and `Play` returns false instead of playing muted and counting toward the limit; and a crossfade's new music track starts at once, muted, instead of waiting paused for the fade's first frame (#31). +- `game/sceneformat`: an object's `mesh` must name a built-in primitive, `box`, `sphere`, `plane`, `capsule` or `cylinder` (`MeshPrimitives`), and cannot be combined with `model`; it was free text no loader read (#889). +- `game/editor`: the 3D inspector's Mesh field picks a built-in primitive from a list, disabled on an object that draws a model; `SetObjectMesh` refuses any other name and a primitive on an object that draws a model, and `PlaceObject` refuses an object whose mesh and model fields `sceneformat.CheckObjectModel` refuses, leaves a prefab's primitive off an object that draws a model, and raises a version 1 scene to version 2 when the object draws one (#889). +- `game/editor`: `FindObject`, `SelectObject` and every object edit work on nested children, with transforms in the child's local space, and both viewports draw and pick nested children; `Objects3D` lists them with a new `Object3DRef.ParentID` (#861). +- `game/tooling/manifest`: `Scan` skips import settings sidecars (`*.import.yaml`), so they never appear in a generated manifest (#487). +- `game assets` and `game audio` keep the loop of a source WAV's `smpl` chunk in a WAV output, which they used to drop (#487). +- `game assets` accepts a sidecar that holds only a credit, beside an image or a sound a target reads or beside any file in a folder a target reads from. A target's key takes a sidecar's settings rather than its bytes, so editing a credit, a comment or the layout of a sidecar rebuilds nothing (#513). +- `game/net`: `ListenWebSocket`, `ListenWebSocketTLS` and `ListenWebSocketTLSFiles` take an `Auth` after the server ID, and `DialWebSocket` takes a token instead of a chosen `PeerID`; the client's ID comes from the server's welcome, and the `X-NSGo-Peer-ID` header is gone. `UDPTransport` no longer learns peers from incoming datagrams: both sides register each other with `AddPeer`, and a datagram is accepted only from the address registered for the ID it claims (#550). +- The sample glTF models `crate.glb` and `robot_arm.gltf` moved from `docs/assets/3d-sample` into the placeholder pack's `models` folder, now with a stated CC0 license (#509). +- `game check` resolves every scene that instances or inherits others, failing on one that does not resolve at the instance or `inherits` line, and on a connection whose `from` or `to` names no object of the resolved scene, at the line that names it (#694). +- `game/tooling/datatable`: YAML data tables are a versioned `version`/`rows` document that refuses unknown and duplicate fields, `MarshalYAML`/`SaveYAML` write them deterministically for a lossless round trip, and YAML tables hot-reload like CSV and JSON (#478). +- `game/assets`: `ParsePackManifest` refuses fields it does not define, keys given twice in one object, and bytes after the manifest, with the line and a fix (#546). +- `game/assets`: the `fs.FS` that `DLCManager.Fetch` returns is also an `io.Closer`; `Remove` of a pack that is still mounted deletes the cached pack when the last mount is released, by `Close` or by the group `FetchGroup` loaded being reset or mounted again (#546). +- `game/modding`: `Manager.SetGrant` on a loaded mod takes effect at once, removing the mod's panels when it revokes `CapUI` and reloading the mod when the grant changes `CapAudio` or `CapStorage` (#546). +- `game/sprite`: `Batch.Draw` draws consecutive sprites that are only moved, rotated and scaled evenly with one NSGo `DrawAtlas` instead of one `DrawImageFrom` each, drawing the same picture (mirrored, unevenly scaled, blended and masked sprites keep their own draw, and `game/scene` layers sorted by Y or a custom key still draw one sprite at a time); recording 5,000 sprites takes 0.59 ms instead of 0.93 ms with 3 allocations instead of 5,000, while the sprite count at 60 fps on a device is not measured yet. A sprite with a NaN or infinite position, origin, rotation, scale or alpha now draws nothing, and a batch with no atlas draws nothing instead of panicking. `game/gametest` adds `ImageDraws` and `AssertSameImages` to check drawn images (with their tint, sampling and clip) however they were recorded, and `RenderOps` renders `DrawAtlas` (#28). +- `game/editor`: a press in the 3D viewport selects a mesh or model by its triangles instead of a sprite-sized box, and the geometry an instanced scene adds selects its instance; `ObjectCorners3D` and `ObjectAABB3D` give such an object's box as its geometry's bounds. A gizmo drag, the animation clip's pose and a playing game move the built geometry in place without building it again. Where the target has no GPU the wireframe view remains (`Viewport3DOnGPU`) (#890). +- `game/editor`: replace the legacy toolbar shell with the AI-first main layout featuring a 44 px header (breadcrumb with unsaved dot, Select/Move/Rotate/Scale/Pan tool radio group, 2D/3D segmented radio, History, Search ⌘K, and Play), 232 px left rail (`SCENE · N nodes` with kind dots, `NEW` review tags, and bottom `FILES` list), viewport camera caption and bottom bar (`Snap` switch, zoom, Fit, Overlays), 380 px right panel (`Agent`/`Inspector` tabs with MCP connection chip), 32 px muted status bar (active layer, pointer coords, tool, Problems, Output, Debugger), and designed empty/loading/scene-error states across all regions (#1007). +- `game/editor`: bring the Animation, Data Table, Localization, Search & References, and Problems bottom panels onto the editor Spec tokens, type scale, spacing, radius, and control heights with Lucide icons, aria-labels, tooltips with shortcuts, real keyboard-focusable buttons with focus rings, warning/problem severity styling with non-color icon cues, and explicit empty, loading, and error states (#1063). +- `game/editor`: replaced all hardcoded UI `core.RGB`/`core.RGBA` and hex color literals across the editor's panels, 2D/3D viewports, gizmos, handles, and debug overlays with `SpecPalette` tokens from `spec_theme.yaml`, and updated the toolbar scene title to Spec `14 / 600` (`SpecFontTitleSize`, `SpecFontTitleWeight`) (#1002). +- `game/editor`: switch 2D and 3D selection outlines to the Spec style (1.5 px solid accent, four corner handles, name tag) and move camera frame, camera bounds, tile grid, and snap grid to neutral `SpecPalette` hairline/dotted tokens distinct from all legend kinds (#1006). +- Every loader (`sceneformat`, `particles`, `skeletal`, `anim3d`, `sprite`, `tilemap`, `l10n`, `input`, `modding`, `replay`, `save`, `entities`, `assets`, `world3d`, `gltf`, `text`, `flow`, `editor`, `debug`, `tooling/datatable`, `tooling/devstate`, `tooling/bench`, `cmd/sizecheck`) returns `*loaderr.Error` values that name the file, line and field and give a fix; messages now start with `file:line:column:` instead of a package prefix. Sentinels such as `save.ErrCorrupt` and `modding.ErrInvalidManifest` and `datatable.CellError` still match with `errors.Is` and `errors.As` (#503). +- `game/entities`: `LoadWorld` checks the snapshot while the slot decodes, so a snapshot it cannot restore falls back to the backup copy (#503). +- `docs/formats`: list Steam Workshop metadata (`workshop.yaml`) and 3D hot-reload materials (`*.material.yaml`) on the File Formats reference page and run format conformance checks on them. +- `game editor` opens a project, or a scene file inside one, with the project's own atlases, scene files and free-form components in place of the demo room's atlases and component registry, and runs the project's own editor command when it has one, written by `game generate editor` or as a `cmd/editor` main package that imports `editorcmd`, which takes the same command line; a `cmd/editor` that does not is reported and not run. Field Medic's `cmd/editor` now runs on `editorcmd.Main`, so it opens a scene file and a clip as `game editor` does, still in a 1280 by 800 window (#905). +- `game/editor`: without a component registry, `SetComponentField` still checks the fields of the built-in physics components (`sceneformat.PhysicsComponentRegistry`) as the inspector shows them, while a game's own components stay free-form, so a project opened with free-form components refuses a misspelled `body2d` field, as the demo registry did (#905). +- The starter's `TestProjectFileIsValidAndCanonical` checks `nsgo.yaml` against `game.yaml` with `CheckNSGo` instead of `project.Check`, which failed on any autoload because the test saw only those two files, and the new `TestAutoloadsLoad` checks the scenes and resources `game.yaml` autoloads from the project directory, skipped under `nsgo test -target` where that directory cannot be read (#505). +- `game tex` and `game audio` read the import settings sidecar beside their input, as `game assets` does, under the flags given, which win; `game tex` writes the sidecar's `filter` and `game audio` its loop points (#487). +- `game/tooling/importsettings`: a sidecar holds at most one of the `image`, `audio`, `font` and `model` sections, and the error for more than one names them (#487). +- `game credits` and `game release` list each font and model target's input and the buffers and images each model embeds among the assets to credit (`assetbuild.ModelFiles`), so an uncredited font stops the release (#487). +- `game/replay`: recordings are YAML text (format version 2) with a header and one line per changed step that names its actions and axes, so they can be read, diffed and edited by hand; unknown keys and names are refused, output is deterministic, and the gzip and compact JSON forms (`EncodeGzip`, `DecodeGzip`, version 1) are removed (#476). +- `game/modding`: mod manifests are `mod.yaml` files with a `manifestVersion` field, read strictly (unknown fields, duplicate keys and unknown or repeated capabilities are refused) and written back in one canonical form by `EncodeManifest`; manifests built in Go may leave `ManifestVersion` at 0, so `Validate` and `ResolveOrder` callers are unaffected; `mod.json` is no longer read, and a mod that has only one is refused with a message asking for `mod.yaml` (#474). +- `game/net`: a `WebSocketServer` now pings each client every third of `Auth.IdleTimeout` (10 seconds by default, at least 3) and drops one that sends nothing for that long, instead of ignoring `IdleTimeout`. A native `WebSocketTransport` pings the server every 2 seconds and moves to `ConnDisconnected` after 10 silent seconds (#546). +- `game/net`: every transport caps each peer's `ChannelUnreliable` packets in its inbox (`DefaultUnreliableInbox`, 4096) and drops that peer's oldest when a newer one arrives, so one flooding peer cannot evict another's packets. `WebSocketServer` and `RelayTransport` also cap each peer's `ChannelReliableOrdered` packets (`DefaultReliableInbox`, 16384): a WebSocket client past the cap has its session ended, and a relay peer past it is no longer acknowledged until `Recv` makes room. Every transport counts a warning once each time its reliable backlog passes `DefaultReliableInboxWarning`. `SetInboxLimits` and `InboxStats` on every transport (the new `InboxReporter` interface), and `LoopbackConfig.Inbox` and `RelayTransportConfig.Inbox`, set the limits and read the drop, refusal and warning counters (#546). +- `game/net`: `LockstepSession.SubmitInput` ignores an input for a tick already run or more than 256 ticks ahead instead of sending it to peers that would drop it (#744). +- `game/net`: the replication wire protocol is now version 2: every message starts with a version and type byte and the 4-byte epoch, as documented in `docs/en/net.md`. Clients and servers built with an earlier release cannot replicate to this one; each side refuses the other's messages and reports `ErrReplicationVersion` instead of misreading them (#745). +- The docs run the game command as `nsgo game `, NSGo's built-in command for the game layer (nsgo-dev/nsgo#2366), with `go tool game` as its equivalent in a project, and the command reference shows each usage line as `nsgo game …`. +- `game/editor`: `CanvasToWorld` and `WorldToCanvas` map through the 2D view rather than the scene's camera alone, and a screen-space layer's canvas point goes through `CanvasToScreen`; the 3D viewport fills the panel too and maps presses at `CanvasSize` (#864). +- `game/physics3d`: `World.Step` uses velocity-first symplectic Euler integration and scopes shock propagation to vertical support columns with high mass ratios (`> 4:1`) or stacks taller than 12 bodies, so ordinary 10-box towers stand and sleep without residual drift or shock intervention; all seven built-in `Joint3D` types now use world-space inverse inertia tensors and `WorldCenterOfMass` (#810). +- `game/vehicle`: chassis suspension, tire friction, and ground impulse transfer now use `Body.WorldInvInertiaTensor()` and `Body.WorldCenterOfMass()` so braking pitch and roll reflect the `Config` mass distribution (#810). +- `game/render3d`: `Material.Validate` accepts a negative `NormalScale`, which glTF 2.0 allows and which flips the normal map's X and Y (#119). +- `game/anim3d`: blend-space samples now loop only when their `Clip.Loop` is true; a sample whose clip leaves `Loop` false, the zero value, plays once and holds its last frame, so set `Loop: true` on locomotion clips that used to cycle (#546). +- `game/assets`: a `DLCManager` without a `PublicKey` refuses packs with `ErrInvalidSignature` unless `DLCOptions.AllowUnsigned` is set, and `LoadingView` documents that it notifies once per mount (#546). +- `game/modding`: `Reload` validates the updated manifest before unloading, so a broken `mod.yaml` leaves the loaded version running, and mods on the web fail with `ErrWebUnisolated` unless `ManagerOptions.WebUnisolated` opts in to running them with the page's authority (#546). +- `game/render3d`: `LightUniformSize` grows from 672 to 1056 bytes to hold the spot lights, `LightUniforms` gains `SpotCount` and `Spot`, and the light block's `counts.z` now carries the spot light count (#252). +- The game layer, every project template and the sample games require NSGo v0.3.4, whose `nsgo` runs `nsgo game` (added in v0.3.3) and whose GPU draws depth-tested 3D into a window's own depth buffer again (nsgo-dev/nsgo#2395), so `nsgo game new` then `nsgo game dev` work in a new project with no extra step; the docs no longer ask for an `nsgo` from main and show how to install `nsgo` with Homebrew, the install script or `go install` (#1126). +- `game/physics`: `SnapshotVersion` is 2; `World.Restore` and `RigidWorld.Restore` still read version 1 snapshots, and builds that only know version 1 refuse the new ones. `RigidWorld.Checksum` gives a different digest than earlier releases for any world whose bodies touch, because it now hashes the contact state, so lockstep peers and replays must run the same release (#805). +- `game/physics`: `RigidWorld` trajectories, and so `RigidWorld.Checksum` values and recorded replays, differ from earlier versions (#804). +- `game/editor`: `EditorView` now sets the window title, to the open scene's path, a `*` while edits are unsaved and the editor's name, so a title an app set before calling it is replaced; an editor built on the package names itself with the new `Editor.AppName` field (default "NSGo Scene Editor"), as Field Medic's editor now does (#866). +- `game/editor`: `OpenFile`, `SaveFile` and `OpenProject` now set `Editor.ScenePath` when the scene's file lies in the open project and clear it otherwise, where before an app set it after `OpenFile`; `OpenScene`, `SaveSceneAs`, `OpenProblem`, `OpenSearchResult` and `OpenReference` clear `OnSave`, which persisted the scene open before; and the toolbar's Save leaves an unedited scene file as written instead of rewriting it (#866). +- `game/sceneformat`: `CurrentVersion` is 2; version 1 scenes still load and save unchanged, and `SpawnEntities` and `BuildNodes3D` refuse a scene that still instances or inherits others until it is resolved (#483). +- `game/liveops`: `CloudSyncer` makes every cloud write conditional when its `Cloud` implements `ConditionalCloudSync`, so an upload by another device is never overwritten: the losing write fails with `ErrCloudChanged` and the next sync resolves the conflict by policy (#557). +- `game/loaderr` is stable, because the stable packages `game/flow`, `game/input`, `game/save`, `game/sprite` and `game/tilemap` return its errors; the API stability table now also lists `game/bullets`, `game/cards`, `game/cloudsave`, `game/fighting`, `game/framedata`, `game/procgen`, `game/rooms`, `game/vehicle`, `game/cmd/gameschema`, `game/tooling/assetcheck` and `game/tooling/jsonschema` as experimental (#512, #503). +- `game check` (`tooling/assetcheck`) also fails on every reference `game/refs` finds to a file that is gone, among them a scene that a scene inherits or instances or that `game.yaml` autoloads, an autoloaded resource, an `assets` input, the materials and tilemap sources of overrides and of scenes not named `*.scene.yaml`, and the texture of a material no `*.scene.yaml` names; on a `game.yaml` that does not validate, on a project index that does not parse and on a uid two files of one project share, and a reference to a file that is gone says where the file went when the project index finds it. A directory holding `game.yaml` is now a project root too (#486). +- `game/editor`: `Editor.MoveFile` is now one undoable step instead of emptying the undo history: Undo moves the files back and puts each file the move rewrote back byte for byte (only its references when it changed since), removing an index and the directories the move created when they are left empty, and Redo moves them once more. A step that something on disk now blocks stays where it was, and the status bar says why (#486). +- The starter template's `go.mod` pins `packages/game` to `v0.0.0-20261125083919-59bc0354e207`, a newer commit on `main`, so a game made with `nsgo init -template` or `game new` builds against the game layer's current packages instead of the 2026-11-24 commit it pinned before. +- `game/skeletal`: rigs are YAML (`.skel.yaml`, same version-1 schema, JSON that is also valid YAML still loads); `Load` refuses unknown fields, duplicate keys, trailing documents, non-finite numbers, times beyond `MaxSeconds` and Bezier points on other curves, and the new `Encode` writes a deterministic canonical form (names in byte order, numbers without exponents) that round-trips losslessly (#475). +- `examples/caverun`: pass `*tilemap.Tilemap` directly to `physics.MoveAndSlide`, dropping its manual `tileGridAdapter` (#814). +- Website: a new design on TanStack Start, with a home page around the examples' recordings, a tutorial page, a package catalog with filters and search, and an examples page, all read from the docs and the examples at build time in ten languages; the docs show Traditional Chinese converted from Simplified Chinese, and each docs page loads only its own content. The playground, showcase, roadmap, API reference, `api.json` and `llms.txt` keep their addresses. + +### Removed + +- The `benchcheck` command, replaced by `game bench`, and its JSON baseline: baselines are now YAML text files with a version field (`benchmarks/baseline.yaml` in this repository) (#457). +- `game/l10n`: `AssetCatalog.LoadAssetManifestJSON`, with its direct-map shape and `baseLocale` alias. To migrate, write the manifest as YAML with `version: 1`, put the entries under `assets:` and rename `baseLocale` to `base_locale` (#473). +- The `gamepack`, `gameaudio`, `gamemanifest`, `gametex` and `gameeditor` commands, replaced by the subcommands of `game`. Calling a subcommand wrongly (a bad or missing flag, a stray argument, both `-peak-db` and `-rms-db`) now exits with 2 and prints its usage, where `gamepack`, `gamemanifest` and `gameaudio` exited with 1 for some of these; `tex` takes `-out` as well as `-o`. Generated manifests now start with `// Code generated by game manifest. DO NOT EDIT.`, so a checked-in manifest must be regenerated once before `game manifest -check` passes, and `game pack` and `game tex` record `game pack` and `nsgo game tex` as the writer in atlas JSON and KTX2 files (#452). ### Fixed @@ -68,3 +652,64 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and - `game/editor`: saves write through a temporary file and rename, a save with no target reports that instead of claiming success, opening YAML clears the stale save path, 3D views and picking skip screen-space layers, and a zero scale can be dragged away from zero. - `game/skeletal`: `SkeletonData.Compile` is exported and `NewSkeleton` reports an invalid rig instead of rendering every bone at the origin. - `examples/caverun`: the title backdrop snapshots slime positions so interpolation does not drift back toward spawn points. +- `game/assets`: a mounted DLC pack reads each file as it decompresses, bounded by `PackLimits`, instead of allocating the size the archive's header claims (#546). +- `game/assets`: a download of a `PackSpec` without a `Size` stops at `MaxPackBytes` instead of growing its `.part` file without bound, and a `206 Partial Content` without `Content-Range` restarts the download instead of appending an unchecked body (#546). +- `game/assets`: a malformed `PackSpec` is refused before the cache is touched, and a cached pack whose bytes match its spec is kept when only its signature or contents are refused, so neither deletes good cached bytes (#546). +- `game/assets`: `MemoryPackCache` holds a pack once instead of copying it up to three times (#546). +- `game/modding`: `Manager.Close` leaves no mod reporting `StateLoaded`, and calling an `onEvent` or `onStep` unsubscribe function after the mod unloaded no longer panics (#546). +- `game/editor`: guard `Pick3D` ancestor-descendant box picking against infinite loops on duplicate or empty nested object IDs, and preserve centroid position overrides during multi-object 3D Rotate and Scale drags on instanced or inherited objects (#894). +- `game/editor`: a live problem check finishing no longer rebuilds the layer inspector or the disk conflict banner, which used to drop a click on their buttons, such as a layer field's revert button or Keep mine, and reset a half-filled add-tilemap form (#1036). +- `game/editor`: reserve a fixed slot for the unsaved `*` marker in the editor toolbar so marking a scene dirty or clean never wraps the toolbar onto an extra row or shifts the viewport vertically. +- `game/editor`: preserve open clip saved state and disk snapshots across undo/redo and `OnSaveClip` callbacks so clip dirty tracking clears accurately on save and undo (#906). +- `game/ai`, `game/world3d`, `game/navbake3d`: synchronize lazy coarse tile BVH construction in `TiledNavMesh` so concurrent read-only queries are race-free; prevent path tightening from shortcutting across implicit higher-cost areas or omitting shortcut tiles from `TiledNavPathResult.Tiles`; add 3D corner-grazing bridging to `world3d.TiledNavMesh.RaycastWithFilter`; clamp tile coordinates and reject oversized obstacle tile spans cleanly; and evaluate 3D obstacle Y overlap on the clipped ramp surface rather than the full polygon AABB (#826). +- Memoize the asset import inspector and stop static tooltips from subscribing `InspectorView` to `rev`, preserving unsaved credit/font drafts and focus across unrelated updates; guard atlas `meta.image` and target output paths against path traversal during `ReloadAssets`; report the resolved multi-page atlas JSON path (`name-0.json`) in `AssetReloader` callbacks; and clamp non-finite numeric input conversions (#915). +- `game/navbake`: skip edge endpoints and prevent FMA contraction in polygon convexity validation so arm64 and amd64 agree on collinear vertices. +- `game/editor`: let the tools strip wrap independently in the editor toolbar and clamp the scene path label container so long scene paths cannot push tools off the right edge of the window. +- `game/ai`, `game/world3d`: eliminate arm64 FMA contractions in `NavMesh.RandomPoint` and `NavMesh.RandomPointAround`, move the 3D navmesh flat portal index into `world3d.NavMeshQuery` to avoid concurrent lazy-mutation races and duplicate `NavLink` allocations, and trim `world3d.NavMesh` build allocations (#827). +- `game/physics`: prevent arm64 FMA contraction in `sweepHullAgainst` (`rigid_ccd.go`), wake sleeping partners immediately on `RigidWorld.RemoveBody`, `AddJoint`, `RemoveJoint`, and moved/removed static joint anchors (preserving `Save`/`Restore` rollback determinism), and ensure bodies with `NaN` velocities do not fall asleep (#804). +- `game/rts`: split wall-clock step timing out of `TestCrowdThousandUnitsReachTarget` into `BenchmarkCrowdThousandUnits` tracked by the CI performance baselines so `go tool nsgo test ./rts` stays deterministic on busy machines (#954). +- `game/tooling/importsettings`, `game/editor`: guard `Slice.Cells` against `cell+spacing` and `cols*rows` integer overflows, add zero-allocation `Slice.GridCounts` / `Slice.CellRect` and `MaxSliceCells` cap, bound sprite-sheet import preview drawing and cell picker on dense grids (such as 1×1 cells on a 1024×1024 sheet), finish or cancel image pivot drags cleanly on outside release / `PlayIn` / non-finite coordinates, and enforce project-root symlink containment in `loadImportPreviewImage` (#880). +- `game/tilemap`: fix `EncodeTiled` to clear or update stale `solid`, `one-way`, and `flags` tile properties when flags are cleared via `SetFlags`, refuse non-finite tile sizes and overflowing layer dimensions, and match `Tileset.TileCollisions` (`map[uint32]*ObjectLayer`) in documentation (#814). +- `game/project`: clone `IntGridFlags` and `IntGridValueFlags` in `(*Resolver).LDtkOptions` so callers cannot mutate or race on cached project rules (#814). +- `game/tileshape`: pre-merge chunk `shapePolys`, reject non-overlapping polygon pairs by AABB in `mergeConvexPolys`, and wrap intermediate float products in `float64(...)` to avoid arm64 FMA drift (#814). +- `game/tooling/hotreload`: settle 0-byte reads before delivering file changes so truncate-then-write editor saves do not emit spurious empty-source `ReloadError`s while genuinely empty files still report errors, and make shader hot-reload tests write atomically (#962). +- `game/sceneformat`: `Encode` writes a whole-number float in an object's custom properties with a decimal point (`2.0`), so it reads back as a float and not an int (#865). +- `game/net`: a client whose network vanished without closing its TCP connection no longer keeps its WebSocket session and ID forever, and a native client notices a server that went silent. The idle timeout counts from the last byte received, so a large frame that arrives slowly but steadily is not cut off (#546). +- `game/net`: `WebSocketServer.Close` breaks Sends blocked on clients that do not read and closes all clients at once, and a ping no longer delays a closing `WebSocketTransport` by up to 10 seconds (#546). +- `game/net`: a WebSocket frame's payload is read as it arrives instead of allocated up front from the announced length, and the hello frame is capped, so a slow-loris client cannot reserve 4 MiB per connection (#546). +- `game/net`: `Recv` on every transport pops in constant time; draining n queued packets used to copy n²/2 packets (#546). +- `game/net`: a full snapshot larger than the transport's packet limit no longer leaves a new or resyncing peer without the world forever (#546). +- `game/net`: replication compares ticks in serial-number order, so it keeps working when the `uint32` tick counter wraps, and `Interpolate` works across the wrap (#546). +- `game/net`: the UDP receive loops keep reading after an error about a single datagram, such as an ICMP port unreachable, instead of stopping silently, and a `UDPClient` no longer drops to `ConnDisconnected` on the first one, for example while its server restarts (#546). +- `game/net`: the docs and the `Transport` doc comment say that a transport has a single consumer, and why two consumers on one transport lose packets (#546). +- `game/net`: `UDPTransport` drops datagrams that claim `ChannelReliableOrdered`, which it never sends, instead of queueing them without a limit (#546). +- `game/net`: `LockstepSession` and `RollbackSession` now compare `uint32` ticks with RFC 1982 serial-number arithmetic across membership windows, joins, leaves, rollbacks, checksums, and history pruning; `RollbackSession` retains unconfirmed history until the first tick confirms; `sessionTable` drains peer lifecycle events in amortized O(1) without dropping events; and native WebSocket frame reading rejects RFC 6455 §5.5 control-frame violations (fragmented control frames, payloads over 125 bytes, and reserved opcodes `0xB`–`0xF`) (#749). +- `game/physics`: `CharacterBody.Move` lifts a character onto a walkable slope before testing tile walls, so walking up a slope whose top meets a solid tile's top no longer stops at the tile's side for a step, and it snaps onto a tile top within `SnapDist` when the character walks off the lower end of a slope instead of leaving the ground for a step (#846). +- `game/physics`: `SoftWorld`, `CharacterBody`, `MoveAndSlide` and `World.QueryOverlapLayer` no longer use fused multiply-adds or `math` trigonometry and `math.Pow` on arm64, so XPBD ropes and soft bodies, the character controller and tile collision give bit-identical results on amd64 and arm64, covered by new golden trajectories and an arm64 disassembly check (#1140). +- `game/physics3d`: stacks no longer sink into each other or fall asleep overlapping. A bottom-up shock-propagation pass after the solver stops and pushes out each upper body against the one below, so a 100 kg box on a 1 kg box rests about 1 mm deep instead of 4 cm, and a tall stack under a heavy box settles and sleeps instead of bobbing 8 cm deep; a body more than 5 mm into a neighbor stays awake, and a sleeping body pushed deeper than 1 cm wakes (#546). +- `game/physics3d`: a shape below a heightfield's surface is pushed out by the depth measured along the upward normal it is pushed along, not the shallower depth of the downward normal it replaced (a sphere 0.3 below the surface got 0.2 instead of 0.8); a shape beside a cell, such as one at the foot of a step touching the plateau's edge, keeps its measured depth (#546). +- `game/physics3d`: debug drawing with an orthographic `[0, 1]` camera no longer has to draw colliders, contacts and rays behind the camera; set `DebugStyle.DepthZO` (#546). +- `game/scene3d`: `ReparentKeepWorld` (and `SetParent` with `keepWorld`) solves the new local transform on world matrices, so a node under a rotated, non-uniformly scaled parent keeps its world matrix; when that local transform would need shear, or the parent is singular, it returns the new `ErrNotDecomposable` and changes nothing (#546). +- `render3d`: reordered `LightWGSL` helper declarations so Apple Metal MSL compiles without forward declarations, removed the unused compute-shader check from `DeviceSupportsClusteredLighting` so Apple Metal uses the full clustered storage-buffer path, and recorded desktop Metal 4 frame-rate measurements for 256 clustered point lights (#382). +- `game/anim3d`: a root-motion step that crosses a loop boundary composes its rotations in playback order, so pitch-and-yaw clips no longer turn the wrong way at the wrap (#546). +- `game/anim3d`: layers that play a clip leave joints the clip has no track for untouched (override layers no longer reset them, additive layers no longer apply the negated reference), blend spaces honour `Clip.Loop` and share weight between samples at the same parameter, the step that completes a crossfade fires the outgoing state's events, `Update(0)` no longer starts transitions, a blend space shared by both crossfade states advances once per step, negative speeds fire events in reverse order, and two-bone IK aims a chain with one zero-length bone (#546). +- `game/physics3d`: rotated boxes collide, raycast and draw as oriented boxes instead of their AABB, contact impulses apply torque (spheres roll, boxes tip), sleeping bodies wake for kinematic, jointed and lost-support motion, fast bodies are swept against static geometry without being held back by contacts they already have, such as the floor they slide along, deep box-capsule contacts separate the whole capsule, coincident capsule contacts get perpendicular normals, deep triangle-mesh BVHs no longer drop triangles, non-finite body inputs fall back to defaults, massless kinematic bodies stay kinematic, duplicate mesh/heightfield IDs are reassigned and removed bodies drop their warm-start cache (#546). +- `game/scene3d`/`game/world3d`: `MeshCollider` caches its bounds, query visibility filtering is memoized so deep hierarchies no longer cost O(hits x depth), `Heightmap.Raycast` no longer scans the whole grid per ray, `FoliageLayer.BoundingRadius` keeps large instances visible while any part is in range, a zero `ChunkStreamer` no longer panics, `MeshLibrary.Add` returns 0 instead of looping when IDs run out, exhausted BVH leaf slots are retired instead of wrapping their generation, and the floating-origin, GridMap raycast and BVH sync docs match the code (#546). +- `game/math3d`: spline `DistanceToT` keeps float64 arc lengths and an interval-relative Newton tolerance so long curves stay precise, `ToEuler`/`ToEulerXYZ` keep roll near the gimbal pole, and ray-plane and ray-triangle tests use relative parallel thresholds (#546). +- `game/gltf`: loading refuses indices past the vertex count, attribute and morph-target count mismatches, mesh weights that do not match the targets, non-finite vertex data, `JOINTS_0` values past the skin, unordered sparse indices, a second GLB JSON chunk or misplaced BIN chunk, and an unsupported `asset.minVersion`; a sheared node matrix sets `Node.MatrixNotTRS` and keeps its translation (#546). +- `game/entities`: `entities.Set` with a `Transform2D` marks the hierarchy subtree dirty like `SetLocal`, `Each*` document when component pointers stop being valid, and the 2D hierarchy (transforms, visibility, keep-world reparenting, remove policies, snapshots) is documented (#546). +- `game/save`: `Delete` removes the backup before the primary so an interrupted delete cannot resurrect the slot, `Load` rewrites a missing or unparseable primary from the recovered backup but never one that only failed to read or that a newer build may have written, envelopes with unknown or duplicate fields are corrupt unless their version is newer (then `ErrFutureVersion`), directory-sync failures are returned except where the file system cannot sync a directory, stale `.save-*.tmp` files are swept, and migration idempotency is documented (#546). +- `game/assets`: a DLC pack is verified on the same reader it is mounted from and `DirPackCache` serves a mounted pack through one open file, so replacing the cache file cannot inject unverified bytes; pack entry and size caps are configurable through `DLCOptions.Limits` (#546). +- `game/render3d`: `ProjectSegmentNO`, `DebugDraw.DepthNO` and `Gizmo.DepthNO` clip debug lines and gizmos at the near plane of an OpenGL-style `[-1, 1]` projection, which the `[0, 1]` default hid the near half of, `Gizmo.AppendSegments` reuses a slice and `DrawGizmo` no longer allocates, planar translate handles are drawn as the squares picking tests, draws whose sort keys tie keep submission order, and occlusion culling is documented (#546). +- `game/physics3d`: `HingeJoint.Angle` is tracked across steps so hinges turn past ±π and limits can span more than a turn, box inertia uses the analytic (2/9)·m·Σe² mean and offset shapes add the parallel-axis term, rays that start inside a sphere or capsule report a normal facing the ray like boxes do, `CharacterController.PushForce` lets the character push dynamic bodies, and the docs describe slack `DistanceJoint` ranges and how to make dynamic bodies collide with the character (#546). +- `game/math3d`: frustum tests allow rounding slack relative to each plane so points on a distant far plane are not culled, `NewHermiteSpline3D` fills missing tangents with Catmull-Rom tangents instead of zero, uniform Catmull-Rom splines keep evenly spaced knots at coincident points, and curves are documented (#546). +- `game/save`: `StorageBackend.Slots` returns slot names that contain `.` or `%` as written, not as their escaped storage keys (#539). +- `game/physics`: a fast `RigidBody` stopped by continuous collision loses its velocity into the surface at every point of the face it lands on, so a box dropped from high enough to be swept onto a static floor or tiles comes to rest level and sleeps instead of hovering 0.1 px above it, gaining speed, and a box landing across a tile seam no longer tumbles (#805). +- `game/physics`: `GridSnapshot` keeps a `Grid`'s origin, so `World.Restore` no longer moves a grid with a non-zero `OriginX` or `OriginY` back to (0, 0) (#805). +- The starter template's `go.mod` pins `packages/game` to a commit on `main`; the commit it pinned before was dropped when its branch was rebase merged, so a game made with `nsgo init -template` could not download the game layer. +- `template/visualnovel`: set `OnDemand: true` on `game.Loop` and make `game_test.go` pin the test locale, post direct state mutations through `app.Post`, and step the status timer within `MaxSteps`, so `nsgo test -target macos -activate` advances past the title screen and passes without stalling (#801). +- Lazily allocate `tilemap.Tilemap`'s edit ring buffer only on per-cell edits, deduplicate Tiled XML/JSON layer decoders, and pack `world3d.BuildNavMesh` polygon vertices into a single backing slice to restore `LoadTiled`, `NavMeshFromBake`, and WebAssembly size budgets. + +### Security + +- `game/modding`: a mod without `CapStorage` can keep at most one byte through the `"nsgo"` module's `Storage`, which NSGo exposes in every sandbox: its storage partition gets a one-byte quota (#546). diff --git a/README.md b/README.md index 73cac27c3..4d3382485 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The loop, input actions, sound and scene switching are shared by both stages. It ## Status -Early and unreleased. Every package is either stable or experimental: stable packages break their API only in a minor release and only after a deprecation period, experimental ones may change in any minor release. The [API stability policy](docs/en/stability.md) ([中文](docs/zh/stability.md)) defines both, describes how deprecations work across releases, and lists each package's status. +Released as `v0.1.0` (compatible with NSGo `v0.3.4` or later). Every package is either stable or experimental: stable packages break their API only in a minor release and only after a deprecation period, experimental ones may change in any minor release. The [API stability policy](docs/en/stability.md) ([中文](docs/zh/stability.md)) defines both, describes how deprecations work across releases, and lists each package's status. The plan is [nsgo#1047](https://github.com/nsgo-dev/nsgo/issues/1047), and its tasks are this repository's issues. The engine-side primitives it needs (key-up and held keys, display frame times, gamepads, audio everywhere, a batched `DrawAtlas`, the GPU view) are tracked in NSGo. @@ -70,7 +70,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for the repository layout, local test and | `game` | Go | NSGo | | --- | --- | --- | -| Unreleased / `v0.1.0` | 1.27+ | `v0.3.4` or later | +| `v0.1.0` | 1.27+ | `v0.3.4` or later | ## Networking diff --git a/changelog.d/1011-editor-agent-turns.md b/changelog.d/1011-editor-agent-turns.md deleted file mode 100644 index 08188fe50..000000000 --- a/changelog.d/1011-editor-agent-turns.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- Editor: multi-file pending agent turns (`StartAgentTurn`, `EndAgentTurn`, `StopAgentTurn`, `KeepAgentTurn`, `RevertAgentTurn`, `UndoRevertAgentTurn`, per-change and per-file revert/restore) with derived structural diffs across scenes, prefabs, data tables, `game.yaml`, and clips, `AuthorAgent` history tagging for single-step multi-file Undo/Redo, Spec Undo toasts, Checkpoints `⌘Z` rules, and the Agent panel summary card (`Main.dc.html`). -- Editor MCP (`editormcp`): `turn_start`, `turn_end`, read-only `turn_status`, and multi-file in-memory `file_edit` tools, plus optional `why` explanations and active-turn multi-scene editing on `scene_edit` and `object_set_field`. diff --git a/changelog.d/3d-objects-that-draw-a-gltf-model-889.md b/changelog.d/3d-objects-that-draw-a-gltf-model-889.md deleted file mode 100644 index e1a1cb3ee..000000000 --- a/changelog.d/3d-objects-that-draw-a-gltf-model-889.md +++ /dev/null @@ -1,11 +0,0 @@ -### Added - -- `game/scenemodel`: scene file objects draw in 3D. `Build` builds a scene into a `scene3d` tree as `BuildNodes3D` does and attaches to each object's node the geometry and materials of its built-in primitive or glTF model, with `LocalBounds` from the geometry; `Assets` loads models, material files and textures from a project's files, `Built.AppendDrawItems` feeds `render3d.Queue`, and `Renderer` draws the parts lit and textured (#889). -- `game/sceneformat`: version 2 objects and overrides name a glTF 2.0 model in `model`, by its path from the project root, optionally narrowed to one node (`modelNode`) or mesh (`modelMesh`); an object's `material` replaces the model's materials, and an override's `mesh: ""` removes an inherited primitive so that it can set `model`. `CheckObjectModel` checks these fields on one object (#889). -- `game check` reports a missing or broken model, and a `modelNode` or `modelMesh` the model does not have, with the scene file and line, including what an override in an instancing or inheriting scene changes, at the override; `game mv`, `game index` and the editor's `MoveFile` rewrite the scenes and overrides that name a moved model, and the `.gltf` files whose separate buffers and images move, keeping their URIs percent-encoded (#889). -- Lantern 3D loads its level from a scene file, `assets/shrine.scene.yaml`, built with `scenemodel.Build` (#889). - -### Changed - -- `game/sceneformat`: an object's `mesh` must name a built-in primitive, `box`, `sphere`, `plane`, `capsule` or `cylinder` (`MeshPrimitives`), and cannot be combined with `model`; it was free text no loader read (#889). -- `game/editor`: the 3D inspector's Mesh field picks a built-in primitive from a list, disabled on an object that draws a model; `SetObjectMesh` refuses any other name and a primitive on an object that draws a model, and `PlaceObject` refuses an object whose mesh and model fields `sceneformat.CheckObjectModel` refuses, leaves a prefab's primitive off an object that draws a model, and raises a version 1 scene to version 2 when the object draws one (#889). diff --git a/changelog.d/3d-viewport-navigation-891.md b/changelog.d/3d-viewport-navigation-891.md deleted file mode 100644 index 168754d59..000000000 --- a/changelog.d/3d-viewport-navigation-891.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: the 3D viewport pans with a middle-button drag, a Shift-drag, a touchpad's scroll or a two-finger drag, zooms with the wheel or a pinch, and flies while the right button is held, looking with the pointer and moving with W, A, S, D, Q and E at a speed the wheel changes. F frames the selection, the number keys and a Spec-styled orientation widget with clickable, keyboard-focusable axis buttons and Orbit 15° controls turn to the front, back, right, left, top and bottom views, and 5 or the Spec-styled 3D viewport bar switches between perspective and orthographic (alongside the Lit/Unlit/Wireframe shading menu, view name, Reset view, keycap help line, Local/Global transform space toggle, and Focus F button), with accurate orthographic picking and gizmo drags and status bar yaw/pitch/space readout. Each scene of a project opens at the camera it was left at, kept in `.game/editor.yaml` out of version control (`SaveViewState`) (#891). diff --git a/changelog.d/a-chain-of-passes-over-the-game-93.md b/changelog.d/a-chain-of-passes-over-the-game-93.md deleted file mode 100644 index 112bb291f..000000000 --- a/changelog.d/a-chain-of-passes-over-the-game-93.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/effects`: a chain of Kage shader passes over the game's frame, fused into one program with no texture between passes, with per-effect uniforms animated on the frame clock (`Clock`), an `effects.View` over a pixel-buffer frame and CPU `Reference` pictures for headless golden tests (#93). diff --git a/changelog.d/a-layers-panel-to-pick-the-active-layer-862.md b/changelog.d/a-layers-panel-to-pick-the-active-layer-862.md deleted file mode 100644 index b211d8c70..000000000 --- a/changelog.d/a-layers-panel-to-pick-the-active-layer-862.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: a layers panel (`LayersView`) under the scene tree lists the scene's layers in draw order with their space and tilemap, makes the pressed layer the active one, and adds, removes, renames, reorders (by drag or context menu), hides and locks layers; `AddLayer`, `RemoveLayer` (which takes the connections of the layer's objects with it), `RenameLayer`, `MoveLayer`, `SetLayerVisible` and `SetLayerSpace` do the same as undoable commands that round-trip the scene file, `SetLayerLocked` keeps the viewports from picking, moving or painting a layer for the session, `Layers` reports what the panel shows, and the status bar marks the active layer hidden or locked (#862). diff --git a/changelog.d/a-music-clock-and-latency-calibr-527.md b/changelog.d/a-music-clock-and-latency-calibr-527.md deleted file mode 100644 index b381cb570..000000000 --- a/changelog.d/a-music-clock-and-latency-calibr-527.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/rhythm`: versioned YAML beat maps with tempo and meter changes, a music `Clock` on NSGo's audio clock that syncs to a player and stays within a millisecond of the map, and audio/video latency calibration (`Calibration`, a gameui `CalibrationScreen`) with per-device offsets kept as YAML in `core.Storage` (#527). diff --git a/changelog.d/a-node-tree-in-scene-files-484.md b/changelog.d/a-node-tree-in-scene-files-484.md deleted file mode 100644 index 4d59dd374..000000000 --- a/changelog.d/a-node-tree-in-scene-files-484.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sceneformat`: objects hold `children` with local transforms, built into composed 2D world transforms by `Build`, into the entity hierarchy by `SpawnEntities` and into a 3D node tree by `BuildNodes3D`; `Validate` refuses a child sprite whose composed transform is sheared, and `CheckObjectTree` checks one tree's depth and shear (#484). diff --git a/changelog.d/a-scene-tree-panel-to-select-reparent-re-861.md b/changelog.d/a-scene-tree-panel-to-select-reparent-re-861.md deleted file mode 100644 index de8f62416..000000000 --- a/changelog.d/a-scene-tree-panel-to-select-reparent-re-861.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/editor`: a scene tree panel (`SceneTreeView`) lists the scene's layers and nested objects, selects them in step with the viewports, and reparents, reorders, renames and moves them between layers by drag or context menu, keeping their world transform; `ReparentObject`, `MoveObjectToLayer`, `ReorderObject`, `DropObject` and `SetObjectID` (which rewrites the connections that name the object) do the same as undoable commands, and per-row eye and lock toggles (`SetObjectHidden`, `SetObjectLocked`) hide or lock objects in the viewports for the session without touching the scene file (#861). - -### Changed - -- `game/editor`: `FindObject`, `SelectObject` and every object edit work on nested children, with transforms in the child's local space, and both viewports draw and pick nested children; `Objects3D` lists them with a new `Object3DRef.ParentID` (#861). diff --git a/changelog.d/a-tile-palette-to-pick-the-tile-to-paint-874.md b/changelog.d/a-tile-palette-to-pick-the-tile-to-paint-874.md deleted file mode 100644 index ba103636a..000000000 --- a/changelog.d/a-tile-palette-to-pick-the-tile-to-paint-874.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: a tile palette right of the viewport while a tile tool is active, showing the active layer's tileset in tile ID order at the tilemap's tile size; pressing a tile or moving with the arrow keys picks the tile Paint and Fill write, the status bar shows its ID, the palette follows the active layer, and a layer without tiles to pick says why. `Editor.TilePalette` returns what it shows (#874). diff --git a/changelog.d/a-tutorial-series-that-builds-a-508.md b/changelog.d/a-tutorial-series-that-builds-a-508.md deleted file mode 100644 index 0e4ace457..000000000 --- a/changelog.d/a-tutorial-series-that-builds-a-508.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `examples/tutorial`: Star Catcher, a tutorial game built in nine chapters from an empty project to release builds, each chapter a complete, tested program, with the chapters in English and Chinese under `docs/` (#508). diff --git a/changelog.d/abilities-and-cooldowns-517.md b/changelog.d/abilities-and-cooldowns-517.md deleted file mode 100644 index 95077007f..000000000 --- a/changelog.d/abilities-and-cooldowns-517.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ability`: YAML ability sets and a fixed-step `Caster` with costs, cooldowns, sequential charges, cast and channel times, conditions, press/hold input triggers, events and snapshot/restore, counting every timer in whole steps (#517). diff --git a/changelog.d/achievements-107.md b/changelog.d/achievements-107.md deleted file mode 100644 index b38efc886..000000000 --- a/changelog.d/achievements-107.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/achievements`: achievements declared in a versioned YAML file with per-service Game Center and Play Games IDs, a `Tracker` with monotonic progress persisted in `core.Storage` and saved outside its lock, and `SignIn`, which reports unacknowledged progress through NSGo's `gameservices`; SlideGem reports its achievements to both services (#107). diff --git a/changelog.d/ai-attack-tokens-squads-841.md b/changelog.d/ai-attack-tokens-squads-841.md deleted file mode 100644 index 0611cdc22..000000000 --- a/changelog.d/ai-attack-tokens-squads-841.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: attack token pools (`TokenPool`, `TokenManager`, `WithAttackToken`, `HasAttackToken`) with priority preemption, cooldowns, and hold timeouts; non-crossing concentric engagement slot assignment (`SlotAssigner`) with hysteresis around moving targets; and `Squad` coordination with shared `SquadState`, scored role matching, and behavior-tree-readable `SquadOrder`s (#841). diff --git a/changelog.d/ai-bounded-incremental-paths-832.md b/changelog.d/ai-bounded-incremental-paths-832.md deleted file mode 100644 index 957dcbafd..000000000 --- a/changelog.d/ai-bounded-incremental-paths-832.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/ai`: add expansion budgets and partial-path fallback (`PathOptions`, `GridPathResult`, `NavPathResult`, `AStar.MaxExpansions`, `AStar.FindWithOptions`, `AStar.FindWithOptionsInto`, `NavMesh.FindPathWithOptions`), deterministic incremental path searches (`AStarSearch`, `NavMeshSearch`, `IncrementalSearch`, `SearchStatus`), and a budgeted deterministic `PathQueue` with FIFO/round-robin scheduling, priorities, cancellation, polling, and callbacks (#832). -- `game/world3d`: add bounded and partial 3D `NavMesh` searches (`NavPathResult`, `NavMesh.FindPathWithOptions`) and incremental `NavMeshSearch` (`NavMesh.StartSearch`, `NewNavMeshSearch`) implementing `ai.IncrementalSearch` for direct scheduling on `ai.PathQueue` (#832). diff --git a/changelog.d/ai-bt-ext-842.md b/changelog.d/ai-bt-ext-842.md deleted file mode 100644 index 480a114b7..000000000 --- a/changelog.d/ai-bt-ext-842.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: behavior tree timeout (`TimeLimit`), retry (`Retry`), deterministic `random.Stream`-backed random choices (`RandomSelector`, `RandomSequence`, `WeightedSelector` / `WeightedNode`), and periodic branch service (`Service`) nodes (#842). diff --git a/changelog.d/ai-bt-fsm-inspect-836.md b/changelog.d/ai-bt-fsm-inspect-836.md deleted file mode 100644 index 9fd6bbc2a..000000000 --- a/changelog.d/ai-bt-fsm-inspect-836.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`, `game/flow`, `game/debug`: add optional behavior tree node names (`ai.Named`, preserved from `*.bt.yaml`) and zero-allocation read-only tree inspection (`ai.BTInspector`, `WalkInto`, `RunningPathInto`, `FormatBTTrace`), bounded transition history and `MachineInspector` snapshots/formatting on `flow.Machine`, and `-tags release`-stripped AI inspector overlay panels and steering debug draw helpers (`debug.AISnapshot`, `Overlay.SetAI`, `Overlay.DrawSteering`) (#836). diff --git a/changelog.d/ai-bt-fsm-snapshot-837.md b/changelog.d/ai-bt-fsm-snapshot-837.md deleted file mode 100644 index 14e9ee319..000000000 --- a/changelog.d/ai-bt-fsm-snapshot-837.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/ai`: add deterministic behavior tree state snapshots (`BehaviorTree`, `BehaviorTreeSnapshot`, `BTNodeSnapshot`, `SnapshotBehaviorTree`, `RestoreBehaviorTree`, `SnapshotNode`, `ChildNodes`, `ErrInvalidBTSnapshot`) with YAML/JSON round-trip support, structural shape validation, and transactional restore across all built-in and custom nodes (#837). -- `game/flow`: add `Machine.Snapshot`, `Machine.Restore`, `Machine.Started`, `MachineSnapshot[S]`, and `ErrInvalidSnapshot` to save and restore finite state machine state without running `Exit` or `Enter` hooks (#837). diff --git a/changelog.d/ai-bt-yaml-blackboard-835.md b/changelog.d/ai-bt-yaml-blackboard-835.md deleted file mode 100644 index 3d64bff7a..000000000 --- a/changelog.d/ai-bt-yaml-blackboard-835.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: add typed per-agent/shared `Blackboard` with change notifications and monotonic revisions, `BlackboardCondition` decorator with observer aborts (`none`, `self`, `lower`, `both`), versioned `*.bt.yaml` parser/encoder/builder (`ParseBehaviorTree`, `EncodeBehaviorTree`, `LoadBehaviorTreeFS`, `BuildBehaviorTree`) supporting subtrees with parameter/key bindings and cycle detection via `loaderr`, and published JSON Schema `bt.v1.json` (#835). diff --git a/changelog.d/ai-goap-843.md b/changelog.d/ai-goap-843.md deleted file mode 100644 index 51ac9130d..000000000 --- a/changelog.d/ai-goap-843.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: goal-oriented action planning (GOAP) with bitset-packed `WorldState` and small integer facts, regressive A* `GOAPPlanner` with node budget and zero-allocation buffer reuse, auto-replanning `PlanRunner` implementing behavior tree `Node`, and versioned YAML action sets `ParseGOAP`/`EncodeGOAP` (#843). diff --git a/changelog.d/ai-hex-graph-search-831.md b/changelog.d/ai-hex-graph-search-831.md deleted file mode 100644 index 3f4eedc73..000000000 --- a/changelog.d/ai-hex-graph-search-831.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: add generic reusable-buffer graph search (`Graph`, `HeuristicGraph`, `GraphFunc`, `GraphSearch`, `GraphRange`) supporting A*, Dijkstra, and budgeted range queries with path reconstruction, a `HexGrid` adapter over `tilemap.Tilemap` covering all hex stagger axes and indices, and a 2D/3D `WaypointGraph` (#831). diff --git a/changelog.d/ai-hpa-jps-833.md b/changelog.d/ai-hpa-jps-833.md deleted file mode 100644 index 9464fd0e7..000000000 --- a/changelog.d/ai-hpa-jps-833.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/ai`: add deterministic HPA* hierarchical pathfinding (`HPA`) with configurable clusters, automatic border entrances, weighted `CostGrid`/`EdgeCostGrid` support, incremental dirty-cluster updates (`UpdateCell`, `UpdateRect`, `RebuildDirty`), abstract/corridor queries, and Jump Point Search (`JPS`) for exact optimal 8-way uniform-cost square grids (#833). -- `game/rts`: add `SectorFlowField` (`BuildAlongHPA`, `BuildSectors`) to integrate flow fields only along an HPA* cluster corridor on large maps (#833). diff --git a/changelog.d/ai-influence-maps-844.md b/changelog.d/ai-influence-maps-844.md deleted file mode 100644 index 4888fe227..000000000 --- a/changelog.d/ai-influence-maps-844.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: add deterministic influence maps (`InfluenceLayer`) with falloff stamping, obstacle-aware spreading with decay and momentum, layer combinations, spatial and gradient queries, zero-allocation incremental updates, and a `tilemap.Camera` debug heatmap compiled out under `-tags release` (#844). diff --git a/changelog.d/ai-navmesh-agents-828.md b/changelog.d/ai-navmesh-agents-828.md deleted file mode 100644 index 5f6e677a4..000000000 --- a/changelog.d/ai-navmesh-agents-828.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`, `game/world3d`: add deterministic 2D and 3D navmesh path-corridor agents (`NavAgent`, `NavAgentGroup`, `NavAgentState`, `NavLinkEvent`) with cheap local corridor repair, throttled/staggered replan budgeting (`MaxReplansPerStep`, `ReplanInterval`, `StaggerStride`), and off-mesh/flagged link traversal callbacks (`AddOffMeshLink`, `SetEdgeFlags`, `OnLink`) (#828). diff --git a/changelog.d/ai-navmesh-areas-filters-824.md b/changelog.d/ai-navmesh-areas-filters-824.md deleted file mode 100644 index 9a900395b..000000000 --- a/changelog.d/ai-navmesh-areas-filters-824.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`, `game/world3d`: add per-polygon navigation areas (`NavArea`), runtime traversal flags (`NavFlags`), build-time tagging (`BuildNavMeshWithAreas`, `NavPolygonInput`), O(1) runtime area/flag mutation without rebuilding (`PolygonArea`, `SetPolygonArea`, `PolygonFlags`, `SetPolygonFlags`, `AddPolygonFlags`, `ClearPolygonFlags`), and shared query filters (`NavFilter`, `DefaultNavFilter`, `FindPathWithFilter`, `FindPolygonWithFilter`, `ContainsWithFilter`, `NearestPolygonWithFilter`) with admissible area-weighted portal A* across both 2D and 3D navigation meshes (#824). diff --git a/changelog.d/ai-navmesh-queries-827.md b/changelog.d/ai-navmesh-queries-827.md deleted file mode 100644 index 03764c9e1..000000000 --- a/changelog.d/ai-navmesh-queries-827.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`, `game/world3d`: add BVH-accelerated 2D and 3D navigation mesh spatial queries (`NearestPoint`, `Raycast`, `MoveAlongSurface`, deterministic area-weighted `RandomPoint` and reachable `RandomPointAround`, all with `NavFilter` support) plus reusable `NavMeshQuery` and zero-allocation `FindPathInto` / `FindCorridorInto` APIs (#827). diff --git a/changelog.d/ai-offmesh-links-825.md b/changelog.d/ai-offmesh-links-825.md deleted file mode 100644 index ed098b504..000000000 --- a/changelog.d/ai-offmesh-links-825.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `ai.NavMesh` and `world3d.NavMesh` now support full off-mesh links with endpoint `Radius` snapping, one-way or `Bidirectional` traversal, explicit `Cost`, `NavArea` / `NavFlags` filtering (`NavAreaJump`, `NavAreaClimb`, `NavAreaTeleport`, `NavFlagClimb`, `NavFlagTeleport`), arbitrary `UserData`, `OffMeshLinks` / `ClearOffMeshLinks`, shortcut-aware optimal A* search, and traversed link segment reporting on `NavPathResult.Links` (`HasLinks`, `LinkAt`) and `NavLinkEvent` (#825). -- `navbake` and `navbake3d` now store and validate off-mesh links in their YAML formats (`links` / `meshes[].links`) and apply them automatically in `Mesh.NavMesh()`, and `sceneformat` adds the built-in `"nav_link"` component (`RegisterNavLink`, `ExtractNavLinks2D`, `ExtractNavLinks3D`) baked automatically by `navbake3d.Geometry.AddSceneFile` (#825). diff --git a/changelog.d/ai-orca-avoidance-829.md b/changelog.d/ai-orca-avoidance-829.md deleted file mode 100644 index 8a3d729b7..000000000 --- a/changelog.d/ai-orca-avoidance-829.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/ai`: add deterministic, zero-allocation ORCA/RVO2 velocity-based local avoidance (`ORCASolver`, `ORCAConfig`, `ORCAAgent`, `ORCAObstacle`, `ORCAAgent3D`, `ORCAObstacle3D`) supporting 2D and 3D XZ-plane navigation, two-sided static obstacle edges, avoidance layers/masks, smooth priority and stationary responsibility weighting, spatial-hash neighbor acceleration, and input-order-independent canonical LP solving (#829). -- `game/rts`: add `AvoidanceMode` (`AvoidancePush`, `AvoidanceORCA`) and `CrowdOptions.ORCA` so `Crowd` can use `ai.ORCASolver` velocity obstacles alongside its existing overlap push avoidance (#829). diff --git a/changelog.d/ai-smooth-grid-paths-830.md b/changelog.d/ai-smooth-grid-paths-830.md deleted file mode 100644 index b2e1cd540..000000000 --- a/changelog.d/ai-smooth-grid-paths-830.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: add radius-aware line-of-sight grid path smoothing (`SmoothGridPath`, `SmoothGridPathInto`, `GridLineOfSight`, `GridPathOptions`) with zero-allocation buffer reuse, optional Theta* any-angle mode (`AStar.AnyAngle`), and smoothed enemy pathing in `examples/cryptquest` (#830). diff --git a/changelog.d/ai-steering-ext-839.md b/changelog.d/ai-steering-ext-839.md deleted file mode 100644 index 815305ef3..000000000 --- a/changelog.d/ai-steering-ext-839.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: add Reynolds steering behaviors (`Pursue`, `Evade`, `OffsetPursuit`, `Alignment`, `Cohesion`, `ObstacleAvoidance`, `WallAvoidance`, `Hide`, `Interpose`), `CombinePrioritized`, zero-allocation `NeighborGrid`, and 3D/XZ steering (`Agent3D`, `Vec3`, `NeighborGrid3D`, and `*3D` behaviors) compatible with `world3d.NavMesh` paths (#839). diff --git a/changelog.d/ai-tactical-cover-845.md b/changelog.d/ai-tactical-cover-845.md deleted file mode 100644 index 63770aeff..000000000 --- a/changelog.d/ai-tactical-cover-845.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/ai`: add EQS-style tactical position queries (`TacticalQuery`, `CoverPointGenerator`, `RingGenerator`, `GridGenerator`, `NavMeshGenerator`, `DistanceTest`, `LOSTest`, `AngleTest`, `PathDistanceTest`, `InfluenceTest`, `CoverHeightTest`, `CustomTest`), cover points with tilemap/grid/2D collider generators, deterministic `PointReservations` with timeout and explicit release, and per-step `QueryBudget` limits with zero-allocation buffer reuse (#845). -- `game/sceneformat`: add the built-in `cover_point` scene YAML component (`CoverPointComponent`, `RegisterCoverPoint`, `ExtractCoverPoints`, `ExtractBuiltCoverPoints`) for authoring cover points in scenes (#845). -- `game/physics3d`: add 3D collider-edge cover point generation (`World.GenerateCoverPoints`, `GenerateCoverPointsFromBodies`) projecting static box, oriented box, sphere, and capsule faces onto the XZ plane (#845). diff --git a/changelog.d/ai-utility-840.md b/changelog.d/ai-utility-840.md deleted file mode 100644 index 5ca43fffc..000000000 --- a/changelog.d/ai-utility-840.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`: utility AI scoring (`Reasoner`, response curves including `*resource.Curve` via `CurveEvaluator`, Dave Mark compensation factor, momentum bonus, top-N weighted selection from `random.Stream`, `UtilitySelector` behavior tree node, and versioned YAML config `ParseUtility`/`EncodeUtility`) (#840). diff --git a/changelog.d/an-api-reference-from-go-doc-com-500.md b/changelog.d/an-api-reference-from-go-doc-com-500.md deleted file mode 100644 index 1926ac52a..000000000 --- a/changelog.d/an-api-reference-from-go-doc-com-500.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tooling/apiref` and `cmd/gameapi`: the exported API of every package read from its doc comments into versioned JSON, rendered on the website as an API reference in English and Chinese with an anchor for each exported identifier, and published at `/api.json` for agents (#500). diff --git a/changelog.d/an-api-stability-policy-512.md b/changelog.d/an-api-stability-policy-512.md deleted file mode 100644 index 719bd6d2a..000000000 --- a/changelog.d/an-api-stability-policy-512.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- An API stability policy: every package is stable or experimental, with a deprecation process across releases, a test that keeps the status table complete, and each package's status shown on its docs page (#512). diff --git a/changelog.d/anim3d-gltf-playback.md b/changelog.d/anim3d-gltf-playback.md deleted file mode 100644 index 8d020320c..000000000 --- a/changelog.d/anim3d-gltf-playback.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/anim3d`: add `Player`, `ClipFromGLTF`, and `ClipsFromGLTF` for glTF 2.0 translation, rotation, scale, and morph-weight animation playback on `game.Loop` fixed steps, supporting `STEP`, `LINEAR`, and `CUBICSPLINE` interpolation, crossfading, scene synchronization, and glTF 2.0 skin joint matrix computation (#122). diff --git a/changelog.d/animation-editor-and-clips-491.md b/changelog.d/animation-editor-and-clips-491.md deleted file mode 100644 index a53a7d304..000000000 --- a/changelog.d/animation-editor-and-clips-491.md +++ /dev/null @@ -1,6 +0,0 @@ -### Added - -- `game/animclip`: animation clips that key any object field or registered component field (`component.field`), checked against the component registry and played on scene objects through `tween.Timeline` with play, seek, loop and events; `BindScene` keeps built sprites in step and a `Binder` binds a game's own state (#491). -- `game/editor`: an animation panel that keys the selected object's properties at the playhead, edits keys' time, value and interpolation, scrubs and plays a preview posed by the same `animclip` player the game uses, and opens and saves clips as `animation` resource files, with every edit undoable; `go tool game editor` takes a clip file and the object to play it on as its second and third arguments (#491). -- `game/sceneformat`: `BuiltObject.Sync` recomposes a built object's world transform, alpha and sprite, and its children's, after its document fields change (#491). -- `game/resource`: `animation` files take `events`, named cues in time order that a player reports as playback crosses them (#491). diff --git a/changelog.d/asset-and-plugin-library-493.md b/changelog.d/asset-and-plugin-library-493.md deleted file mode 100644 index b022eb555..000000000 --- a/changelog.d/asset-and-plugin-library-493.md +++ /dev/null @@ -1,6 +0,0 @@ -### Added - -- `game/tooling/library`: an asset and plugin library: a versioned YAML index anyone can add packs to, pack manifests (`pack.yaml`) for asset, editor plugin and template packs, digests that pin every file, fetching from a directory or over https, and an installer that writes a pack's files into a project, records them with the autoload entries and editor plugins it adds in `game.yaml`, updates an installed pack in place and removes it again, restoring what it changed when a write fails (#493). -- `game/project`: a `packs` section in `game.yaml` recording the installed library packs, and `project.Check` reports a pack file that is missing (#493). -- `go tool game library` lists, installs, updates and removes packs and prints a pack's digest, and `go tool game editor -library` adds a library panel that installs packs into the open project (`Editor.Library`, `InstallPack`, `RemovePack`) (#493). -- `library/`: the shared library's index with a sample asset pack, `dungeon-tiles` (#493). diff --git a/changelog.d/asset-import-settings-487.md b/changelog.d/asset-import-settings-487.md deleted file mode 100644 index 818da78ae..000000000 --- a/changelog.d/asset-import-settings-487.md +++ /dev/null @@ -1,9 +0,0 @@ -### Added - -- `game/tooling/importsettings`: import settings sidecars, versioned YAML files such as `hero.png.import.yaml` beside an image or a sound, with a published JSON Schema (`import.v1.json`). `game assets` reads them: an image's sidecar sets its texture's compression format, mipmaps, sRGB and sampling filter (stored in the KTX2 key/value data as `game.filter`) or slices a sprite sheet in an atlas's folder into frames on a grid, and a sound's sidecar sets its output format, rate, channels, loudness, bitrate and loop points. A sidecar's settings override its target's in `game.yaml`, and editing one rebuilds only the targets that read its asset. An image read by both an atlas and a texture target may carry both kinds of settings, and a sidecar whose asset no target reads, such as a mistyped or differently cased name, is refused (#487). -- `game/tooling/audioconv`: `Buffer.Loop` holds a loop region, which `EncodeWAV` writes in a `smpl` chunk, `DecodeWAV` reads back and `Resample` scales to the new rate (#487). - -### Changed - -- `game/tooling/manifest`: `Scan` skips import settings sidecars (`*.import.yaml`), so they never appear in a generated manifest (#487). -- `game assets` and `game audio` keep the loop of a source WAV's `smpl` chunk in a WAV output, which they used to drop (#487). diff --git a/changelog.d/asset-licenses-513.md b/changelog.d/asset-licenses-513.md deleted file mode 100644 index f775832f7..000000000 --- a/changelog.d/asset-licenses-513.md +++ /dev/null @@ -1,10 +0,0 @@ -### Added - -- `game/tooling/importsettings`: an import settings sidecar may hold a `credit` section, beside an `image` or `audio` section or on its own beside any asset, such as a font or a model, recording the asset's `author`, its `license` as an SPDX license expression (checked by `ValidateLicense`), its `source` and a `notice` its license asks to be shipped. The published `import.v1.json` schema describes it (#513). -- `game/tooling/credits`: collects the credit of every asset `game.yaml`'s `assets` section reaches (the images each atlas packs, each texture and audio input, and every file the manifest lists, leaving out what the targets write) and writes them as a deterministic Markdown credits file, `CREDITS.md`, with a table of authors, licenses and sources, a count per license and every notice (#513). -- `game release` writes `CREDITS.md` beside the packages when `game.yaml` has an `assets` section, and refuses to build while an asset has no credit; without an `assets` section it notes that it writes no credits file. `game credits` writes or prints the same file without building, failing on an uncredited asset; `game credits -out resources/CREDITS.md` puts it in every package (#513). -- `game/project`: `Assets.IsOutput` reports whether a target writes a file (#513). - -### Changed - -- `game assets` accepts a sidecar that holds only a credit, beside an image or a sound a target reads or beside any file in a folder a target reads from. A target's key takes a sidecar's settings rather than its bytes, so editing a credit, a comment or the layout of a sidecar rebuilds nothing (#513). diff --git a/changelog.d/authenticated-connection-handsha-550.md b/changelog.d/authenticated-connection-handsha-550.md deleted file mode 100644 index 2669f61c3..000000000 --- a/changelog.d/authenticated-connection-handsha-550.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/net`: an authenticated connection handshake on WebSocket and the new `UDPServer`/`UDPClient`: `Auth.Verify` checks the client's token, the server assigns its ID and tells the client (the browser too), a dropped client resumes with the same ID within `Auth.GracePeriod`, `NextEvent` reports joins, drops, resumes and leaves, UDP datagrams are bound to the session's address and key, and `Auth.MaxPeers` (1024 by default) caps the sessions a server holds (#550). - -### Changed - -- `game/net`: `ListenWebSocket`, `ListenWebSocketTLS` and `ListenWebSocketTLSFiles` take an `Auth` after the server ID, and `DialWebSocket` takes a token instead of a chosen `PeerID`; the client's ID comes from the server's welcome, and the `X-NSGo-Peer-ID` header is gone. `UDPTransport` no longer learns peers from incoming datagrams: both sides register each other with `AddPeer`, and a datagram is accepted only from the address registered for the ID it claims (#550). diff --git a/changelog.d/bake-navigation-meshes-823.md b/changelog.d/bake-navigation-meshes-823.md deleted file mode 100644 index 089516a5e..000000000 --- a/changelog.d/bake-navigation-meshes-823.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/navbake3d`: bake 3D navigation meshes from level geometry, as Recast does: glTF models, scene files, `world3d` heightmaps and `GridMap`s and `physics3d` static colliders (voxel colliders included), selected by layer mask, are rasterized into a heightfield, filtered by slope, step height and clearance, eroded by the agent's radius, split into regions, traced into simplified outlines and built into convex polygons with height detail, one mesh per named agent type (radius, height, max slope, max climb). The meshes are saved in a versioned `*.navmesh.yaml` file a scene names in its new `navMesh` field, written byte for byte the same for the same level on every CPU architecture, with a JSON schema at `https://game.nsgo.dev/schemas/navmesh.v1.json`, and `Mesh.NavMesh` returns the `world3d.NavMesh` that finds paths, with `DrawDebug` to show it (#823). -- `game navmesh` bakes a scene's glTF level geometry for every agent type in `game.yaml`'s new `navigation` section and writes the file the scene's `navMesh` names (#823). diff --git a/changelog.d/billboards-and-trails-281.md b/changelog.d/billboards-and-trails-281.md deleted file mode 100644 index 2158c0082..000000000 --- a/changelog.d/billboards-and-trails-281.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: camera-facing billboards (view-plane, view-point and axis-locked) and 3D ribbon trails that face the camera at every angle, with near-plane-clipped drawing into a `Drawing` and draw items for transparent sorting (#281). diff --git a/changelog.d/bloom-approximation-96.md b/changelog.d/bloom-approximation-96.md deleted file mode 100644 index 6dc371aef..000000000 --- a/changelog.d/bloom-approximation-96.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/effects`: `Bloom`, a ready single-pass bloom approximation that makes the frame's highlights glow, with `Threshold`, `Intensity` and `Radius` uniforms and a CPU `Reference` for headless golden tests (#96). diff --git a/changelog.d/bullet-patterns-532.md b/changelog.d/bullet-patterns-532.md deleted file mode 100644 index 3c7cc73c5..000000000 --- a/changelog.d/bullet-patterns-532.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/bullets`: shooter bullet patterns (rings, spirals and aimed bursts) in versioned YAML, fired by seeded emitters into a pooled field and drawn through a sprite batch, with a 5000-bullet frame benchmark (#532). diff --git a/changelog.d/cc0-placeholder-pack-509.md b/changelog.d/cc0-placeholder-pack-509.md deleted file mode 100644 index 164aac7cd..000000000 --- a/changelog.d/cc0-placeholder-pack-509.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/placeholder`: a CC0 placeholder asset pack to prototype with, drawn, synthesized and modeled in Go for this repository: seven 16×16 sprite sheets with Aseprite exports and animations, a 32-tile tileset with a Tiled tileset (types, `solid`/`oneWay` and other properties, animations) and a sample level, the proportional Placeholder Pixel BMFont, eight sound effects and a seamless music loop, and three glTF models, each image and sound with its import settings sidecar. `Sheet`, `Font`, `Level`, `Model` and `Sound` load them, `FS()` returns them with a `CREDITS.md`, and the guide gives the `game.yaml` assets section that builds them with `game assets`. A test keeps the examples, the tutorial, the docs and the project template to this pack or assets listed with their license in a `CREDITS.md` (#509). - -### Changed - -- The sample glTF models `crate.glb` and `robot_arm.gltf` moved from `docs/assets/3d-sample` into the placeholder pack's `models` folder, now with a stated CC0 license (#509). diff --git a/changelog.d/completion-nsgo-game.md b/changelog.d/completion-nsgo-game.md deleted file mode 100644 index 80bbdbd28..000000000 --- a/changelog.d/completion-nsgo-game.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game completion`: the zsh, bash and fish scripts also complete `nsgo game …`, and `nsgo`'s own command names after `nsgo`, registering for `nsgo` only while it has no completion of its own (nsgo-dev/nsgo#2367, #1114). diff --git a/changelog.d/component-types-registered-for-f-489.md b/changelog.d/component-types-registered-for-f-489.md deleted file mode 100644 index 21884dfda..000000000 --- a/changelog.d/component-types-registered-for-f-489.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sceneformat`: a component type registry (fields with kinds, defaults, ranges, steps and docs, declared without reflection); `ParseWith` refuses unregistered types, misspelled fields, wrong kinds and out-of-range values with the file, line and column, and `game/editor` checks edits against it and lists every registered field in the inspector (#489). diff --git a/changelog.d/connections-check-queue-entities-694.md b/changelog.d/connections-check-queue-entities-694.md deleted file mode 100644 index a2efb7d70..000000000 --- a/changelog.d/connections-check-queue-entities-694.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/sceneformat`: `Signals.Enqueue` and `Flush` defer events to the end of an update step, running them in enqueue order without re-entering a handler that emits, and `SpawnConnected` spawns a scene's objects as entities after checking its connections, so `EmitEntity`, `EnqueueEntity` and each `Call`'s `SourceEntity` and `TargetEntity` address the entities (#694). -- `game/tooling/assetcheck`: `CheckWith` takes the game's component registry and reports a connection naming an event, handler or argument its objects do not declare, or a component that breaks its type, at the file and line; in a scene that instances or inherits others it also checks the components its overrides write and the connections of the resolved scene, reporting an override that breaks one at the override (#694). - -### Changed - -- `game check` resolves every scene that instances or inherits others, failing on one that does not resolve at the instance or `inherits` line, and on a connection whose `from` or `to` names no object of the resolved scene, at the line that names it (#694). diff --git a/changelog.d/controller-helpers-522.md b/changelog.d/controller-helpers-522.md deleted file mode 100644 index ccb1f54a0..000000000 --- a/changelog.d/controller-helpers-522.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/platformer`: a `Controller` on `physics.CharacterBody` with coyote time, jump buffering, variable jump height, wall slides and wall jumps, each timed per step from a versioned YAML `Config` (#522). diff --git a/changelog.d/convex-hull-and-cylinder-shapes-808.md b/changelog.d/convex-hull-and-cylinder-shapes-808.md deleted file mode 100644 index 70a3e2fa1..000000000 --- a/changelog.d/convex-hull-and-cylinder-shapes-808.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics3d`: `ConvexHull` and `Cylinder` shapes for dynamic bodies, with a deterministic quickhull builder that has a vertex limit (`NewConvexHull`, and `ConvexHullFromMesh` for glTF and `render3d` meshes), GJK and EPA contacts with up to four manifold points against every shape, triangle meshes, heightfields and voxel colliders, raycasts, bounds, mass and inertia from the hull, CCD sweeps, area volumes, debug wireframes, and cover points around standing cylinders (#808). `WorldSnapshot` saves and restores both shapes bit-identically through JSON, and their narrow phase keeps to the cross-architecture FMA-free arithmetic. diff --git a/changelog.d/convex-polygon-capsule-and-segment-shape-803.md b/changelog.d/convex-polygon-capsule-and-segment-shape-803.md deleted file mode 100644 index 3591bb10b..000000000 --- a/changelog.d/convex-polygon-capsule-and-segment-shape-803.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/physics`: convex `Polygon` (up to 8 vertices, optionally rounded), `Capsule`, `Segment` and static `Chain` shapes in `Shape`, with overlap contacts for every pair, raycasts, `World` queries, triggers, `MoveAndSlide`, debug drawing, `RigidBody` narrowphase with up to two clipped contact points, mass and inertia from the shape (`NewRigidBody`, `Shape.Area`, `Shape.Centroid`, `Shape.MomentOfInertia`), and chains that never catch bodies on their interior vertices; `RigidWorld.Save`, `Restore` and `Checksum` carry the new shapes and their local-space geometry, and the new narrowphase stays free of arm64 fused multiply-add (#803). -- `game/tilemap`: `Object.PhysicsShape` and `ObjectLayer.PhysicsBodies` turn Tiled rectangle, ellipse, polygon and polyline objects into static physics shapes (#803). -- `game/mcp`: `game_screenshot` outlines polygon, capsule, segment and chain bodies, counted as `physics_polygons`, `physics_capsules` and `physics_lines` (#803). diff --git a/changelog.d/crt-and-scanlines-94.md b/changelog.d/crt-and-scanlines-94.md deleted file mode 100644 index f585a9dad..000000000 --- a/changelog.d/crt-and-scanlines-94.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/effects`: `CRT`, a ready Kage effect for CRT barrel curvature and horizontal scanlines, with `Curvature`, `Scanlines` and `Lines` uniforms and a CPU `Reference` for headless golden tests (#94). diff --git a/changelog.d/cutscenes-timeline-yaml-1055.md b/changelog.d/cutscenes-timeline-yaml-1055.md deleted file mode 100644 index 7744ae313..000000000 --- a/changelog.d/cutscenes-timeline-yaml-1055.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/cutscene`: added version 2 YAML timeline cutscenes (`kind: timeline`) with camera (`hold`, `pan`, `follow`), actor (`walk`, `state`, `drop`, `patrol`), dialogue (l10n line IDs only), sound and music (with `fadeIn`/`fadeOut`) tracks, deterministic fixed-loop `TimelinePlayer` with `Seek`, `Player.PlayTimeline`/`Step`/`Dialogue`/`TimelineScene`, and published `cutscene.v1.json`/`cutscene.v2.json` schemas (#1055). -- `game/refs` and `game/tooling/assetcheck`: tracked `*.cutscene.yaml` scene and audio paths in `refs` and checked cutscene object IDs, dialogue line IDs (against project l10n tables) and audio paths in `game check` with file and line diagnostics (#1055). diff --git a/changelog.d/data-tables-in-yaml.md b/changelog.d/data-tables-in-yaml.md deleted file mode 100644 index 4bab66b45..000000000 --- a/changelog.d/data-tables-in-yaml.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/tooling/datatable`: YAML data tables are a versioned `version`/`rows` document that refuses unknown and duplicate fields, `MarshalYAML`/`SaveYAML` write them deterministically for a lossless round trip, and YAML tables hot-reload like CSV and JSON (#478). diff --git a/changelog.d/datatable-editor-918.md b/changelog.d/datatable-editor-918.md deleted file mode 100644 index f676fbf34..000000000 --- a/changelog.d/datatable-editor-918.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tooling/datatable`, `game/editor`: untyped round-trip YAML data table editing (`ParseDocument`, `Document`, `RowType`, `Registry`) and a Data Table editor panel (`DataTablePanelView`, `OpenDataTableFile`, `RegisterDataTableType`) that opens tables from the file browser as a sortable, filterable grid with inferred value kinds, undo/redo, lossless saves, and per-pattern Go row-type validation (#918). diff --git a/changelog.d/dialogue-presentation-528.md b/changelog.d/dialogue-presentation-528.md deleted file mode 100644 index 36097c954..000000000 --- a/changelog.d/dialogue-presentation-528.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/vn`: visual novel presentation on top of dialogue scripts: a YAML cast of portraits with expressions and slots, name plates, a typewriter text box, choices, a backlog, auto and skip (read lines only by default) modes, voice lines through `sound`, and the `vn/cmd/vnsample` scene (#528). diff --git a/changelog.d/dlc-modding-audit-546.md b/changelog.d/dlc-modding-audit-546.md deleted file mode 100644 index 80131e66c..000000000 --- a/changelog.d/dlc-modding-audit-546.md +++ /dev/null @@ -1,21 +0,0 @@ -### Added - -- `game/assets`: `PackLimits.MaxPackBytes` caps the archive a `DLCManager` downloads or opens (1088 MiB by default), and `ErrPackTooLarge` reports a pack or a file read from it that passes a limit (#546). - -### Changed - -- `game/assets`: `ParsePackManifest` refuses fields it does not define, keys given twice in one object, and bytes after the manifest, with the line and a fix (#546). -- `game/assets`: the `fs.FS` that `DLCManager.Fetch` returns is also an `io.Closer`; `Remove` of a pack that is still mounted deletes the cached pack when the last mount is released, by `Close` or by the group `FetchGroup` loaded being reset or mounted again (#546). -- `game/modding`: `Manager.SetGrant` on a loaded mod takes effect at once, removing the mod's panels when it revokes `CapUI` and reloading the mod when the grant changes `CapAudio` or `CapStorage` (#546). - -### Fixed - -- `game/assets`: a mounted DLC pack reads each file as it decompresses, bounded by `PackLimits`, instead of allocating the size the archive's header claims (#546). -- `game/assets`: a download of a `PackSpec` without a `Size` stops at `MaxPackBytes` instead of growing its `.part` file without bound, and a `206 Partial Content` without `Content-Range` restarts the download instead of appending an unchecked body (#546). -- `game/assets`: a malformed `PackSpec` is refused before the cache is touched, and a cached pack whose bytes match its spec is kept when only its signature or contents are refused, so neither deletes good cached bytes (#546). -- `game/assets`: `MemoryPackCache` holds a pack once instead of copying it up to three times (#546). -- `game/modding`: `Manager.Close` leaves no mod reporting `StateLoaded`, and calling an `onEvent` or `onStep` unsubscribe function after the mod unloaded no longer panics (#546). - -### Security - -- `game/modding`: a mod without `CapStorage` can keep at most one byte through the `"nsgo"` module's `Storage`, which NSGo exposes in every sandbox: its storage partition gets a one-byte quota (#546). diff --git a/changelog.d/draco-and-meshopt-272.md b/changelog.d/draco-and-meshopt-272.md deleted file mode 100644 index 3fa4c766f..000000000 --- a/changelog.d/draco-and-meshopt-272.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/gltf`: load Draco (`KHR_draco_mesh_compression`) and meshopt (`EXT_meshopt_compression`, `KHR_meshopt_compression`) compressed geometry, plus `KHR_mesh_quantization`, decoded in pure Go and checked against the compressed and uncompressed Khronos sample models (#272). diff --git a/changelog.d/drag-and-drop-with-layouts-533.md b/changelog.d/drag-and-drop-with-layouts-533.md deleted file mode 100644 index 19e78b82c..000000000 --- a/changelog.d/drag-and-drop-with-layouts-533.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/cards`: drag and drop in the game view with the mouse and touch alike, cards snapping into slots that accept them (tags, capacity, predicates) and tweening back from ones that do not, fanned-hand, deck/pile and grid layouts, and versioned YAML board files (#533). diff --git a/changelog.d/drag-rotate-and-scale-objects-in-the-2d-863.md b/changelog.d/drag-rotate-and-scale-objects-in-the-2d-863.md deleted file mode 100644 index 1e48a2c53..000000000 --- a/changelog.d/drag-rotate-and-scale-objects-in-the-2d-863.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: the 2D viewport drags objects with the Select or Move tool, keeping the offset from where they were grabbed, and draws a transform gizmo on the selection, nested children included: a free-move square, X and Y arrows along the object's own axes, a rotation ring, and corner and edge scale handles about the origin, with Shift keeping the aspect ratio; each drag is one undoable step, Escape or a cancelled gesture puts the object back, drags follow the object's layer under any view or camera zoom and rotation, a scale or rotation that would shear a sprite is refused as `ScaleObject` and `RotateObject` refuse it, and objects hidden or locked in the scene tree are left alone (`BeginDrag2D`, `UpdateDrag2D`, `EndDrag2D`, `CancelDrag2D`, `PickGizmo2D`, `Dragging2D`, `Gizmo2DShown`, `GizmoHandle2D`) (#863). diff --git a/changelog.d/drag-to-paint-and-erase-tiles-875.md b/changelog.d/drag-to-paint-and-erase-tiles-875.md deleted file mode 100644 index b8d3ed419..000000000 --- a/changelog.d/drag-to-paint-and-erase-tiles-875.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: drag with Paint or Erase to paint or erase every cell the stroke crosses, recorded as one undo step, with a right-button drag erasing while Paint is active; an outline of the cell under the mouse that shows what a press would do; and picking the tile in a cell as the active tile with Alt+click or the new Pick tool. `Editor.BeginTileStroke`, `ContinueTileStroke`, `EndTileStroke`, `CancelTileStroke`, `PickTile`, `SetTileHover` and `HoveredTile` do the same in Go (#875). diff --git a/changelog.d/draw-a-batch-with-drawatlas-28.md b/changelog.d/draw-a-batch-with-drawatlas-28.md deleted file mode 100644 index 2ce89e1fc..000000000 --- a/changelog.d/draw-a-batch-with-drawatlas-28.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/sprite`: `Batch.Draw` draws consecutive sprites that are only moved, rotated and scaled evenly with one NSGo `DrawAtlas` instead of one `DrawImageFrom` each, drawing the same picture (mirrored, unevenly scaled, blended and masked sprites keep their own draw, and `game/scene` layers sorted by Y or a custom key still draw one sprite at a time); recording 5,000 sprites takes 0.59 ms instead of 0.93 ms with 3 allocations instead of 5,000, while the sprite count at 60 fps on a device is not measured yet. A sprite with a NaN or infinite position, origin, rotation, scale or alpha now draws nothing, and a batch with no atlas draws nothing instead of panicking. `game/gametest` adds `ImageDraws` and `AssertSameImages` to check drawn images (with their tint, sampling and clip) however they were recorded, and `RenderOps` renders `DrawAtlas` (#28). diff --git a/changelog.d/draw-the-3d-viewport-with-render3d-on-a-890.md b/changelog.d/draw-the-3d-viewport-with-render3d-on-a-890.md deleted file mode 100644 index c0ec44324..000000000 --- a/changelog.d/draw-the-3d-viewport-with-render3d-on-a-890.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/editor`: the 3D viewport draws the scene as the game does. A `gpu.View` fills the panel and draws the scene's `scenemodel` build (`Scene3D`), its primitives and glTF models shaded and textured with render3d, lit by the lights an embedding editor sets (`SetLights3D`) or by `DefaultLights3D` under a gradient sky, with the grid, axes, selection outline and gizmo on the canvas over it. Lit, Unlit and Wireframe shading (`SetShading3D`) are in the toolbar, `View > 3D Shading` and the command palette. Models, material files and images load through the `Resolver` or from the open project's files, and a scene that does not build says why in the viewport's corner (`Viewport3DError`). `OrbitCamera3D.SceneCamera` gives the `scene3d.Camera` the view draws through (#890). -- `game/scenemodel`: `Renderer.SetShading` switches between `ShadingLit` and `ShadingUnlit`, which draws each part at its textured base color plus its emissive color and ignores the lights (#890). - -### Changed - -- `game/editor`: a press in the 3D viewport selects a mesh or model by its triangles instead of a sprite-sized box, and the geometry an instanced scene adds selects its instance; `ObjectCorners3D` and `ObjectAABB3D` give such an object's box as its geometry's bounds. A gizmo drag, the animation clip's pose and a playing game move the built geometry in place without building it again. Where the target has no GPU the wireframe view remains (`Viewport3DOnGPU`) (#890). diff --git a/changelog.d/dump-game-state-as-text-504.md b/changelog.d/dump-game-state-as-text-504.md deleted file mode 100644 index 1183999e6..000000000 --- a/changelog.d/dump-game-state-as-text-504.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/statedump`: run a game headless from a `replay.Recording` and write its entities, components, scene stack and values as deterministic YAML that round-trips through `Parse`, with a line `Diff` between runs (#504). diff --git a/changelog.d/dungeon-and-level-generation-531.md b/changelog.d/dungeon-and-level-generation-531.md deleted file mode 100644 index 8d4fec20c..000000000 --- a/changelog.d/dungeon-and-level-generation-531.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/procgen`: seeded, deterministic level generation on a tile grid: BSP rooms with corridors, cellular-automata caves that keep or join their regions, and wave function collapse from a versioned YAML rule file with a path constraint, plus 4-connected region checks and painting into a tilemap layer (#531). diff --git a/changelog.d/editor-3d-gizmos-local-plane-snap-892.md b/changelog.d/editor-3d-gizmos-local-plane-snap-892.md deleted file mode 100644 index da88cd272..000000000 --- a/changelog.d/editor-3d-gizmos-local-plane-snap-892.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: 3D transform gizmos now support Global and Local space (`Editor.GizmoSpace3D`, `GizmoSpaceGlobal`/`GizmoSpaceLocal`, `SetGizmoSpace3D`, `ToggleGizmoSpace3D`, `GizmoOrientation3D`, `CmdGizmoSpace3D` on `t`), exact rotation about the drawn ring axis (including nested children under rotated or scaled parents), XY/XZ/YZ plane handles and a screen-space center handle on Translate, a proportional uniform center handle on Scale, snapping with modifier inversion, `W`/`E`/`R` scoped mode shortcuts, Spec Light contrast styling, and live drag deltas in the status bar (#892). -- `game/render3d`: `Gizmo` now draws and picks the screen-space center translate handle (`AxisAll`), prefers nearer plane handles and edge-on rotation rings during ray picking, and guards grazing-angle plane drags (#892). diff --git a/changelog.d/editor-3d-nested-children.md b/changelog.d/editor-3d-nested-children.md deleted file mode 100644 index e8c077baf..000000000 --- a/changelog.d/editor-3d-nested-children.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: draw, pick, and edit nested children (up to 64 levels) and instanced/inherited scene children in the 3D viewport at their composed `BuildNodes3D` world transforms, with deepest-hit picking, second-press / `Alt`-click parent and instance-root selection, parent-space gizmo drags, and single-step undoable instance overrides (#894). diff --git a/changelog.d/editor-3d-place-models-893.md b/changelog.d/editor-3d-place-models-893.md deleted file mode 100644 index 564427c00..000000000 --- a/changelog.d/editor-3d-place-models-893.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add the 3D viewport bottom **MODELS** strip (`Viewport3DModelsStripView`, `StripModels`) with offscreen-rendered thumbnails, drag-into-viewport tooltips, and **Or ask for one** inline agent prompt (`OpenModelAgentPrompt`, `SubmitViewport3DAgentPrompt`, `Editor.OnAskAgent3D`), plus 3D placed-model and group inspector cards for **MODEL** (`ObjectModelSummary3D`), **MATERIAL** (`ObjectMaterialSummary3D`), **COLLIDER** (`ObjectColliderSummary3D`), **CHILDREN** (`ObjectChildrenSummary3D`), and **Ask to add a component…** (`OpenComponentAgentPrompt`) (#893). diff --git a/changelog.d/editor-agent-automations-1029.md b/changelog.d/editor-agent-automations-1029.md deleted file mode 100644 index f167bfcf6..000000000 --- a/changelog.d/editor-agent-automations-1029.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: added versioned `automations.yaml` project automations (`ParseAutomations`, `EncodeAutomations`, JSON Schema `automations.v1.json`) with five triggers (`file_changed`, `review_kept`, `file_added`, `before_export`, `daily`), pre-run checkpoints under `.nsgo/checkpoints/`, permission and You-only enforcement, Ready-to-review Agent panel cards, pause-for-today, natural-language draft-in-words, and the Settings › Automations page (#1029). diff --git a/changelog.d/editor-agent-connect-1009.md b/changelog.d/editor-agent-connect-1009.md deleted file mode 100644 index 3c04c6834..000000000 --- a/changelog.d/editor-agent-connect-1009.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`, `cmd/game`: add `go tool game mcp install` to idempotently write project-level MCP configs for Claude Code (`.mcp.json`) and Codex (`.codex/config.toml`), the Connect an agent dialog (`ConnectAgentDialogView`), the right-sidebar Agent panel with thread, streamed steps, and multiline composer (`AgentPanelView`, `AgentRunner`, `CLIAgentRunner`), and the `LiveRegionPolite` header status chip (`Connected · MCP`, `Working · step n of m`, `Waiting for you · elapsed`, `Reconnecting · try n of 5` with `1, 2, 4, 8, 16 s` backoff, and `Disconnected` with `Reconnect` and step-targeted `Troubleshoot`) (#1009). diff --git a/changelog.d/editor-agent-failure-states.md b/changelog.d/editor-agent-failure-states.md deleted file mode 100644 index 50938b478..000000000 --- a/changelog.d/editor-agent-failure-states.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Editor Agent panel failure, recovery, and offline states (`Partial`, `Stuck`, `Lost`, `Stopped`, `Mismatch`, and `Offline`) matching `docs/design/editor/AgentStates.dc.html` with exclusively Spec tokens, inline turn review diffing, automatic summary-vs-diff mismatch checking, viewport pointing (`Let me point` / `Esc`), 3-failure pause with hint, mid-request disconnect recovery with post-reconnect confirmation, resume skipping done steps, and manual-send offline queueing while manual tools keep working in every state (#1024). diff --git a/changelog.d/editor-agent-live-edits-1013.md b/changelog.d/editor-agent-live-edits-1013.md deleted file mode 100644 index b9e6e9c99..000000000 --- a/changelog.d/editor-agent-live-edits-1013.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added -- Editor viewport live agent overlays for pending turns: 1.5 px dashed Added (`+ name`) and Changed (`field old → new`) outlines, 25% grey ghost with 1.5 px solid Removed (`name removed` struck through) outline, pulsing 1.5 px violet Agent working outline (solid under reduced motion, 3 px outer offset when coexisting with Selection), Problem outlines, and automatic pill collision avoidance in both 2D and 3D viewports (#1013). -- Scene tree live agent markers (`NEW`, `MOD`, struck-through `DEL` ghost rows, and violet agent-working dot), header state pill (`Working`, `Waiting`, and `Pending review` with `Keep`/`Revert`), and step-scoped read-only lock (`ErrAgentTouchingObject`) with inspector read-only banner while `editormcp` touches an object (#1013). -- Interactive top-left Spec Overlay Legend toggles (`Selection`, `Agent working`, `Added`, `Changed`, `Removed`, `Problem`) persisted per-user in `EditorSettings.HiddenOverlayKinds` (`editor.yaml` / `editor-settings.v1.json`) without moving the viewport camera on the agent's behalf (#1013). diff --git a/changelog.d/editor-agent-live-steps-1012.md b/changelog.d/editor-agent-live-steps-1012.md deleted file mode 100644 index 9453211df..000000000 --- a/changelog.d/editor-agent-live-steps-1012.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add live agent step streaming, interactive Spec permission cards (`Allow once`, `Always`, `Deny`) backed by `permissions.yaml`, `agent_report_step` MCP tool, `"Add to this request"` follow-ups, concurrent status-bar activity, and global `⌘.` / Stop cancellation with pending review preservation and `"Agent stopped"` toast in the editor Agent panel. diff --git a/changelog.d/editor-agent-mentions-context-1020.md b/changelog.d/editor-agent-mentions-context-1020.md deleted file mode 100644 index 35403d081..000000000 --- a/changelog.d/editor-agent-mentions-context-1020.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add `@`-mention picker over the project search index (Objects, Files, Prefabs, Assets, Problems, Playtest runs, History steps, Rules), context chips (suggested selection, attached, Always `brief.yaml`/`AGENTS.md`, and toggleable Viewport image) with exact-payload hover preview, `⌘L` whole-scene attachment when nothing is selected, and a context meter ring with breakdown, Compact thread, and Start fresh with summary in the agent composer (#1020). diff --git a/changelog.d/editor-agent-plan-1035.md b/changelog.d/editor-agent-plan-1035.md deleted file mode 100644 index e7a2e0f1d..000000000 --- a/changelog.d/editor-agent-plan-1035.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add `plan_propose` and `plan_step_update` MCP tools, interactive Agent panel Plan cards with clarifying questions, editable/removable steps, permission-derived rationale linking to Settings › Permissions, agent-violet planned viewport ghosts with live answer/count updates and a Plan ghosts toggle, Scene Tree planned nodes and files-in-plan footer, Stop-before-write recovery with Edit plan and Run again, and turn review plan checklists (#1035). diff --git a/changelog.d/editor-agent-rewind-1021.md b/changelog.d/editor-agent-rewind-1021.md deleted file mode 100644 index 73ea43c09..000000000 --- a/changelog.d/editor-agent-rewind-1021.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add per-turn file and scene checkpoints and **Rewind to here** in the editor's Agent panel (#1021), supporting **Files and conversation**, **Files only**, and **Conversation only** rewind modes, **Redo** restoration, session continuation from before the rewound message, and returning the rewound prompt to the composer. diff --git a/changelog.d/editor-agent-task-list-1022.md b/changelog.d/editor-agent-task-list-1022.md deleted file mode 100644 index 701c7ea59..000000000 --- a/changelog.d/editor-agent-task-list-1022.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add a background agent task list (`TasksPanelView`, `AgentTask`, `.nsgo/threads/*.thread.yaml` persistence) with Queue and Run in parallel scheduling, per-object MCP holds (`ConnectTask`, `"waiting on "` auto-resume, separate turn reviews), numbered viewport and scene tree overlays, bulk dismiss without reverting kept edits, urgent-first status bar counts, Dock badge summary counts, and `tasks_list` / `tasks_submit` / `tasks_control` MCP tools (#1022). diff --git a/changelog.d/editor-agent-threads-1019.md b/changelog.d/editor-agent-threads-1019.md deleted file mode 100644 index 1a9729f87..000000000 --- a/changelog.d/editor-agent-threads-1019.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add per-line-of-work agent threads persisted as strict versioned YAML under `.nsgo/threads/` (ignored by `.nsgo/.gitignore`), grouped by open scene, other scenes, and `Project · no scene`, with search, `⌘N` new thread, scene-bound thread switching, folded earlier requests with History links and Jump to latest, empty-thread brief suggestions, and an Inspector footer linking each object to the request that last changed it (#1019). diff --git a/changelog.d/editor-ai-first-main-layout.md b/changelog.d/editor-ai-first-main-layout.md deleted file mode 100644 index 70e3919e4..000000000 --- a/changelog.d/editor-ai-first-main-layout.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/editor`: replace the legacy toolbar shell with the AI-first main layout featuring a 44 px header (breadcrumb with unsaved dot, Select/Move/Rotate/Scale/Pan tool radio group, 2D/3D segmented radio, History, Search ⌘K, and Play), 232 px left rail (`SCENE · N nodes` with kind dots, `NEW` review tags, and bottom `FILES` list), viewport camera caption and bottom bar (`Snap` switch, zoom, Fit, Overlays), 380 px right panel (`Agent`/`Inspector` tabs with MCP connection chip), 32 px muted status bar (active layer, pointer coords, tool, Problems, Output, Debugger), and designed empty/loading/scene-error states across all regions (#1007). diff --git a/changelog.d/editor-ask-in-place-1037.md b/changelog.d/editor-ask-in-place-1037.md deleted file mode 100644 index e022c4578..000000000 --- a/changelog.d/editor-ask-in-place-1037.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: add the anchored `⌘L` in-place agent composer (`AskInPlaceComposerView`, `CmdAskAgent`), contextual suggestions, viewport/scene-tree context menu wiring, and `SkipPlan` / selection-context turn recording in the right-rail `AgentPanelView` (`RightRailView`, `CmdAgentTab`, `CmdInspectorTab`) (#1037). -- `game/editor/editormcp`: add the `editor://agent/turn` resource (JSON metadata + captured viewport PNG) and `agent_turn_get` / `agent_turn_reply` tools to deliver in-place selection, scene, and viewport-image context to connected agents (#1037). diff --git a/changelog.d/editor-asset-drawer-1052.md b/changelog.d/editor-asset-drawer-1052.md deleted file mode 100644 index 53c1dbae9..000000000 --- a/changelog.d/editor-asset-drawer-1052.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/refs`: add `IsAssetPath`, `Project.Paths`, `Project.UsedBy`, `Project.MissingAssets`, and `Project.UnreferencedAssets` to query asset references, missing files, and unreferenced assets from one project scan (#1052). -- `game/editor`: add the Assets drawer mode (`LeftRailSwitchView`, `AssetsLeftRailView`, `AssetDrawerView`, `AssetInspectorView`) with Scene / Assets switching, FOLDERS and SHOW ONLY filters (Unused, Missing files, Generated, Proposed), kind tabs, search, recent sort, frame-by-frame clip and audio previews, `refs`-backed USED BY inspector, missing-file replacement, and snapped drag-to-place / drag-to-swap sprites with single-step Undo and Escape cancel (#1052). diff --git a/changelog.d/editor-audio-mixer-909.md b/changelog.d/editor-audio-mixer-909.md deleted file mode 100644 index 24fdbc2ce..000000000 --- a/changelog.d/editor-audio-mixer-909.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add the Audio Bus Mixer panel (`AudioMixerPanelView`, `AddAudioBus`, `RenameAudioBus`, `DeleteAudioBus`, `MoveAudioBus`, `SetAudioMasterVolume`, `SetAudioBusVolume`, `AddAudioBusEffect`, `SetAudioBusEffect`, `RemoveAudioBusEffect`, `MoveAudioBusEffect`, `AuditionAudioBus`) over `game.yaml`'s `audio` section with undoable `EditProject` persistence, `project.Validate` range enforcement, and live bus auditioning through `project.File.ConfigureMixer` and `sound.Mixer` (#909). diff --git a/changelog.d/editor-autosave-status-1016.md b/changelog.d/editor-autosave-status-1016.md deleted file mode 100644 index eded3dfc6..000000000 --- a/changelog.d/editor-autosave-status-1016.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/editor`: autosave kept scene and project edits after 2 s (`General › Save automatically`, `EditorSettings.AutoSave`), pausing while any review is open (#1016). -- `game/editor`: status bar save indicator with `Saved` (hover time tooltip), 300 ms anti-flicker `Saving…`, persistent failed-save alert with `Retry` and `Save as…`, and problem-red unsaved dot while saving fails (#1016). -- `game/editor/editormcp`: append a save-failure warning to tool results while edits are not on disk until saving succeeds (#1016). diff --git a/changelog.d/editor-bottom-panels-spec.md b/changelog.d/editor-bottom-panels-spec.md deleted file mode 100644 index 5ca8e4ab7..000000000 --- a/changelog.d/editor-bottom-panels-spec.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/editor`: bring the Animation, Data Table, Localization, Search & References, and Problems bottom panels onto the editor Spec tokens, type scale, spacing, radius, and control heights with Lucide icons, aria-labels, tooltips with shortcuts, real keyboard-focusable buttons with focus rings, warning/problem severity styling with non-color icon cues, and explicit empty, loading, and error states (#1063). diff --git a/changelog.d/editor-brief-and-rules-1026.md b/changelog.d/editor-brief-and-rules-1026.md deleted file mode 100644 index 9b447eacb..000000000 --- a/changelog.d/editor-brief-and-rules-1026.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/project`, `game/playtest`: add versioned `brief.yaml` game brief format (`project.Brief`, `ParseBrief`, `EncodeBrief`, JSON Schema `brief.v1.json`) with strict line-numbered validation, gap detection, and structured playtest targets readable by `playtest.TargetsFromBrief` and `playtest.ApplyBriefTargets` (#1026). -- `game/editor`, `game/editor/editormcp`: add Settings › Game brief (`brief.yaml`) and Settings › Project rules (`AGENTS.md`) pages with undoable editing, gap badges, reverted-review rule suggestions, reviewable agent edits (`brief_edit`, `rules_edit`), MCP context exposure (`project_context`, `editor://brief`, `editor://rules`, `editor://context`), the "Agent on this page" card, and Settings search agent dispatch (#1026). diff --git a/changelog.d/editor-build-release-screen-1048.md b/changelog.d/editor-build-release-screen-1048.md deleted file mode 100644 index f105a098a..000000000 --- a/changelog.d/editor-build-release-screen-1048.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/project`: add a full-window Build and Release screen (`BuildReleaseScreenView`, `OpenBuildReleaseScreen`, `StartReleaseBuild`, `StopReleaseBuild`, `ResumeReleaseBuild`, `SetBuildPresetIncluded`, `SetBuildPresetFixProposal`, `ApplyBuildPresetFixAndRebuild`) with `export.budgets` support in `game.yaml`, BEFORE EVERY BUILD checks (`nsgo check`, smoke playtest, and budgets), sequential per-preset builds with ordered steps and `build/.log` streaming matching `game release -dry-run`, failure isolation with agent preset fix diffs, size breakdown and delta against the last release, and platform readiness checks (#1048). diff --git a/changelog.d/editor-builtin-agent-models-usage-1030.md b/changelog.d/editor-builtin-agent-models-usage-1030.md deleted file mode 100644 index 343411b53..000000000 --- a/changelog.d/editor-builtin-agent-models-usage-1030.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add the built-in agent runner (`SubmitAgentTaskPrompt`, `Editor.AgentTools`, `Editor.BuiltInAgentEndpoint`) that runs requests against the Anthropic Messages API using the editor's MCP tools (enforcing Settings › Tools toggles, permissions, You-only boundaries, and outbound privacy) with API keys kept in NSGo's `core.Secrets` / system keychain and never written to project files, `editor.yaml`, or logs (#1030). -- `game/editor`: connect WHO DOES WHAT task routing (`scene_edits`, `playtest_analysis`, `problems_fixes`, `ask_in_place`, `art_and_sound`), person-only weekly request limit queueing (`Limit reached · resets 00:00` + Usage link and manual queue dispatch), and transient model-error retry backoff (`4 s, 8 s, 16 s, 32 s`) with **Retry now** and switching that task kind to another connected agent (#1030). diff --git a/changelog.d/editor-camera-bounds-rooms-884.md b/changelog.d/editor-camera-bounds-rooms-884.md deleted file mode 100644 index d58a6cdfe..000000000 --- a/changelog.d/editor-camera-bounds-rooms-884.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: interactive 2D viewport resize and move handles for `camera.bounds` (with live preview, Escape cancel, and single-step Undo/Redo) and side-by-side `*.rooms.yaml` room-map editing over the 2D scene viewport with tile-grid snapping, room creation/move/resize/delete handles, inspector editing for room `id`, `name`, and `transition`, and deterministic round-trip saving via `rooms.Encode` (#884). diff --git a/changelog.d/editor-changes-panel-1057.md b/changelog.d/editor-changes-panel-1057.md deleted file mode 100644 index 6163366c5..000000000 --- a/changelog.d/editor-changes-panel-1057.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add the Changes & Commit screen (`ChangesPanelView`, status bar entry, `CmdChanges`) comparing scenes, data, Go code, and audio assets against `HEAD`, with selective file commits, drafted commit messages, `nsgo check`/`nsgo test` status, History commit milestones, and PR sharing (#1057). diff --git a/changelog.d/editor-connections-panel-872.md b/changelog.d/editor-connections-panel-872.md deleted file mode 100644 index 223ed774c..000000000 --- a/changelog.d/editor-connections-panel-872.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: Connections section in the inspector (`AddConnection`, `UpdateConnection`, `RemoveConnection`, `ObjectEvents`, `ObjectHandlers`, `ObjectConnections`, `JumpToConnectionOtherEnd`, and viewport/scene-tree target picking via `BeginConnectionPick`) to wire registered component events to handlers with typed params, `once`, full Undo/Redo, and pre-history `sceneformat.ValidateConnections` validation (#872). diff --git a/changelog.d/editor-copy-paste-duplicate-group-868.md b/changelog.d/editor-copy-paste-duplicate-group-868.md deleted file mode 100644 index 083736ddd..000000000 --- a/changelog.d/editor-copy-paste-duplicate-group-868.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: copy (`Mod+C`), cut (`Mod+X`), paste (`Mod+V`), paste as child (`Mod+Shift+V`), duplicate (`Mod+D`), group (`Mod+G`), and ungroup (`Mod+Shift+G`) scene objects with multi-selection, scene-format YAML system clipboard serialization, automatic unique ID allocation and connection/override rewriting, pointer/offset placement, world-transform preservation on group/ungroup, and single-step undo/redo (#868). diff --git a/changelog.d/editor-cutscene-timeline-1056.md b/changelog.d/editor-cutscene-timeline-1056.md deleted file mode 100644 index af1d41de8..000000000 --- a/changelog.d/editor-cutscene-timeline-1056.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: add the full-workspace cutscene timeline editor (`CutscenePanelView`) with left-rail cutscenes and localized `loc` lines, live `cutscene.TimelinePlayer` scrubbing with a 24-frame thumbnail strip, track lanes with ±0.1 s Start/Duration and Easing inspection, and an interactive agent review mode (Before/After, hold `B` to peek, dashed/solid change markers, per-change Revert/Restore, review-joined manual edits with `⌘Z` undo, Revert all, and single-undo-step Keep N of M) (#1056). -- `game/editor/editormcp`: add `cutscene_write` (opening pending cutscene reviews without overwriting disk until kept) and `cutscene_scrub` MCP tools (#1056). diff --git a/changelog.d/editor-dockable-panels-919.md b/changelog.d/editor-dockable-panels-919.md deleted file mode 100644 index 5ccddf3b6..000000000 --- a/changelog.d/editor-dockable-panels-919.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: dockable, resizable panel workspace built on NSGo's `ui.DockArea` with drag-to-resize, move, and tabbing for built-in and plugin panels, `View > Panels` visibility toggles, `Reset Layout`, and per-user versioned YAML layout persistence in `/nsgo-game/layout.yaml` (#919). diff --git a/changelog.d/editor-export-presets-916.md b/changelog.d/editor-export-presets-916.md deleted file mode 100644 index db71f69ac..000000000 --- a/changelog.d/editor-export-presets-916.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: added the Export & Release panel (`ExportPanelView`) to edit `game.yaml` export presets and output directory through `EditProject`, run pre-flight `tooling/credits` checks, stream `nsgo build` or dry-run output off the UI goroutine, and open the release output folder on completion (#916). diff --git a/changelog.d/editor-find-usages-safe-rename-1041.md b/changelog.d/editor-find-usages-safe-rename-1041.md deleted file mode 100644 index dfbbb52ba..000000000 --- a/changelog.d/editor-find-usages-safe-rename-1041.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/refs`, `game/editor/editormcp`: add the full-window Find Usages and Safe Rename review screen (`Shift+F12`, `ReferencesScreenView`, `FindUsages`, `PreviewSafeRename`, `ApplySafeRename`) grouping scenes with override counts, prefab variants, data tables, and Go string constants (`go/parser`, listed as not rewritten) with live dry-run diffs, single-step `MoveFile` undo, and matching `refs_find` and `refactor_rename` MCP tools (#1041). diff --git a/changelog.d/editor-focus-ring-regions-1003.md b/changelog.d/editor-focus-ring-regions-1003.md deleted file mode 100644 index 696e897dc..000000000 --- a/changelog.d/editor-focus-ring-regions-1003.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add keyboard-only 2 px Spec accent focus rings (`#3B7BFF` Dark / `#1D5CE6` Light; `+2 px` offset on controls, `-2 px` inset on rows, fields, and regions, `:focus-within` on composer cards), fixed-order `F6` / `Shift-F6` region cycling with per-region focus memory and unified `ToastView` region support, viewport `Tab` / `Shift-Tab` object cycling, dialog and Settings focus trapping with `Esc` opener restoration, and drag/scrub/typing/agent-panel focus-stability guards (#1003). diff --git a/changelog.d/editor-gltf-preview-import.md b/changelog.d/editor-gltf-preview-import.md deleted file mode 100644 index b8127e757..000000000 --- a/changelog.d/editor-gltf-preview-import.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: selecting a `.gltf` or `.glb` model in the file browser now shows an interactive 3D orbit-camera preview with node, mesh, material, and animation lists, bounds and triangle counts, per-animation playback/pause/scrub controls, and deterministic `*.import.yaml` model & credit sidecar editing (#897). diff --git a/changelog.d/editor-history-panel-1017.md b/changelog.d/editor-history-panel-1017.md deleted file mode 100644 index c8a5dd625..000000000 --- a/changelog.d/editor-history-panel-1017.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: History panel (`⌘Y` / toolbar icon button with tooltip `"History · ⌘Y"`) combining manual edits, agent turns, external reloads, and saved points on one newest-first day-grouped timeline with `All` / `You` / `Agent` filters, read-only point-in-time viewport preview (`"Previewing … · editing is off"`, exited with `Esc` or `Now`), and non-destructive multi-file `Restore` recorded as one new undoable step (#1017). -- `game/editor/editormcp`: read-only `history_list` MCP tool exposing the unified History timeline (with `author` and `limit` filters) to connected agents, and automatic agent-turn attribution for MCP edits (#1017). diff --git a/changelog.d/editor-hud-layout-screen-1047.md b/changelog.d/editor-hud-layout-screen-1047.md deleted file mode 100644 index ba5951b04..000000000 --- a/changelog.d/editor-hud-layout-screen-1047.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: added the multi-size, multi-language HUD and menu layout screen (`HUDLayoutView`, `OpenHUDScreen`, `SetHUDLocale`, `HUDOverlays`, `HUDTextWidths`, `HUDProblems`) rendering `*.screen.yaml` simultaneously across Phone 19.5:9 with notch, Tablet 4:3, Desktop 16:9, and Ultrawide 21:9 using Spec tokens, with live `gameui.CheckScreen` diagnostics, 1.5× localized text overflow zoom, undoable anchor/safe-area/fit-text/spacing/order edits, and direct touch-control dragging written back to the screen file in one undo step (#1047). diff --git a/changelog.d/editor-i18n-appearance-921.md b/changelog.d/editor-i18n-appearance-921.md deleted file mode 100644 index 02c441c4b..000000000 --- a/changelog.d/editor-i18n-appearance-921.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: localized the editor UI into English and Simplified Chinese via embedded versioned `l10n` YAML catalogs with live switching without restart, added plugin translation catalog support (`Plugin.Catalog`, `Plugin.LocaleYAML`, `Editor.PluginT`), and added per-user versioned YAML editor settings (`EditorSettings`, `EditorSettingsDialogView`) for language and light/dark/system appearance via `core.Scope.SetAppearance` (#921). diff --git a/changelog.d/editor-import-settings-915.md b/changelog.d/editor-import-settings-915.md deleted file mode 100644 index 167e66a1c..000000000 --- a/changelog.d/editor-import-settings-915.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Inspect and edit per-asset `*.import.yaml` sidecars (image, audio, font, model, and credit fields, inheriting `game.yaml` target defaults with per-field reset and undo/redo) directly in the scene editor inspector, and rebuild assets via **Reimport** or **Build Assets** (`go tool game assets`) with Output panel streaming and live atlas/texture reloading (#915). diff --git a/changelog.d/editor-input-map-908.md b/changelog.d/editor-input-map-908.md deleted file mode 100644 index ac1d3ea8d..000000000 --- a/changelog.d/editor-input-map-908.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/project`: add `key`, `keyCode`, and `gamepadButton` action bindings plus `gamepadAxes` analog stick axes in `game.yaml`, validated, applied by `BindInput`, and published in `game.v1.json` (#908). -- `game/editor`: add an Input Map panel (`InputMapPanelView`) over `game.yaml`'s `input` section with undoable `EditProject` editing, action/binding CRUD, press-a-key capture, interactive touch/mouse region drawing and dragging over the virtual display size, axis/motion/gamepad stick editing, and action rename propagation to axes (#908). diff --git a/changelog.d/editor-inspector-sections-scrub-1038.md b/changelog.d/editor-inspector-sections-scrub-1038.md deleted file mode 100644 index 2db9375f9..000000000 --- a/changelog.d/editor-inspector-sections-scrub-1038.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: redesigned object Inspector with Spec titled collapsible sections, field count badges, compact 2D/3D transform rows, live field filter, drag-to-scrub numeric labels with one-undo-step history and Escape cancel, Open YAML line jump, grouped Add component with Ask to add composer prompt, review/problem indicators, and matching `object_set_field` / `object_locate_yaml` MCP tools (#1038). diff --git a/changelog.d/editor-lan-qr-device-1049.md b/changelog.d/editor-lan-qr-device-1049.md deleted file mode 100644 index 41ab1f3f4..000000000 --- a/changelog.d/editor-lan-qr-device-1049.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- Serve finished web builds strictly on the local network with a scannable pure-Go QR code (`packages/game/internal/qrcode`), Copy URL and Stop/Start serving controls that immediately release the TCP port on stop or editor close (#1049). -- Expose a LAN Play-mode MCP debug bridge (`/__nsgo_mcp/info`, `/__nsgo_mcp/bridge.js`, `/__nsgo_mcp/session`, `/__nsgo_mcp/poll`, `/__nsgo_mcp/reply`, `/__nsgo_mcp/rpc`) so the editor and agent can inspect and debug served web builds running on a phone (#1049). -- Wire live RUN ON DEVICE states and launch actions on the Build & Release screen for this Mac's/computer's browser, phone via QR/LAN link, and USB-connected Android devices through `go tool nsgo` device commands (#1049). diff --git a/changelog.d/editor-layer-tilemap-setup-877.md b/changelog.d/editor-layer-tilemap-setup-877.md deleted file mode 100644 index bafb6abe0..000000000 --- a/changelog.d/editor-layer-tilemap-setup-877.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sceneformat`, `game/editor`: add undoable layer tilemap setup in the Layer Inspector (add an inline tilemap with tileset atlas, tile size and grid size; move between inline and top-level `tilemaps` via `ref`; resize from any edge while preserving painted tile world positions via version 3 `offsetX`/`offsetY`; change tileset atlas or tile size; remove tilemap), refusing invalid sizes and tilesets missing frames for painted IDs (#877). diff --git a/changelog.d/editor-lights2d-887.md b/changelog.d/editor-lights2d-887.md deleted file mode 100644 index 8bdecea45..000000000 --- a/changelog.d/editor-lights2d-887.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add `ambientColor`, built-in `light2d` and `occluder2d` (rect, polygon, and tilemap collision) scene components with automatic `lights2d.Scene` building in `game/sceneformat`, plus live 2D lighting preview and interactive radius, spotlight cone, and occluder shape handles in `game/editor` (#887). diff --git a/changelog.d/editor-live-problems-agent-fix-1036.md b/changelog.d/editor-live-problems-agent-fix-1036.md deleted file mode 100644 index d2e025478..000000000 --- a/changelog.d/editor-live-problems-agent-fix-1036.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/tooling/assetcheck`: `Problem` now carries 1-based `Column` where the scene or YAML format knows it, plus `Location()` formatting `file:line:column` (#1036). -- `game/editor`: live debounced project checking inspects open unsaved documents on every edit, draws Spec Problem overlays on live objects in the 2D viewport, marks offending scene tree rows with a problem badge, supports `IgnoreProblem` (re-surfacing automatically when the file is edited again), and adds the Agent problem fix panel (`ProposeProblemFix`, `ApplyProposedFix` as one undoable step with Undo toast, `ShowProblem`, and `AskAboutProblem`) (#1036). -- `game/editor/editormcp`: `game_check` checks open unsaved documents and reports 1-based columns, and `problem_propose_fix` lets an agent propose a validated fix with explanation and diff without ever applying it (#1036). diff --git a/changelog.d/editor-material-preview-896.md b/changelog.d/editor-material-preview-896.md deleted file mode 100644 index ab2eddb11..000000000 --- a/changelog.d/editor-material-preview-896.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: inspector Material creation/editing actions and a docked Material Editor panel (`MaterialEditorPanelView`) editing all `resource.Material` fields with live `render3d` sphere/cube and 2D sprite previews, live `resource.Library.Reload` viewport updates, Undo/Redo, and canonical `resource.Encode` saving (#896). -- `game/project`: `Resolver.Library` exposes the project's shared `*resource.Library` so tools and the scene editor can live-reload materials in place via `resource.Library.Reload` (#896). diff --git a/changelog.d/editor-mcp-asset-generator-1053.md b/changelog.d/editor-mcp-asset-generator-1053.md deleted file mode 100644 index 4dc517e5a..000000000 --- a/changelog.d/editor-mcp-asset-generator-1053.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/tooling/importsettings`, `game/tooling/credits`: added the MCP Generated Assets screen (`AssetGeneratorView`), strict versioned `.source.yaml` provenance/license sidecar format (`importsettings.ParseAssetSource` / `EncodeAssetSource`, `source.v1.json` schema), untrusted in-memory image/audio candidate decoding with `brief.yaml` style checks, single-step undoable Pick/Undo, and release-blocking unknown license checks in `credits` and `game release` (#1053). diff --git a/changelog.d/editor-mcp-permissions.md b/changelog.d/editor-mcp-permissions.md deleted file mode 100644 index dcc042869..000000000 --- a/changelog.d/editor-mcp-permissions.md +++ /dev/null @@ -1,2 +0,0 @@ -### Added -- Add tracked project `permissions.yaml` (version 1 + JSON Schema `permissions.v1.json`) with Cautious, Balanced, and Autonomous presets and first-match-wins `(action, patterns) -> allow | ask | deny` rules enforced before every mutating or running `editormcp` tool call, plus the Settings › Permissions UI, blocked-step rule links, and "Always permission rule saved" toast with Show and Undo (#1010). diff --git a/changelog.d/editor-mcp-server-1008.md b/changelog.d/editor-mcp-server-1008.md deleted file mode 100644 index e1959b638..000000000 --- a/changelog.d/editor-mcp-server-1008.md +++ /dev/null @@ -1,6 +0,0 @@ -### Added - -- `game/editor/editormcp`: the editor's MCP server, through which an agent reads and edits the open project with the same editor commands as the inspector, scene tree and viewport. The editor serves its project on a local per-project endpoint, never a network port, with `scene_read`, `scene_edit` (one undo step per call, or nothing and an error naming the file, object, field and fix when the editor refuses an edit), `selection_get`, `viewport_image` and `game_check`, a registry other parts of the editor add tools to, and `editor://scene` and `editor://selection` resources whose notifications say whether the agent or the person made a change (#1008). -- `game/cmd/game`: `go tool game mcp` serves the editor's tools on standard input and output for an agent, forwarding to the editor that has the project open, and says how to open it while none has (#1008). -- `game/editor`: `History.Group` records the commands a function executes as one undo step, or none when it fails (#1008). -- `game/mcp`: `RenderPNG` rasterizes a recorded drawing into a PNG with `game_screenshot`'s software rasterizer (#1008). diff --git a/changelog.d/editor-mcp-tile-review-1064.md b/changelog.d/editor-mcp-tile-review-1064.md deleted file mode 100644 index 9329dd27f..000000000 --- a/changelog.d/editor-mcp-tile-review-1064.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor` and `game/editor/editormcp`: add tile MCP tools (`tile_query`, `tile_paint`, `tile_autotile`, `tile_erase`) and tile-review MCP tools (`tile_review_status`, `tile_review_revert_region`, `tile_review_restore_region`, `tile_review_keep`, `tile_review_revert_all`), region-based 2D tile edit review with Spec-styled viewport outlines, per-region Revert/Restore, single-undo-step Keep N of M, Revert all, Before/After with hold `B`, and tile palette / viewport dimension caption polish (#1064). diff --git a/changelog.d/editor-multi-select-marquee.md b/changelog.d/editor-multi-select-marquee.md deleted file mode 100644 index 79dfe7306..000000000 --- a/changelog.d/editor-multi-select-marquee.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: multi-object selection with Shift/Mod clicks, 2D marquee box selection (enclose by default, touch with Alt), Escape to clear selection, synchronized multi-selection in the scene tree, multi-object 2D and 3D move/rotate/scale about the common center and single-undo-step Delete/Duplicate, and shared-field mixed-value editing in the property inspector (#867). diff --git a/changelog.d/editor-nav-regions-2d-888.md b/changelog.d/editor-nav-regions-2d-888.md deleted file mode 100644 index 29fa53fc9..000000000 --- a/changelog.d/editor-nav-regions-2d-888.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add built-in `navregion2d` scene components (`walkable` and `obstacle` polygons with optional tilemap collision subtraction and `agentRadius`) that `sceneformat.Build` bakes into `BuiltScene.NavBake2D` and `BuiltScene.NavMesh2D` (`*ai.NavMesh`), plus 2D polygon vertex/edge-midpoint handles, live viewport mesh overlay, and the **Test Path** tool in `game/editor` (#888). diff --git a/changelog.d/editor-navmesh3d-bake-901.md b/changelog.d/editor-navmesh3d-bake-901.md deleted file mode 100644 index 429f171d0..000000000 --- a/changelog.d/editor-navmesh3d-bake-901.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/navbake3d` and `game/editor`: bake 3D navigation meshes directly from a scene's static geometry (glTF models with `modelNode`/`modelMesh`, built-in primitives, static `collider3d` shapes, plus terrain and `GridMap` YAML loaders) with an editor NavMesh bake panel, undoable `SceneDoc.NavMesh` linking, and a toggleable 3D viewport polygon overlay (#901). diff --git a/changelog.d/editor-object-context-menu-1039.md b/changelog.d/editor-object-context-menu-1039.md deleted file mode 100644 index 5fb237848..000000000 --- a/changelog.d/editor-object-context-menu-1039.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add a unified object context menu across the 2D viewport, 3D viewport, and Scene Tree (`Shift+F10`, Context Menu key, secondary click, or Control-click) with canonical YAML copy/paste, single-undo Move under reparenting, Group, Select same prefab, visibility/lock toggles, Find usages, Rename, Ask the agent, and matching `editormcp` tools (#1039). diff --git a/changelog.d/editor-particle-emitter-883.md b/changelog.d/editor-particle-emitter-883.md deleted file mode 100644 index 056725f47..000000000 --- a/changelog.d/editor-particle-emitter-883.md +++ /dev/null @@ -1,2 +0,0 @@ -### Added -- Editor: added a Particle Emitter Editor panel (`ParticleEditorPanelView`) with live preview (`Play/Pause`, `Restart`, `Step`, `Burst`, optional floor collider), interactive curve widget, atlas frame picker, full Undo/Redo, and scheduled `Bursts` + `particles.v1.json` schema support, plus scene placement (`ObjectDoc.Particles` in scene format v2) supported in `sceneformat.Build`, the editor viewport, Play mode, `refs`, and `assetcheck` (#883). diff --git a/changelog.d/editor-pick3d-depth-multi-override-fix.md b/changelog.d/editor-pick3d-depth-multi-override-fix.md deleted file mode 100644 index 6a330bdc2..000000000 --- a/changelog.d/editor-pick3d-depth-multi-override-fix.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/editor`: guard `Pick3D` ancestor-descendant box picking against infinite loops on duplicate or empty nested object IDs, and preserve centroid position overrides during multi-object 3D Rotate and Scale drags on instanced or inherited objects (#894). diff --git a/changelog.d/editor-playmode-marks-replay-1042.md b/changelog.d/editor-playmode-marks-replay-1042.md deleted file mode 100644 index 3c8b6cf89..000000000 --- a/changelog.d/editor-playmode-marks-replay-1042.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add Play mode 60-second rolling `replay` v2 YAML input recording, `alt+f` marks bundled into one thread on stop or **Send marks now**, `mod+l` **Something looks wrong** frozen-frame agent dialog with MCP `play_frozen_context` / `play_replay_step` stepping overlays, and Output panel panic cards with folded runtime frames and **Replay up to the panic** stopping one frame before the panic (#1042). diff --git a/changelog.d/editor-playtest-report-1044.md b/changelog.d/editor-playtest-report-1044.md deleted file mode 100644 index 271840270..000000000 --- a/changelog.d/editor-playtest-report-1044.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add the full-window Playtest Report screen (`PlaytestReportView`) with Met/Missed goal cards and source files, BOT PROFILE summary and `playtest_define` review banner, automatic canvas chart selection across all four chart kinds (level heat map, wave bars against a goal line, per-level line, and win-rate matrix flagging >60% matchups), Watch run N replay playback in Play mode, Agent's read with actionable suggestions, and `playtest_report` MCP synchronization (#1044). diff --git a/changelog.d/editor-plugin-3d-tools-gizmos-898.md b/changelog.d/editor-plugin-3d-tools-gizmos-898.md deleted file mode 100644 index 8cec4e1b6..000000000 --- a/changelog.d/editor-plugin-3d-tools-gizmos-898.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add 3D viewport hooks (`Press3D`, `Draw3D`, `OnDragBegin3D`/`OnDragMove3D`/`OnDragEnd3D`/`OnDragCancel3D`, `OnHover3D`, `Projection3D`, `PickRay3D`) to `PluginTool` and per-component 3D gizmos (`Plugin.Gizmos3D`, `ComponentGizmo3D`, `GizmoHandle3D`, `GizmoDrag3D`) with object-space point, line, and box handles that commit as a single undo step and share the same 3D handle layer with the editor's built-in 3D transform and `collider3d`/`trigger3d` handles (#898). diff --git a/changelog.d/editor-plugins-492.md b/changelog.d/editor-plugins-492.md deleted file mode 100644 index 3eea21a13..000000000 --- a/changelog.d/editor-plugins-492.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: editor plugins, as Godot's `EditorPlugin`: Go code built into the editor binary (`Editor.RegisterPlugin`) adds panels docked left, right or below the viewport, an inspector that draws its own component types in place of the generic fields, and 2D viewport tools (`ToolPlugin`, `SetPluginTool`), with every edit going through the undo history; `SetPluginEnabled`, `ActivePlugins` and `MissingPlugins` turn plugins on and report them, `ComponentField` reads a component field with its registered default, and `Report` shows a plugin's refused edit in the status bar (#492). -- `game/project`: an `editor` section in `game.yaml` whose `plugins` list turns editor plugins on for the project (#492). diff --git a/changelog.d/editor-problems-panel-913.md b/changelog.d/editor-problems-panel-913.md deleted file mode 100644 index fd6aa6e7e..000000000 --- a/changelog.d/editor-problems-panel-913.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add a Problems panel (`ProblemsView`, `CheckProblems`, `Problems`, `OpenProblem`) that runs `assetcheck.CheckWith` (with the editor's component registry) and `project.Check` off the UI goroutine on project open, save and file move, navigates to scenes or selects files on press, and displays the live problem count in the status bar (#913). diff --git a/changelog.d/editor-profiler-panel-912.md b/changelog.d/editor-profiler-panel-912.md deleted file mode 100644 index 918d6f64c..000000000 --- a/changelog.d/editor-profiler-panel-912.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: add a live Profiler panel (`ProfilerPanelView`) and Play-mode `FRAME TIME · LAST 60 S` strip (`ProfilerStripView`) built with Spec tokens that connect to a running game over MCP (`ConnectProfiler`, `ConnectProfilerMCP`, `ConnectProfilerCommand`, `ConnectProfilerScope`), poll `game_perf_readout` and `game_perf_zones`, chart frame/update/draw time, FPS, allocations/GC, and asset memory with labelled spike causes, reset via `game_perf_reset`, and export recorded frames as Chrome/Perfetto trace JSON through `debug.Profiler.WriteChromeTrace` (#912). -- `game/debug`, `game/mcp`: add `FrameSample.Cause`, `Overlay.NoteFrameCause`, and `PerfFrameSample.Cause` so a game can explain known frame-time spikes in `game_perf_readout` history (#912). diff --git a/changelog.d/editor-project-settings-907.md b/changelog.d/editor-project-settings-907.md deleted file mode 100644 index b235cc91d..000000000 --- a/changelog.d/editor-project-settings-907.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add Project Settings panel (`ProjectSettingsPanelView`) over `game.yaml` editing general metadata, window, display, autoload scenes/resources and main scene, and editor plugins through `EditProject` with inline `project.Validate` errors, a first-save canonical YAML notice, Undo/Redo, and synced `nsgo.yaml` saves (#907). diff --git a/changelog.d/editor-reference-images-1027.md b/changelog.d/editor-reference-images-1027.md deleted file mode 100644 index ccdc0345d..000000000 --- a/changelog.d/editor-reference-images-1027.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: support dropping, pasting, or picking PNG, JPEG, and WebP reference images onto the Agent composer with format validation, refusal reasons, hover previews, one-shot request delivery, atomic undoable **Pin to brief** (`art/reference/` + `brief.yaml` YAML diff card), and automatic inclusion of pinned references on every request via the `brief.yaml` Always chip (#1027). diff --git a/changelog.d/editor-reflection-light-probes-903.md b/changelog.d/editor-reflection-light-probes-903.md deleted file mode 100644 index fc8ac14f1..000000000 --- a/changelog.d/editor-reflection-light-probes-903.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added -- Support 3D reflection probes (`reflectionProbe`) and light probe grids (`lightProbeGrid`) in version 4 scenes (`sceneformat`, `scene.v4.json`), with baked 6×1 Radiance `.hdr` cubemap strips (`render3d.EncodeCubemapHDR` / `DecodeCubemapHDR`) and versioned canonical light probe YAML files (`*.probes.yaml`, `render3d.ParseLightProbeGrid` / `EncodeLightProbeGrid`, `lightprobes.v1.json`). -- Load baked reflection probes and light probe grids in `scenemodel.Build` / `scenemodel.Renderer` with unified `render3d` probe IBL shading and offscreen baking (`scenemodel.BakeReflectionProbe` / `BakeLightProbeGrid`). -- Place, inspect, resize with six undoable 3D face-center bounds handles (with Escape cancel), and bake reflection probes and light probe grids in the editor (`AddReflectionProbe3D`, `AddLightProbeGrid3D`, `BakeReflectionProbe3D`, `BakeLightProbeGrid3D`, `BakeAllProbes3D`), plus reference scanning in `refs` and validation in `tooling/assetcheck`. diff --git a/changelog.d/editor-regions-keep-presses-across-live-checks.md b/changelog.d/editor-regions-keep-presses-across-live-checks.md deleted file mode 100644 index f7716b790..000000000 --- a/changelog.d/editor-regions-keep-presses-across-live-checks.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/editor`: a live problem check finishing no longer rebuilds the layer inspector or the disk conflict banner, which used to drop a click on their buttons, such as a layer field's revert button or Keep mine, and reset a half-filled add-tilemap form (#1036). diff --git a/changelog.d/editor-release-notes-publish-1050.md b/changelog.d/editor-release-notes-publish-1050.md deleted file mode 100644 index f678b6d19..000000000 --- a/changelog.d/editor-release-notes-publish-1050.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/editor`: draft player-facing Markdown release notes from git commits since the last tag (or initial commit), kept reviews, and `changelog.d` fragments via pluggable `Editor.ReleaseNotesDrafter`, saving edits directly and exclusively to the file `game release -release-notes` reads (#1050). -- `game/editor`: add confirmation-gated store publishing (`itch.io`, `Google Play · internal testing`, `TestFlight`) with a Spec-tokenized **Review uploads** dialog, unconditional human confirmation regardless of agent permission profile, pluggable `Editor.ReleaseUploader`, and cross-platform system `Keychain` credential storage that never writes secrets to project files (#1050). -- `game/editor/editormcp`: add `release_notes_draft` and `release_review_uploads` MCP tools with agent-actor enforcement so agents can draft notes and stage upload reviews without ever starting an upload (#1050). diff --git a/changelog.d/editor-remote-inspector-911.md b/changelog.d/editor-remote-inspector-911.md deleted file mode 100644 index 015b0fd1d..000000000 --- a/changelog.d/editor-remote-inspector-911.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add a Remote scene tree tab and live inspector to `editor` that connects to a running game over MCP (`go tool nsgo mcp` or an injected transport), lists live scenes, layers, and entities with hierarchy, edits components live with tracked keep-in-scene/discard/undo support, and provides Pause/Resume/Step N/Time Scale, tunables, and console controls (#911). diff --git a/changelog.d/editor-review-change-by-change-1014.md b/changelog.d/editor-review-change-by-change-1014.md deleted file mode 100644 index 38b05343e..000000000 --- a/changelog.d/editor-review-change-by-change-1014.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: full-window change-by-change agent turn review screen (`ReviewScreenView`, `Editor.StartTurnReview`) grouped by file and kind with filter chips, search, seen progress, `ScopeReview` keyboard shortcuts (`J`/`K`, `X`, hold `B`, `⌘↵`, `⌘⌫`), adaptive scene/prefab/data-table previews, Why + line-numbered YAML diff, `Esc`/Resume pending state with viewport overlays and Agent panel card, Revert all confirmation dialog, and single-step `History` Undo (#1014). -- `game/editor/editormcp`: read-only `review_status` MCP tool reporting seen and reverted changes, active blockers, and turn review outcomes (#1014). diff --git a/changelog.d/editor-review-conflicts-yaml-edit-1032.md b/changelog.d/editor-review-conflicts-yaml-edit-1032.md deleted file mode 100644 index 704b34559..000000000 --- a/changelog.d/editor-review-conflicts-yaml-edit-1032.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: three-way conflict detection and resolution (**Mine / Agent's / Both**, keeping yours first) for concurrent manual edits during an agent turn review (`syncReviewAfterMutate`, `SyncReviewPersonEdits`, `ResolveReviewConflict`), plus in-place YAML editing in the Review right pane (`BeginReviewYAMLEdit`, `SetReviewYAMLDraft`, `FinishReviewYAMLEdit`) with live viewport preview, `you`-tagged lines, strict unknown-field/duplicate-key validation, mechanical one-step parse fixes (`ApplyReviewYAMLFix`), **Undo my typing** (`UndoReviewYAMLTyping`), and single-step `History` Keep/Undo (#1032). -- `game/editor/editormcp`: extend `review_status` to expose conflict merge choices (`mine`, `agent`, `both`), `you`-tagged hand-edited YAML fields and lines (preserved after Keep for round 2), and YAML parse error blockers, while enforcing `PrivacySceneAndData` and `PrivacyGoSource` privacy switches (#1032). diff --git a/changelog.d/editor-review-datatable.md b/changelog.d/editor-review-datatable.md deleted file mode 100644 index c0eff091f..000000000 --- a/changelog.d/editor-review-datatable.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`, `game/tooling/datatable`: add full-window row-by-row Data Table review (`DataTableReviewView`, `OpenDataTableReview`, `datatable_review_propose`, `datatable_review_checks`, `datatable_review_status`) with old → new and `Δ%` cells, sortable `aria-sort` column headers, filter chips (`All`, `Changed`, `Unchanged`, `Reverted`, `Yours`), in-place value editing, drag-to-reorder, right-hand `+/-` YAML diff with `you` tags, out-of-date agent check figures, `Esc` pause/resume toast, lossless single-line Keep saves, and single-step Undo (#1033). diff --git a/changelog.d/editor-review-go-changes-1034.md b/changelog.d/editor-review-go-changes-1034.md deleted file mode 100644 index 5d8f0180a..000000000 --- a/changelog.d/editor-review-go-changes-1034.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: add file-by-file Go code review (`CodeReviewView`, `ProposeCodeReviewFiles`, `RunCodeReviewChecks`, `ConfirmCodeReviewFile`, `KeepCodeReview`, `RevertCodeReview`, and `CmdReviewCode`) that holds agent-proposed Go changes off disk until confirmed, verifies them via a Go build overlay (`BuildGoOverlay`) with `nsgo check` and `nsgo test -json`, supports Unified and Split diffs with line tags (`fails test`, `agent edited`, `round 2`), failed-test fix requests inside the same turn, single-step atomic Undo on Keep, and an Agent panel waiting card when YAML changes are kept while Go files still need confirmation (#1034). -- `game/editor/editormcp`: add `code_review_propose`, `code_review_status`, and `code_review_run_checks` MCP tools so connected agents can stage pending Go edits, inspect failing test details, submit Round 2 fixes in the same turn, and rerun build-overlay checks off the UI goroutine (#1034). diff --git a/changelog.d/editor-review-notes-second-round-1031.md b/changelog.d/editor-review-notes-second-round-1031.md deleted file mode 100644 index a72b92ca7..000000000 --- a/changelog.d/editor-review-notes-second-round-1031.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add change-scoped review notes (`C` / `CmdReviewNote`, inline note composer, viewport note pins, Notes filter chip, paused Agent panel unsent-note counts, and Revert all dropped-note warning), multi-round review tabs (`Round 1` read-only / `Round 2` latest with round banner and `"Redone from your note: …"` Why), and MCP tools `review_notes_get` and `review_redo` (with privacy, permission, You-only, and noted-only isolation enforcement) so redoing noted changes stays within one turn and one undo step (#1031). diff --git a/changelog.d/editor-run-log-panel-910.md b/changelog.d/editor-run-log-panel-910.md deleted file mode 100644 index e7af9766a..000000000 --- a/changelog.d/editor-run-log-panel-910.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/editor`: add a Run / Stop Game toolbar command (and `F5` / `Shift+F5` shortcuts) that launches `go tool game dev` in the open project directory on desktop—optionally starting at the currently open scene—and cleanly terminates its entire process tree on Stop, `OpenProject`, `Close`, or view unmount, leaving in-editor Play preview untouched (#910). -- `game/editor`: add a docked Output / Log panel (`OutputPanelView`) below the viewport that streams the running game's stdout and stderr live off the UI goroutine, preserves a timestamped history of editor status and error messages, supports Clear and Errors-only filtering, and opens clicked `file:line` scene lines (or selects non-scene files in the file browser) (#910). -- `game/cmd/game`, `game/tooling/hotreload`: add `-scene` to `game dev` and `hotreload.SceneEnv` / `hotreload.DevScene()` so a game launched under `game dev` or from the editor can start at a chosen scene (#910). diff --git a/changelog.d/editor-scene-instance-overrides.md b/changelog.d/editor-scene-instance-overrides.md deleted file mode 100644 index 5e2d02127..000000000 --- a/changelog.d/editor-scene-instance-overrides.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: edit scene instances and inherited scenes directly from the 2D/3D viewports, scene tree, layers panel, and inspector through undoable `overrides` and `layerOverrides`, with file-browser scene placement, asset-browser prefab placement, per-field and bulk Revert, Open Source Scene, Make Local (`MakeInstanceLocal`), and Apply Overrides to Source (`ApplyOverridesToSource`) (#870). diff --git a/changelog.d/editor-scene-merge-conflicts-1059.md b/changelog.d/editor-scene-merge-conflicts-1059.md deleted file mode 100644 index fec35651a..000000000 --- a/changelog.d/editor-scene-merge-conflicts-1059.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: object-by-object Scene Merge Conflict screen (`MergeConflictView`, `OpenMergeConflict`, `OpenMergeConflictSession`, `ResolveMergeConflict`, `TakeAllAgentMergeSuggestions`, `ApplyMergeCustomYAML`, `FinishMerge`, `AbortMerge`) with `MINE`/`THEIRS`/`RESULT` live 2D previews, `CONFLICTS` and `MERGED BY ID` lists, agent suggestions with YAML and reasons, hand-edited YAML validation, `game check` + short playtest verification, Git merge commits, and merge abort (#1059). -- `game/editor/editormcp`: `merge_status`, `merge_resolve`, `merge_finish`, and `merge_abort` MCP tools for inspecting, suggesting, resolving, finishing, and aborting scene merge conflicts (#1059). diff --git a/changelog.d/editor-scene-settings-inspector-871.md b/changelog.d/editor-scene-settings-inspector-871.md deleted file mode 100644 index adaf50cf4..000000000 --- a/changelog.d/editor-scene-settings-inspector-871.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: inspect and edit scene settings (name, virtual size, background color with NSGo's color picker, and camera position, zoom, rotation and optional bounds) when no object is selected, with `sceneformat.Validate` checks, Undo/Redo, and a draggable 2D viewport camera handle (#871). diff --git a/changelog.d/editor-search-refs-914.md b/changelog.d/editor-search-refs-914.md deleted file mode 100644 index 7a83072e9..000000000 --- a/changelog.d/editor-search-refs-914.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add project-wide Search (files, paths, UIDs, scene object IDs/names, component types, prefabs, and scene references) with jump-to-file/scene-object navigation, and Find References powered by `refs.Scan` with file and line listings (`Search`, `FindReferences`, `ShowReferences`, `OpenSearchResult`, `OpenReference`, `RefreshSearch`, `SearchPanelView`) (#914). diff --git a/changelog.d/editor-settings-models-tools-usage-privacy-1028.md b/changelog.d/editor-settings-models-tools-usage-privacy-1028.md deleted file mode 100644 index acdf7d2d7..000000000 --- a/changelog.d/editor-settings-models-tools-usage-privacy-1028.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/editor`: add the per-computer **AGENT** Settings pages (**Models and connections**, **Tools**, and **Usage and privacy**, all marked **You only**) to `SettingsView` and persist their non-secret configuration under `agent` in `EditorSettings` (`editor.yaml`), keeping built-in API keys exclusively in the system keychain (#1028). -- `game/editor/editormcp`: wire `game_delete_file` as off by default in **Settings › Tools**, add live MCP tool on/off switching with `tools/list_changed` and readable call refusals, enforce outbound privacy across every connected agent and resource (including symlink-resolved paths) for Scene/data, Viewport images, Go source, and Art/audio, and add `InstallWithServers` syncing external MCP servers into `.mcp.json` and `.codex/config.toml` (#1028). diff --git a/changelog.d/editor-settings-project-pages-1060.md b/changelog.d/editor-settings-project-pages-1060.md deleted file mode 100644 index 638f67090..000000000 --- a/changelog.d/editor-settings-project-pages-1060.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `packages/game/editor`: unified `SettingsView` moving Project, Input map, Audio buses, and Export into `"PROJECT · game.yaml"` Settings pages alongside Editor General and Shortcuts settings, with `SpecPalette` Dark/Light styling, agent policy badges, cached Export readiness warnings, inline `project.Validate` errors, and keyboard-accessible `ui.Button` controls (#1060). diff --git a/changelog.d/editor-settings-shortcuts-1061.md b/changelog.d/editor-settings-shortcuts-1061.md deleted file mode 100644 index 3ef934538..000000000 --- a/changelog.d/editor-settings-shortcuts-1061.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add searchable, scope-aware **Settings › Shortcuts** rebinding with in-place same-scope **Swap**, per-row and full reset, plugin command rebinding, per-user YAML persistence in `EditorSettings.Shortcuts`, and a live `⌘/` keyboard shortcuts sheet (#1061). diff --git a/changelog.d/editor-settings-window-1005.md b/changelog.d/editor-settings-window-1005.md deleted file mode 100644 index a8f906ea4..000000000 --- a/changelog.d/editor-settings-window-1005.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: unified **Settings** window (`⌘,` to open, `Esc` to close and restore focus to the exact opener control) with `AGENT`, `PROJECT · game.yaml`, and `EDITOR · THIS COMPUTER` navigation groups, live cross-page search narrowing both navigation and rows (offering to send unmatched queries to the agent when enabled), arrow-key sidebar navigation, **Interface size** on **General**, a new **Viewport** page (Snap step/angle, Grid, Show agent changes, 3D navigation mouse mapping, and Overlay legend toggles), and strict version-1 per-person `editor.yaml` persistence with updated JSON Schema (#1005). diff --git a/changelog.d/editor-shape-handles-882.md b/changelog.d/editor-shape-handles-882.md deleted file mode 100644 index 8870b8762..000000000 --- a/changelog.d/editor-shape-handles-882.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sceneformat`, `game/editor`: added `FieldPoint`, `FieldRect`, `FieldCircle`, and `FieldPolygon` component field kinds with JSON schema definitions, interactive 2D viewport shape rendering and draggable handles (with show-all-shapes toggle, grid snapping, polygon vertex add/remove, and undoable `SetComponentField` commits), and `PluginTool` drag and hover callbacks (#882). diff --git a/changelog.d/editor-shortcuts-palette-920.md b/changelog.d/editor-shortcuts-palette-920.md deleted file mode 100644 index 56b2b1484..000000000 --- a/changelog.d/editor-shortcuts-palette-920.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: unified command registry with platform-aware keyboard shortcuts guarded against firing in focused text fields, a desktop application menu bar (`File`, `Edit`, `View`, `Project`), a `ui.CommandDialog` Command Palette covering commands, plugin tools/panels, and project scenes/files, and clash-checked plugin commands (`Plugin.Commands`) (#920). diff --git a/changelog.d/editor-skeletal-rig-886.md b/changelog.d/editor-skeletal-rig-886.md deleted file mode 100644 index 2b17e9c54..000000000 --- a/changelog.d/editor-skeletal-rig-886.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/sceneformat`, `game/refs`: add the built-in version-1 `skeletal` component (`SkeletalComponent`, `SkeletonResolver`, `BuiltObject.Skeleton`, `BuiltLayer.Skeletons`, `BuiltLayer.DrawObjects`) so `.skel.yaml` rigs with a chosen atlas, skin, and animation build, draw in Z order, advance in `BuiltScene.Update`, and track file references (`refs.FieldSkeletalRig`) (#886). -- `game/editor`: add the 2D skeletal rig editor (`RigPanelView`, `OpenRigFile`, `OpenRigProjectFile`, `NewRig`, `SaveRigYAML`, `SaveRigFile`) with interactive bone move/rotate/length handles and attachment origin handles, bone/slot/skin/attachment authoring, timeline keying with runtime `skeletal` playback and crossfade preview (`PlayRig`, `StepRig`, `CrossfadeRig`), scene placement (`PlaceRig`, `PlaceOpenRig`), full `History` undo/redo, and byte-identical open-and-save round-tripping (#886). diff --git a/changelog.d/editor-snap-grid-pixel-rotation.md b/changelog.d/editor-snap-grid-pixel-rotation.md deleted file mode 100644 index 8a10f6ecc..000000000 --- a/changelog.d/editor-snap-grid-pixel-rotation.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: grid snapping (defaulting to the active layer's tilemap tile size), pixel snapping (whole points), rotation step snapping in degrees, scale step snapping, modifier-key snap inversion (`Ctrl` / `Cmd`), an optional 2D snap grid overlay following `View2D`, multi-object selection movement snapping as a whole, and per-project persistence in `.game/editor.yaml` (#869). diff --git a/changelog.d/editor-spec-design-tokens.md b/changelog.d/editor-spec-design-tokens.md deleted file mode 100644 index 05ec1478f..000000000 --- a/changelog.d/editor-spec-design-tokens.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/editor`: added Spec typography, spacing, radius, height, border, and reduced-motion constants (`SpecFont*`, `SpecSpace*`, `SpecRadius*`, `SpecRowHeight`, `SpecButtonHeight`, `SpecHeaderHeight`, `SpecMotion*`, `SpecMotionDuration`, `SpecAgentPulseOpacity`), 3D axis tokens (`AxisX`, `AxisY`, `AxisZ`) from `Viewport3D.dc.html` in `spec_theme.yaml`, an AST test refusing `core.RGB`/`core.RGBA` and hardcoded UI hex color literals outside `spec_theme.go`, a Design tokens section in `docs/en/editor.md` and `docs/zh/editor.md`, and the Spec editor PR acceptance checklist in `.github/PULL_REQUEST_TEMPLATE.md` (#1002). - -### Changed - -- `game/editor`: replaced all hardcoded UI `core.RGB`/`core.RGBA` and hex color literals across the editor's panels, 2D/3D viewports, gizmos, handles, and debug overlays with `SpecPalette` tokens from `spec_theme.yaml`, and updated the toolbar scene title to Spec `14 / 600` (`SpecFontTitleSize`, `SpecFontTitleWeight`) (#1002). diff --git a/changelog.d/editor-spec-light-theme-1062.md b/changelog.d/editor-spec-light-theme-1062.md deleted file mode 100644 index 085d708d4..000000000 --- a/changelog.d/editor-spec-light-theme-1062.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: added the Light and Dark Spec design-token theme (`spec_theme.yaml`, `SpecTheme`, `SpecPalette`, `DarkSpecPalette`, `LightSpecPalette`, `ContrastRatio`, `SpecContrastTable`), live `AppearanceSystem` repainting, and Spec-styled viewport overlay legend and toast views measured against the same WCAG 2.2 contrast table (#1062). diff --git a/changelog.d/editor-sprite-frame-clips-881.md b/changelog.d/editor-sprite-frame-clips-881.md deleted file mode 100644 index 3bb4a44c9..000000000 --- a/changelog.d/editor-sprite-frame-clips-881.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/resource`, `game/animclip`, `game/editor`: discrete `sprite.frame` flipbook tracks in animation clips, Aseprite tag and fixed-rate frame-run clip creation (`FromAsepriteTag`, `FromFrames`, `NewClipFromAsepriteTag`, `NewClipFromFrames`), and editor frame picker, timeline thumbnails, frame retiming, and `animclip` viewport preview (#881). diff --git a/changelog.d/editor-spritesheet-slice-pivot-880.md b/changelog.d/editor-spritesheet-slice-pivot-880.md deleted file mode 100644 index 58c43e5f8..000000000 --- a/changelog.d/editor-spritesheet-slice-pivot-880.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/tooling/importsettings`, `game/tooling/pack`, `game/tooling/assetbuild`, `game/cmd/game`: add `image.pivot` (`default: [x, y]` and per-cell `cells` overrides) to `*.import.yaml` sidecars, regenerate `import.v1.json`, and write each frame's normalized pivot into packed TexturePacker atlas JSON in `game assets` and `game pack` for `sprite.LoadAtlas` (#880). -- `game/editor`: add an interactive sprite-sheet slice-grid preview canvas with draggable default and per-cell pivot markers, quick pivot presets, and undoable per-cell pivot editing to the image import panel (#880). diff --git a/changelog.d/editor-start-screen-922.md b/changelog.d/editor-start-screen-922.md deleted file mode 100644 index d2ea93356..000000000 --- a/changelog.d/editor-start-screen-922.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor` & `cmd/game`: add a Start Screen when running `game editor` with no arguments, featuring per-user versioned YAML recent projects (marking missing folders), folder-picker opening, dynamic project creation from `game new`'s template registry with live validation and streamed output, Open Demo, and clean project switching with unsaved-edits confirmation (#922). diff --git a/changelog.d/editor-start-with-ai-1051.md b/changelog.d/editor-start-with-ai-1051.md deleted file mode 100644 index 25bf8906e..000000000 --- a/changelog.d/editor-start-with-ai-1051.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `editor`: add the Start with AI first-run flow (`FirstRun.dc.html`), from **WHAT HAPPENS NEXT** and **Connect in place** on the Start Screen (preserving idea and name with no folder created until Approve) through the read-only template preview with planned ghosts, 5-stage **Building** view with object counts, Esc/Cancel confirmation (**Stop and delete the folder** scoped strictly to the folder created by the flow), check-failure fix proposals, and **The first review** with amber plan deviations, Before/After + hold-`B` peek, and three one-time tips persisted under `seenTips` in `editor.yaml` and resettable via **Help › Replay tips** (#1051). diff --git a/changelog.d/editor-task-notifications-dock-1023.md b/changelog.d/editor-task-notifications-dock-1023.md deleted file mode 100644 index b66b531ed..000000000 --- a/changelog.d/editor-task-notifications-dock-1023.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add system notifications (`cx.ShowNotification` with on-demand `cx.RequestNotificationPermission` and `cx.OnNotificationPress`), Dock icon badge counting (`cx.SetBadge`), and a Play-mode corner dot (`PlayTaskDotView`) for agent tasks in the editor (#1023). diff --git a/changelog.d/editor-terrain-autotile-879.md b/changelog.d/editor-terrain-autotile-879.md deleted file mode 100644 index f848d3d58..000000000 --- a/changelog.d/editor-terrain-autotile-879.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/tilemap`: added optional `default` local tile ID on `TerrainDoc` (regenerated `tileset.v1.json`), `TilesetDoc.Terrain`, `TilesetDoc.Clone`, `Tilemap.ApplyTerrain`, `Tilemap.SetTerrainTile`, `AutotileSet.ComputeMask`, and mask helpers (`ValidTerrainMask`, `ToggleTerrainMask`, `TerrainMaskNeighbors`, `TerrainNeighborsMask`) (#879). -- `game/editor`: added the `ToolTerrain` (`t`) autotile brush (`TileStrokeTerrain`, `TileStrokeEraseTerrain`, `PaintTerrain`, `EraseTerrain`) that places or erases terrain and updates neighboring cells through the same rules as `tilemap.Tilemap.SetAutotile` in one undoable step per stroke (#879). -- `game/editor`: added the docked Tileset Editor (`TilesetEditorPanelView`, `OpenActiveLayerTileset`, `OpenTilesetFile`, `AddTilesetTerrain`, `ToggleTilesetEdgeOrCorner`) to define 4-bit cardinal and 8-bit blob terrain sets, set defaults, and assign tiles to neighbor masks by clicking their edges and corners (#879). diff --git a/changelog.d/editor-tile-brushes-876.md b/changelog.d/editor-tile-brushes-876.md deleted file mode 100644 index f60650fc7..000000000 --- a/changelog.d/editor-tile-brushes-876.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: rectangle, Bresenham line, stamp (with palette rectangle selection and map region copy/cut/paste), and deterministic seeded weighted random tile brushes, each with live viewport preview, Escape cancellation, and single-step undo (#876). diff --git a/changelog.d/editor-tileset-file-878.md b/changelog.d/editor-tileset-file-878.md deleted file mode 100644 index 6ed5ab135..000000000 --- a/changelog.d/editor-tileset-file-878.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/tilemap`: `TilesetDoc` (`*.tileset.yaml`, version 1) tiles now support optional `name` and non-negative `weight` (populated into `Tileset.TileProbabilities` and reflected in `tileset.v1.json`), and `*Tilemap` directly implements `physics.TileGrid` and `physics.TileGridOrigin` so tiles marked `solid` or `oneWay` collide through `physics.MoveAndSlide` with no Go code naming the tile (#878). -- `game/sceneformat` and `game check`: version 2+ single-grid inline tilemaps may reference `tilesetFile` in place of a `tileset` atlas (`data` + `tilesetFile`), building into `BuiltLayer.Map` with all tileset flags, collision shapes, animations and custom properties, and `tooling/assetcheck` reports missing `tilesetFile` references and out-of-range tile IDs with file and line (#878). -- `game/editor` and `game/editor/editormcp`: the Tileset Editor adds tabbed Collision (solid, one-way, custom flag bits, and interactive rect/polygon shapes drawn over the tile), Animation (frames, durations and live preview), and Custom Data (name, variant weight and typed properties) editing alongside Terrain, all undoable and reflected live in the 2D viewport (including live animated tiles in edit mode) and Play mode; a right-side Tile Inspector edits the active tile's collision and rules when painting, and MCP tools `tileset_read` and `tileset_edit` read and edit the same tileset fields (#878). diff --git a/changelog.d/editor-toasts-1004.md b/changelog.d/editor-toasts-1004.md deleted file mode 100644 index 5e42d9cf1..000000000 --- a/changelog.d/editor-toasts-1004.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: add the Spec passing-feedback toast system (`Editor.EmitToastEvent`, `ToastEvent`, `ToastHandle`, `SpecFeedbackChannels`, `ToastDuration`, `ToastView`, `WindowToastView`) with five semantic kinds (success, info, warning on `Warning.Fill`/`Warning.Edge`, error, and progress), FIFO single-slot queuing with `+N` waiting counts and in-place repeat merging that never jumps ahead of errors or running progress, Spec auto-dismiss timers paused on hover/touch/keyboard focus/window background, 180 ms rise+fade / 120 ms exit motion honoring `ReduceMotion`, polite `RoleStatus` live regions with `F6`/`Tab`/`Esc` focus restoration, viewport-vs-window placement, and event routing for explicit `⌘S` save failures (with `Retry`, keeping autosave failures strictly in the status bar), live `export_panel.go` progress/cancel/complete toasts, copied text, and external disk reloads (#1004). diff --git a/changelog.d/editor-toolbar-unsaved-slot.md b/changelog.d/editor-toolbar-unsaved-slot.md deleted file mode 100644 index f389a0ef7..000000000 --- a/changelog.d/editor-toolbar-unsaved-slot.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/editor`: reserve a fixed slot for the unsaved `*` marker in the editor toolbar so marking a scene dirty or clean never wraps the toolbar onto an extra row or shifts the viewport vertically. diff --git a/changelog.d/editor-turn-checkpoints-1018.md b/changelog.d/editor-turn-checkpoints-1018.md deleted file mode 100644 index d1d95d9b4..000000000 --- a/changelog.d/editor-turn-checkpoints-1018.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Editor: persistent per-turn checkpoints stored as strict versioned YAML manifests and verbatim pre-turn files under `.nsgo/checkpoints/` (ignored by git, enforcing You-only boundaries, symlink refusal, and automatic size-cap pruning), pre-start checkpoints for autonomous tasks and automations, unified History panel (`⌘Y`) integration with cross-session checkpoint preview and one-step undoable multi-file restore, plus `checkpoint_list` and permission-checked `checkpoint_restore` MCP tools. diff --git a/changelog.d/editor-unsaved-disk-reload-906.md b/changelog.d/editor-unsaved-disk-reload-906.md deleted file mode 100644 index a677773a1..000000000 --- a/changelog.d/editor-unsaved-disk-reload-906.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/editor`: watch the open scene, open animation clip, `game.yaml`, and project tree for external changes, automatically reloading clean files and refreshing the file browser while offering Compare (per-object Mine/Disk merge), Reload from disk, and Keep mine for dirty files (#906). -- `game/editor`: guard `Save`, `SaveFile`, `SaveProject`, and `SaveClipFile` against overwriting files modified on disk since open or last save (`ErrDiskConflict`, `ForceSave`, `ConfirmOverwriteSave`, and the overwrite confirmation dialog) (#906). - -### Fixed - -- `game/editor`: preserve open clip saved state and disk snapshots across undo/redo and `OnSaveClip` callbacks so clip dirty tracking clears accurately on save and undo (#906). diff --git a/changelog.d/editor-viewport-overlays-1006.md b/changelog.d/editor-viewport-overlays-1006.md deleted file mode 100644 index 60847fcd2..000000000 --- a/changelog.d/editor-viewport-overlays-1006.md +++ /dev/null @@ -1,9 +0,0 @@ -### Added - -- `game/editor`: unified Spec viewport overlay renderer (`DrawObjectOverlay`) and live overlay API (`SceneOverlayEntry`, `SetSceneOverlays`) supporting all seven Spec overlay kinds (Selection, Agent working, Added, Changed, Removed, Problem, Focused change in Review) with non-color second cues, Selection+Agent 3 px outer pairing, 240 ms change fade-in, 1.6 s Agent pulse, and reduced-motion static rendering (#1006). -- `game/editor`: shared top-left viewport overlay legend (`viewport-overlay-legend`) across 2D and 3D viewports with six `role="switch"` toggles persisted per user under `overlayLegend` in `EditorSettings` (`editor-settings.v1.json`) (#1006). -- `game/tooling/assetcheck`: populate `Problem.Object` on scene object, component, override, and connection diagnostics (and expose `object` in `editormcp`'s `game_check`) so live Problem overlays attach directly to objects in the open scene (#1006). - -### Changed - -- `game/editor`: switch 2D and 3D selection outlines to the Spec style (1.5 px solid accent, four corner handles, name tag) and move camera frame, camera bounds, tile grid, and snap grid to neutral `SpecPalette` hairline/dotted tokens distinct from all legend kinds (#1006). diff --git a/changelog.d/editor-viewport-overlays-1040.md b/changelog.d/editor-viewport-overlays-1040.md deleted file mode 100644 index 81c9c9ccc..000000000 --- a/changelog.d/editor-viewport-overlays-1040.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add a 2D viewport Overlays menu (`SHOW IN VIEWPORT` popover with live counts and switches for collision shapes, triggers, connections with `"event → handler"` arrows, patrol paths, navigation, camera bounds, labels, and plugin-registered `ViewportOverlay` entries), per-user `viewportOverlays` persistence in `EditorSettings`, and shared `viewport_overlays` support in `viewport_image` (#1040). diff --git a/changelog.d/editor-viewport-sketch-agent.md b/changelog.d/editor-viewport-sketch-agent.md deleted file mode 100644 index e5b7514fe..000000000 --- a/changelog.d/editor-viewport-sketch-agent.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`, `game/editor/editormcp`: add a session-only viewport sketch layer (Pen, Arrow, Box, Text in scene coordinates with numbered badges, labels, rendered PNG export, keyboard shortcuts in `ScopeSketch`), `sketch_read` / `sketch_reading` MCP tools with a confirmation hold gate on `scene_edit` until Go ahead or Correct a mark, and a review Sketch overlay toggle where Keep clears marks and Revert keeps them (#1025). diff --git a/changelog.d/editor-you-only-deletions-1015.md b/changelog.d/editor-you-only-deletions-1015.md deleted file mode 100644 index 0e02994aa..000000000 --- a/changelog.d/editor-you-only-deletions-1015.md +++ /dev/null @@ -1,2 +0,0 @@ -### Added -- Enforce the You-only trust boundary across every `editormcp` tool, add the `permissions_draft` modal card (nothing ticked by default, never applied by `⌘↵`, Keep all, automations, or Autonomous, recorded in History as the person's), hold externally loosened `permissions.yaml` profiles and rules in Settings › Permissions while applying tightened ones immediately, and add `game_delete_file` proposed deletions that Keep all leaves untouched until confirmed in place and `⌘Z` restores from a checkpoint (#1015). diff --git a/changelog.d/effects-palette-swap-95.md b/changelog.d/effects-palette-swap-95.md deleted file mode 100644 index 02b0c8898..000000000 --- a/changelog.d/effects-palette-swap-95.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/effects`: `PaletteSwap`, `PaletteRamp` and `PaletteImage` for mapping frame colors through a palette texture, plus chain-managed effect textures (`Texture`/`TextureSize` in Kage, `Effect.Texture`, `View.Textures`/`View.TexturesFunc`, `Chain.Images` and `Chain.ReferenceWithTextures`) with CPU reference pictures for headless golden tests (#95). diff --git a/changelog.d/errors-an-agent-can-act-on-503.md b/changelog.d/errors-an-agent-can-act-on-503.md deleted file mode 100644 index 8b00fe516..000000000 --- a/changelog.d/errors-an-agent-can-act-on-503.md +++ /dev/null @@ -1,9 +0,0 @@ -### Added - -- `game/loaderr`: a shared `Error` for files a loader cannot use, naming the file, line, column, field, what was expected and a fix, with `Locate` to find a field's line in YAML or JSON and to turn decode errors into it; a guide in `docs/en/errors.md` (#503). -- `game/save`: `Store.LoadChecked` checks a decoded value while the slot loads, falling back to the backup copy when the check refuses it (decoded into the value the destination held before the call, not over the refused copy) and reporting the check's field at its line; load errors name a `FileBackend` copy by its file path and a `StorageBackend` copy by its storage key (#503). - -### Changed - -- Every loader (`sceneformat`, `particles`, `skeletal`, `anim3d`, `sprite`, `tilemap`, `l10n`, `input`, `modding`, `replay`, `save`, `entities`, `assets`, `world3d`, `gltf`, `text`, `flow`, `editor`, `debug`, `tooling/datatable`, `tooling/devstate`, `tooling/bench`, `cmd/sizecheck`) returns `*loaderr.Error` values that name the file, line and field and give a fix; messages now start with `file:line:column:` instead of a package prefix. Sentinels such as `save.ErrCorrupt` and `modding.ErrInvalidManifest` and `datatable.CellError` still match with `errors.Is` and `errors.As` (#503). -- `game/entities`: `LoadWorld` checks the snapshot while the slot decodes, so a snapshot it cannot restore falls back to the backup copy (#503). diff --git a/changelog.d/event-connections-declared-in-files-490.md b/changelog.d/event-connections-declared-in-files-490.md deleted file mode 100644 index b9a7a6a33..000000000 --- a/changelog.d/event-connections-declared-in-files-490.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sceneformat`: scene files connect one object's events to another object's handlers under `connections`, as Godot's `.tscn` connections do: component types declare `Events` and `Handlers` (with typed params and a `Func`), `ParseWith` refuses unknown events, handlers and arguments with the file, line and column, `Resolve` carries connections through instancing and inheritance, and `Connect` returns `Signals` whose `Emit` runs the connected handlers, so a button opens a door with no Go wiring code; `game/editor`'s `DeleteObject` removes the connections of the deleted objects and undo restores them (#490). diff --git a/changelog.d/example-3d-scene-205.md b/changelog.d/example-3d-scene-205.md deleted file mode 100644 index d450bbf35..000000000 --- a/changelog.d/example-3d-scene-205.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `examples/lantern3d`: interactive 3D glTF 2.0 diorama scene (`Lantern 3D`) on NSGo's `gpu.View` with `game/gltf`, `render3d` meshes/textures/camera uniforms, `scene3d.OrbitController` mouse/touch/keyboard camera controls, a `render3d.LightRig` (moonlight key, orbiting wisp, shrine glow, ambient) shaded with render3d's metallic-roughness PBR and sRGB base-color textures, native `scene.HUD3D` overlay, `NoGPU` fallback, and cross-target headless tests on full and WebGL 2 / GLES 3.0 GPU profiles (#205). diff --git a/changelog.d/example-switch-2d-3d-126.md b/changelog.d/example-switch-2d-3d-126.md deleted file mode 100644 index d8830d712..000000000 --- a/changelog.d/example-switch-2d-3d-126.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `examples/lantern3d`: switch between the 3D glTF Lantern Shrine (`gpu.View`) and a top-down 2D Courtyard Map (`scene.Scene` + `sprite.Batch`) through `scene.Manager.View` with `scene.Fade`, push a transparent 2D pause overlay without rebuilding 3D GPU pipelines, and share one `*input.Actions` and `*sound.Mixer` (continuous ambient music plus switch chime SFX) across transitions (#126). diff --git a/changelog.d/feat-ai-tiled-navmesh-obstacles-826.md b/changelog.d/feat-ai-tiled-navmesh-obstacles-826.md deleted file mode 100644 index dc2d3b36c..000000000 --- a/changelog.d/feat-ai-tiled-navmesh-obstacles-826.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/ai`: add 2D `TiledNavMesh` and `NavTile` with independent tile baking/add/replace/remove, cross-border polygon linking, runtime dynamic obstacles (`NavBoxObstacle`, `NavOrientedBoxObstacle`, `NavCircleObstacle`, `NavPolygonObstacle` in carve or mark modes) rebuilding only touched tiles, two-level spatial indexing, and per-tile path invalidation (`IsPathValid`, `WatchPath`, `AddTileListener`) (#826). -- `game/world3d`: add 3D `TiledNavMesh`, `NavTile`, multi-level-aware 3D dynamic obstacles (`NavBoxObstacle`, `NavOrientedBoxObstacle`, `NavCylinderObstacle`, `NavPolygonObstacle`), two-level 3D spatial indexing, per-tile path invalidation, and `NavTileStreamer` following `ChunkStreamer` to load and unload navmesh tiles with world chunks (#826). -- `game/navbake`, `game/navbake3d`: add `Mesh.TiledNavMesh` helpers and `navbake3d.BakeTile` for independent chunk-aligned voxel tile baking (#826). diff --git a/changelog.d/feat-editor-scene-tabs-873.md b/changelog.d/feat-editor-scene-tabs-873.md deleted file mode 100644 index 6d07728bd..000000000 --- a/changelog.d/feat-editor-scene-tabs-873.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: support multiple open scenes in tabs (`SceneTabsView`, `Tabs`, `ActiveTab`, `TabCount`, `SelectTab`, `SaveTab`, `CloseTab`, `RequestCloseTab`, `OpenInstancedScene`, `OpenBaseScene`) with separate per-tab documents, undo histories, selections, 2D/3D view transforms, and dirty markers, automatic rebuilding of open tabs whose instanced or base scenes are saved, and per-tab unsaved-changes confirmation on close while sharing the project file across tabs (#873). diff --git a/changelog.d/feat-modding-steam-workshop-537.md b/changelog.d/feat-modding-steam-workshop-537.md deleted file mode 100644 index 057357f10..000000000 --- a/changelog.d/feat-modding-steam-workshop-537.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/modding`: add Steam Workshop (`ISteamUGC`) integration (`Workshop`, `WorkshopBackend`, purego-backed `NewSteamWorkshop` for desktop, `NewMemoryWorkshop` for tests, deterministic `workshop.yaml` metadata, and dynamic `Manager.Install`/`InstallFS`/`Uninstall`) so authors can publish mods and levels and subscribed players automatically sync and load them (#537). diff --git a/changelog.d/field-medic-editor-plugin-example-492.md b/changelog.d/field-medic-editor-plugin-example-492.md deleted file mode 100644 index bff65729a..000000000 --- a/changelog.d/field-medic-editor-plugin-example-492.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `examples/fieldmedic`: Field Medic, a small runnable game that ships its own scene editor (`cmd/editor`) with an editor plugin built in: a `health` component its game and editor share, and a `health` plugin with a Ward panel whose Heal All is one undoable step, an inspector for the component and an Admit tool; `docs/*/editor.md` describes how a game lays out and ships an editor with plugins (#492). diff --git a/changelog.d/fix-ai-tiled-navmesh-hardening.md b/changelog.d/fix-ai-tiled-navmesh-hardening.md deleted file mode 100644 index 4bdbb8871..000000000 --- a/changelog.d/fix-ai-tiled-navmesh-hardening.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/ai`, `game/world3d`, `game/navbake3d`: synchronize lazy coarse tile BVH construction in `TiledNavMesh` so concurrent read-only queries are race-free; prevent path tightening from shortcutting across implicit higher-cost areas or omitting shortcut tiles from `TiledNavPathResult.Tiles`; add 3D corner-grazing bridging to `world3d.TiledNavMesh.RaycastWithFilter`; clamp tile coordinates and reject oversized obstacle tile spans cleanly; and evaluate 3D obstacle Y overlap on the clipped ramp surface rather than the full polygon AABB (#826). diff --git a/changelog.d/fix-editor-import-settings-safety.md b/changelog.d/fix-editor-import-settings-safety.md deleted file mode 100644 index c623aadf4..000000000 --- a/changelog.d/fix-editor-import-settings-safety.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- Memoize the asset import inspector and stop static tooltips from subscribing `InspectorView` to `rev`, preserving unsaved credit/font drafts and focus across unrelated updates; guard atlas `meta.image` and target output paths against path traversal during `ReloadAssets`; report the resolved multi-page atlas JSON path (`name-0.json`) in `AssetReloader` callbacks; and clamp non-finite numeric input conversions (#915). diff --git a/changelog.d/fix-macos-navbake-and-editor-toolbar.md b/changelog.d/fix-macos-navbake-and-editor-toolbar.md deleted file mode 100644 index 370be43ca..000000000 --- a/changelog.d/fix-macos-navbake-and-editor-toolbar.md +++ /dev/null @@ -1,4 +0,0 @@ -### Fixed - -- `game/navbake`: skip edge endpoints and prevent FMA contraction in polygon convexity validation so arm64 and amd64 agree on collinear vertices. -- `game/editor`: let the tools strip wrap independently in the editor toolbar and clamp the scene path label container so long scene paths cannot push tools off the right edge of the window. diff --git a/changelog.d/fix-navmesh-query-allocs-fma-race.md b/changelog.d/fix-navmesh-query-allocs-fma-race.md deleted file mode 100644 index bb1aadb3a..000000000 --- a/changelog.d/fix-navmesh-query-allocs-fma-race.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/ai`, `game/world3d`: eliminate arm64 FMA contractions in `NavMesh.RandomPoint` and `NavMesh.RandomPointAround`, move the 3D navmesh flat portal index into `world3d.NavMeshQuery` to avoid concurrent lazy-mutation races and duplicate `NavLink` allocations, and trim `world3d.NavMesh` build allocations (#827). diff --git a/changelog.d/fix-physics-ccd-fma-and-sleep-wake.md b/changelog.d/fix-physics-ccd-fma-and-sleep-wake.md deleted file mode 100644 index 94041b22a..000000000 --- a/changelog.d/fix-physics-ccd-fma-and-sleep-wake.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/physics`: prevent arm64 FMA contraction in `sweepHullAgainst` (`rigid_ccd.go`), wake sleeping partners immediately on `RigidWorld.RemoveBody`, `AddJoint`, `RemoveJoint`, and moved/removed static joint anchors (preserving `Save`/`Restore` rollback determinism), and ensure bodies with `NaN` velocities do not fall asleep (#804). diff --git a/changelog.d/fix-rts-crowd-budget-test-954.md b/changelog.d/fix-rts-crowd-budget-test-954.md deleted file mode 100644 index 9e4116097..000000000 --- a/changelog.d/fix-rts-crowd-budget-test-954.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/rts`: split wall-clock step timing out of `TestCrowdThousandUnitsReachTarget` into `BenchmarkCrowdThousandUnits` tracked by the CI performance baselines so `go tool nsgo test ./rts` stays deterministic on busy machines (#954). diff --git a/changelog.d/fix-spritesheet-slice-pivot-safety.md b/changelog.d/fix-spritesheet-slice-pivot-safety.md deleted file mode 100644 index 85df50ffa..000000000 --- a/changelog.d/fix-spritesheet-slice-pivot-safety.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/tooling/importsettings`, `game/editor`: guard `Slice.Cells` against `cell+spacing` and `cols*rows` integer overflows, add zero-allocation `Slice.GridCounts` / `Slice.CellRect` and `MaxSliceCells` cap, bound sprite-sheet import preview drawing and cell picker on dense grids (such as 1×1 cells on a 1024×1024 sheet), finish or cancel image pivot drags cleanly on outside release / `PlayIn` / non-finite coordinates, and enforce project-root symlink containment in `loadImportPreviewImage` (#880). diff --git a/changelog.d/fix-tilemap-collision-physics-followup.md b/changelog.d/fix-tilemap-collision-physics-followup.md deleted file mode 100644 index 23eaf6c14..000000000 --- a/changelog.d/fix-tilemap-collision-physics-followup.md +++ /dev/null @@ -1,5 +0,0 @@ -### Fixed - -- `game/tilemap`: fix `EncodeTiled` to clear or update stale `solid`, `one-way`, and `flags` tile properties when flags are cleared via `SetFlags`, refuse non-finite tile sizes and overflowing layer dimensions, and match `Tileset.TileCollisions` (`map[uint32]*ObjectLayer`) in documentation (#814). -- `game/project`: clone `IntGridFlags` and `IntGridValueFlags` in `(*Resolver).LDtkOptions` so callers cannot mutate or race on cached project rules (#814). -- `game/tileshape`: pre-merge chunk `shapePolys`, reject non-overlapping polygon pairs by AABB in `mergeConvexPolys`, and wrap intermediate float products in `float64(...)` to avoid arm64 FMA drift (#814). diff --git a/changelog.d/flow-hsm-838.md b/changelog.d/flow-hsm-838.md deleted file mode 100644 index dcae9a83d..000000000 --- a/changelog.d/flow-hsm-838.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/flow`: hierarchical state machines (`HSM[S]`) with nested child machines, lowest-common-ancestor transitions, innermost-first parent/child evaluation, deterministic FIFO event transitions with `flow.Bus` binding (`BindBus`, `OnEvent`), optional shallow history, and active-path inspection (`Current`, `Leaf`, `In`, `TimeIn`) (#838). diff --git a/changelog.d/fog-of-war-529.md b/changelog.d/fog-of-war-529.md deleted file mode 100644 index a71f5ea90..000000000 --- a/changelog.d/fog-of-war-529.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/fog`: per-team fog of war on tile grids, with radius vision sources, symmetric shadowcasting past opaque cells, explored versus visible cells, a culled overlay drawn over a tilemap, and deterministic versioned JSON snapshots that survive a `save.Store` round trip (#529). diff --git a/changelog.d/format-conformance-checks-479.md b/changelog.d/format-conformance-checks-479.md deleted file mode 100644 index 97fc2c2e7..000000000 --- a/changelog.d/format-conformance-checks-479.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `internal/formattest`: a shared conformance check that every package reading a YAML format runs on canonical testdata files, requiring a byte-identical load and save round trip, output that does not depend on map order, the time or randomness, and an error naming the key for an unknown top-level key, a missing `version`, `version: 0` and a version newer than the format reads; `go tool nsgo test` fails a package that decodes YAML without running it, and `docs/en/schemas.md` describes how to add a format to it (#479). diff --git a/changelog.d/format-reference-480.md b/changelog.d/format-reference-480.md deleted file mode 100644 index e89093bfb..000000000 --- a/changelog.d/format-reference-480.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Docs: a File Formats page (`docs/en/formats.md`, `docs/zh/formats.md`) listing every format a game reads or writes, with its files, version, the Go functions that read and write it, the guide to its fields and an example; each YAML format's conformance check now names its entry in `formattest.Format.Doc` and loads and saves the entry's examples, and `TestFormatsPage` loads the JSON and Yarn examples with each format's reader and fails when the two languages differ, when an entry's format is gone, or when a package that decodes JSON or an exported `…Version` constant has no entry (#480). diff --git a/changelog.d/formats-conformance-new-formats.md b/changelog.d/formats-conformance-new-formats.md deleted file mode 100644 index 760ca69bf..000000000 --- a/changelog.d/formats-conformance-new-formats.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `docs/formats`: list Steam Workshop metadata (`workshop.yaml`) and 3D hot-reload materials (`*.material.yaml`) on the File Formats reference page and run format conformance checks on them. diff --git a/changelog.d/fountain-particle-stress-scene-85.md b/changelog.d/fountain-particle-stress-scene-85.md deleted file mode 100644 index 0c02eab56..000000000 --- a/changelog.d/fountain-particle-stress-scene-85.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `examples/fountain`: a 5000-particle stress scene for measuring `game/particles` with `--nsgo-fps`, and benchmarks of 5000 tinted particles drawn one at a time and of the scene's 5000 untinted particles drawn in `DrawAtlas` runs (#85). diff --git a/changelog.d/game-assets-pipeline-455.md b/changelog.d/game-assets-pipeline-455.md deleted file mode 100644 index a2ac3d94f..000000000 --- a/changelog.d/game-assets-pipeline-455.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game assets` builds every asset target in the new `assets` section of `game.yaml` in one run: it packs atlases, encodes KTX2 textures, converts audio and regenerates the asset manifest, and keeps a YAML cache of each target's settings, inputs and outputs so a second run with nothing changed writes no file and changing one image repacks only its atlas; `-check` lists out-of-date targets for CI, comparing with the committed outputs when the cache is absent (AAC and MP3 outputs, whose bytes depend on the encoder, only need to exist), and `-force` rebuilds everything. A renamed or removed target's old outputs are deleted, the cache key of an AAC or MP3 target names its encoder and version (`audioconv.Encoder.Tool`), and `game.yaml` refuses targets that would write over the project file or their own inputs. The `assets` section is part of package `project`'s one `game.yaml` schema (`project.Assets`), so `game release`, the editor and `game assets` accept the same file; `game/tooling/assetbuild` holds the builder, and `pack.ScanDir` lists the images `pack.PackDir` packs (#455). diff --git a/changelog.d/game-check-456.md b/changelog.d/game-check-456.md deleted file mode 100644 index 97d228a32..000000000 --- a/changelog.d/game-check-456.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game check` subcommand and `game/tooling/assetcheck` package: check the scenes, Tiled and LDtk maps and sprite atlases under a directory and the references between them (tilemap sources, external tilesets, images, atlases and their frames, materials and their textures), reporting each problem as `file:line: message`; the Examples workflow runs it on the sample games (#456). -- `sceneformat.FieldError`: every error `sceneformat.Validate` returns names the field at fault by its path in the document, and `Validate` reports the entries of `tilemaps` in key order (#456). diff --git a/changelog.d/game-completion-and-docs-459.md b/changelog.d/game-completion-and-docs-459.md deleted file mode 100644 index 6bc797f97..000000000 --- a/changelog.d/game-completion-and-docs-459.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game completion` writes a zsh, bash or fish completion script generated from the commands' definitions, completing the subcommands, their flags, the values `-format` takes and file paths, and the website's Command Reference page, in English and Chinese, lists every subcommand's usage and flags generated from the same definitions (#459). diff --git a/changelog.d/game-dev-hot-reload-454.md b/changelog.d/game-dev-hot-reload-454.md deleted file mode 100644 index 1f2068934..000000000 --- a/changelog.d/game-dev-hot-reload-454.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game dev`, run as `go tool game dev`, runs the game with `nsgo dev` and passes it its asset directory (`resources` by default) in `NSGO_GAME_ASSETS`, which `tooling/hotreload`'s `DevAssetsDir` returns for the game's `assets.Manager` to read from; `tooling/hotreload`'s `NewDevWatcher` starts a watcher there, `Watcher.WatchAssets` reloads the atlases, images and raw bytes an `assets.Manager` has loaded when their files are saved, within a second on the native and tui targets and on Android with `-android-host`, following the density a screen shows for multi-density images and leaving files a DLC pack overrides alone, and `Watcher.WatchAtlasFiles` reloads an atlas's JSON and image for atlases the game loads itself (#454). -- `game/assets`: `Manager.Reload` replaces the loaded assets read from a URI, updating atlases in place, and `Manager.Revision` counts those reloads for canvases and effects to redraw on (#454). diff --git a/changelog.d/game-editor-opens-a-project-with-its-own-905.md b/changelog.d/game-editor-opens-a-project-with-its-own-905.md deleted file mode 100644 index f536718f1..000000000 --- a/changelog.d/game-editor-opens-a-project-with-its-own-905.md +++ /dev/null @@ -1,11 +0,0 @@ -### Added - -- `game/project`: `Resolver` (`NewResolver`) loads what a scene names from a project's own files: sprite atlases found by name nearest the scene as `game check` finds them (`NearestAtlases`, `ForScene`), with their images read from the project, scene files, whose atlas names it resolves from each file's own directory so an instanced or inherited scene in another directory draws the atlas `game check` finds for it, materials, physics materials, and through `ReadFile` the YAML tilesets and Tiled and LDtk maps tilemaps name; it lists the project's atlases (`AtlasNames`) and reads them and its materials again after `Refresh`, and is safe for concurrent use. `AtlasNamed`, `SkipDir`, `IsAtlasJSON`, `ResolveRef` and `HasScheme` are the atlas and path rules it shares with `game check`, so an atlas `meta.image` such as `hero 1:2.png` that `game check` accepts draws in the editor too (#905). -- `game/editor`: `Editor.ProjectAssets` makes opening a project switch the editor's resolver to a `project.Resolver` over it, so its scenes draw its own atlases, the asset browser lists them and its scene files place as instances; `OpenProjectScene` opens a project with another of its scenes, setting `ScenePath` so an instance of the open scene in itself is refused as a cycle (#905). -- `game/editor/editorcmd`: the scene editor's command line, shared by `nsgo game editor` and a game's own editor command: `New`, `Open`, `Run`, `Main`, `Show`, `Serve`, which serves the editor's MCP endpoint in a game's own editor too, and `ProjectRoot`, with `Options.RequirePlugins` refusing a project that lists a plugin the command lacks and `Options.WindowWidth` and `Options.WindowHeight` sizing the window (default 1120 by 680). An editor built with `Options.Components` checks scenes against those types together with the built-in physics components, so a scene with a `body2d` still opens in a game's own editor (#905). -- `game generate editor` writes a game's own editor command, a `main` built with the `gameeditor` tag that checks the project's scenes against its `Components` and builds in its editor plugins, and tags every file that declares the game's `main`, for any platform, `!gameeditor`; it refuses such a file when it also declares something the rest of the package needs, such as a name another file uses or an `init` function, which the editor build would lose (#905). - -### Changed - -- `game editor` opens a project, or a scene file inside one, with the project's own atlases, scene files and free-form components in place of the demo room's atlases and component registry, and runs the project's own editor command when it has one, written by `game generate editor` or as a `cmd/editor` main package that imports `editorcmd`, which takes the same command line; a `cmd/editor` that does not is reported and not run. Field Medic's `cmd/editor` now runs on `editorcmd.Main`, so it opens a scene file and a clip as `game editor` does, still in a 1280 by 800 window (#905). -- `game/editor`: without a component registry, `SetComponentField` still checks the fields of the built-in physics components (`sceneformat.PhysicsComponentRegistry`) as the inspector shows them, while a game's own components stay free-form, so a project opened with free-form components refuses a misspelled `body2d` field, as the demo registry did (#905). diff --git a/changelog.d/game-generate-505.md b/changelog.d/game-generate-505.md deleted file mode 100644 index e8f33432f..000000000 --- a/changelog.d/game-generate-505.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game generate component|system|scene|prefab ` writes a new component, system, scene or prefab into a game project in its conventions: the Go code and a test for each, the scene file of a scene or prefab in the current scene format, and its registration in the `Components`, `Systems` and `Prefabs` registries it declares once, and with `-autoload` or `-main` a scene's entry in `game.yaml`'s autoloads; what it writes builds and passes `game check`, and it refuses to overwrite a file or redeclare an identifier (#505). - -### Changed - -- The starter's `TestProjectFileIsValidAndCanonical` checks `nsgo.yaml` against `game.yaml` with `CheckNSGo` instead of `project.Check`, which failed on any autoload because the test saw only those two files, and the new `TestAutoloadsLoad` checks the scenes and resources `game.yaml` autoloads from the project directory, skipped under `nsgo test -target` where that directory cannot be read (#505). diff --git a/changelog.d/game-new-from-templates-453.md b/changelog.d/game-new-from-templates-453.md deleted file mode 100644 index cbf1a9474..000000000 --- a/changelog.d/game-new-from-templates-453.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new ` creates a game project from the starter template, the one `template/template` holds, with the `name` and `id` of `game.yaml` and `nsgo.yaml` and the module path set from the directory or `-name` and `-module`, then runs `go get -tool` and `go mod tidy` so its `go.mod` requires the command's own version of the game layer (or `-version`) and has the `game` tool beside `nsgo`; `-template` chooses among templates, `starter` for now (#453). diff --git a/changelog.d/game-new-template-registry-787.md b/changelog.d/game-new-template-registry-787.md deleted file mode 100644 index 6bc80d410..000000000 --- a/changelog.d/game-new-template-registry-787.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -list` lists the templates `game new` can start from, each with a line saying what it is, and shell completion completes `-template` with their names; the [Templates](docs/en/templates.md) page lists them with the module `nsgo init -template` takes for each and describes how a template is laid out and added, and CI tests every template against the game layer version it pins (#787). diff --git a/changelog.d/game-release-458.md b/changelog.d/game-release-458.md deleted file mode 100644 index 1ca3aaa1a..000000000 --- a/changelog.d/game-release-458.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game release` builds a game's release packages for macOS, Windows, Linux, web, iOS and Android in one run of `nsgo build` (macOS, Windows and Linux for the steam channel), or for the targets of `game.yaml`'s export presets, with `-target`, `-output`, `-channel`, `-release-notes`, `-jobs` and `-dry-run` (#458). diff --git a/changelog.d/game-replay-and-bench-457.md b/changelog.d/game-replay-and-bench-457.md deleted file mode 100644 index 5332676f5..000000000 --- a/changelog.d/game-replay-and-bench-457.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game replay` checks every `*.replay.yaml` input recording under its directories and plays them headless through the tests with `Replay` in their names, failing when a recording cannot be played, a run ends in another state than its test expects or no test passed; `game bench` runs the benchmarks headless with `nsgo test -bench`, compares each one's median with a stored baseline and fails on a regression, or records the baseline with `-update` (#457). -- `game/tooling/bench` reads and writes benchmark baselines as versioned YAML text, parses `go test -bench` and `nsgo test -bench` output and reports regressions (#457). - -### Removed - -- The `benchcheck` command, replaced by `game bench`, and its JSON baseline: baselines are now YAML text files with a version field (`benchmarks/baseline.yaml` in this repository) (#457). diff --git a/changelog.d/gameui-screen-files-1046.md b/changelog.d/gameui-screen-files-1046.md deleted file mode 100644 index eb77f13c6..000000000 --- a/changelog.d/gameui-screen-files-1046.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/gameui`: add versioned `*.screen.yaml` HUD and menu screen files (`ParseScreen`, `EncodeScreen`, `LoadScreenFS`, `BuildScreen`, `CheckScreen`, `ScreenCanvas`, `ColorRect`, `SpriteRow`, `TouchStick`, `TouchButton`) with published JSON Schema `screen.v1.json`, nine-point/fill anchors, safe-area insets, device-class conditions, declared focus order, localized `textKey` resolution, and `game check` / `refs` / `game mv` support (#1046). diff --git a/changelog.d/gameui-settings-menu-541.md b/changelog.d/gameui-settings-menu-541.md deleted file mode 100644 index b08e08a15..000000000 --- a/changelog.d/gameui-settings-menu-541.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/gameui`: ready-to-use `SettingsMenu` covering Audio, Video (window mode, resolution, scale mode, integer scale, quality preset, VSync, frame cap), Controls (keyboard/gamepad rebinding capture and reset), Language, and Accessibility, persisted through `save.DefaultSettingsStore`, operable with mouse, touch, keyboard, and gamepad alone, and wired into `examples/caverun` (#541). diff --git a/changelog.d/generate-2d-navigation-meshes-from-obsta-822.md b/changelog.d/generate-2d-navigation-meshes-from-obsta-822.md deleted file mode 100644 index 468258b2b..000000000 --- a/changelog.d/generate-2d-navigation-meshes-from-obsta-822.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/navbake`: bake `ai.NavMesh` polygons from an outline with concave obstacles and holes, or from a tilemap's solid cells on orthogonal, isometric, staggered and hexagonal maps, shrunk by an agent radius so paths keep clear of walls; one mesh per agent type with `BakeAll`, a versioned YAML mesh file with byte-identical bakes and lossless round trips, and a `Draw` debug overlay of polygons and portals (#822). diff --git a/changelog.d/gltf-morph-targets.md b/changelog.d/gltf-morph-targets.md deleted file mode 100644 index 3c2bd6fb0..000000000 --- a/changelog.d/gltf-morph-targets.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/gltf`: full glTF 2.0 morph target evaluation (`MorphResult`, `ApplyMorphWeights`, `EvaluateMorphTangents`), glTF weight precedence (`ResolveWeights`, `ResolveWeightsInto`), and zero-allocation animated weight sampling (`SampleMorphWeights` for `STEP`, `LINEAR`, and `CUBICSPLINE`) verified against the Khronos `AnimatedMorphCube` model (#273). -- `game/render3d`: `MorphTarget`, `MorphMesh`, `UploadMorphMesh`, and `GPUMorphMesh` for dirty-tracked morph target vertex buffer updates, live object-space bounds, `Retained` device-loss restoration, and `MeshVertexLayout` drawing across all GPU view backends (#273). diff --git a/changelog.d/gltf-texture-transform-variants-274.md b/changelog.d/gltf-texture-transform-variants-274.md deleted file mode 100644 index bda7b5e0b..000000000 --- a/changelog.d/gltf-texture-transform-variants-274.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/gltf`: complete `KHR_texture_transform` and `KHR_materials_variants` support with strict spec validation, UV evaluation helpers (`DefaultTextureTransform`, `TextureTransform.IsIdentity`, `TextureTransform.Apply`, `TextureRef.ApplyUV`, `Document.PrimitiveTexCoords`, `Document.TransformTexCoords`), variant lookup/resolution helpers (`Document.VariantIndex`, `Document.MaterialForVariant`, `Document.MeshMaterials`, `Document.ResolveVariantMaterials`), and verification against the Khronos `TextureTransformTest`, `TextureTransformMultiTest`, and `GlamVelvetSofa` sample models (#274). diff --git a/changelog.d/hitboxes-and-hurtboxes-with-fram-526.md b/changelog.d/hitboxes-and-hurtboxes-with-fram-526.md deleted file mode 100644 index 29ba9eac2..000000000 --- a/changelog.d/hitboxes-and-hurtboxes-with-fram-526.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/framedata`: per-frame hitboxes, hurtboxes, damage, hitstun, blockstun, knockback and cancel windows for fighting game moves in versioned YAML, resolved into hits deterministically each fixed step, with frame advantage summaries, `World.Save`/`Restore` for replay and rollback, and `debug` overlay drawing (#526). diff --git a/changelog.d/hotreload-mid-write-shader-962.md b/changelog.d/hotreload-mid-write-shader-962.md deleted file mode 100644 index 2923f8a87..000000000 --- a/changelog.d/hotreload-mid-write-shader-962.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/tooling/hotreload`: settle 0-byte reads before delivering file changes so truncate-then-write editor saves do not emit spurious empty-source `ReloadError`s while genuinely empty files still report errors, and make shader hot-reload tests write atomically (#962). diff --git a/changelog.d/import-settings-fonts-models-487.md b/changelog.d/import-settings-fonts-models-487.md deleted file mode 100644 index 6b4ccacd4..000000000 --- a/changelog.d/import-settings-fonts-models-487.md +++ /dev/null @@ -1,11 +0,0 @@ -### Added - -- `game assets`: `fonts` targets bake a TrueType or OpenType font into an AngelCode BMFont (a `.fnt` file and its PNG pages, with the font's kerning) at a `size` of at most 2048 pixels (`project.MaxFontSize`, `project.ValidateFontSize`), with the `chars` and `padding` they name, and `models` targets pack a glTF model, its buffers and the images it names into one GLB file, optionally `scale`d and without its `animations`. Both are declared in `game.yaml` (`project.FontTarget`, `project.ModelTarget`) (#487). -- `game/tooling/importsettings`: `font` and `model` sections, which a font's or a model's sidecar holds and which override its target's settings, so editing one rebuilds only that font or model; `File.Sections` lists the sections a sidecar holds (#487). -- `game/render3d`: `LoadKTX2` uploads a KTX2 texture as `game assets` and `game tex` write it, compressed where the device supports its format and decoded to RGBA8 elsewhere, and returns its sampler with the filters the image's sidecar set through the `game.filter` key; `KTX2Sampler` applies that filter to sampler options (#487). - -### Changed - -- `game tex` and `game audio` read the import settings sidecar beside their input, as `game assets` does, under the flags given, which win; `game tex` writes the sidecar's `filter` and `game audio` its loop points (#487). -- `game/tooling/importsettings`: a sidecar holds at most one of the `image`, `audio`, `font` and `model` sections, and the error for more than one names them (#487). -- `game credits` and `game release` list each font and model target's input and the buffers and images each model embeds among the assets to credit (`assetbuild.ModelFiles`), so an uncredited font stops the release (#487). diff --git a/changelog.d/in-app-purchases-for-games-369.md b/changelog.d/in-app-purchases-for-games-369.md deleted file mode 100644 index 16e4317bb..000000000 --- a/changelog.d/in-app-purchases-for-games-369.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/liveops`: `Purchases` sells in-app products over NSGo's purchase services, crediting consumables into the save exactly once through a `Ledger` saved with them (a kill before finishing redelivers without a second credit), keeping unlocks and subscriptions from the store's entitlements, restoring them, following Ask to Buy approvals and refunds, and handing transactions to an optional server to verify (#369). diff --git a/changelog.d/input-buffer-motion-inputs-and-c-525.md b/changelog.d/input-buffer-motion-inputs-and-c-525.md deleted file mode 100644 index a6ee09b7e..000000000 --- a/changelog.d/input-buffer-motion-inputs-and-c-525.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/fighting`: a per-step input buffer with facing-relative numpad directions, and YAML move sets recognizing motions, charges, double taps, chords and combos within their windows, with state snapshots for rollback (#525). diff --git a/changelog.d/input-controller-disconnect-reconnect.md b/changelog.d/input-controller-disconnect-reconnect.md deleted file mode 100644 index 15ce2708e..000000000 --- a/changelog.d/input-controller-disconnect-reconnect.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/input`: handle mid-game controller disconnects on `Players` with `SetDisconnectPolicy` (`DisconnectPolicy`, `DisconnectEvent`, `ReconnectEvent`), automatic pause and resume (`OnPause`), same-pad reconnect and press-any-button reassignment (`AllowReassignOnPress`), single-player keyboard/touch fallback (`FallbackToKeyboardTouch`), and `PollGamepads` (#316). diff --git a/changelog.d/input-local-multiplayer.md b/changelog.d/input-local-multiplayer.md deleted file mode 100644 index 77c018839..000000000 --- a/changelog.d/input-local-multiplayer.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/input`: add `Players` and `Player` for local multiplayer input, routing separate game controllers, shared keyboard key sets, and optional pointer/touch inputs to per-player `Actions` (#128). diff --git a/changelog.d/input-recordings-as-text-476.md b/changelog.d/input-recordings-as-text-476.md deleted file mode 100644 index 28f8b55ad..000000000 --- a/changelog.d/input-recordings-as-text-476.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/replay`: recordings are YAML text (format version 2) with a header and one line per changed step that names its actions and axes, so they can be read, diffed and edited by hand; unknown keys and names are refused, output is deterministic, and the gzip and compact JSON forms (`EncodeGzip`, `DecodeGzip`, version 1) are removed (#476). diff --git a/changelog.d/inspector-components-and-sprite-865.md b/changelog.d/inspector-components-and-sprite-865.md deleted file mode 100644 index 857da3fee..000000000 --- a/changelog.d/inspector-components-and-sprite-865.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/editor`: the inspector adds a registered component with its defaults from a searchable list of the types the object lacks and removes one with the connections that need it, adds properties by key and kind and deletes them, and edits the sprite (picked from the asset browser), origin, flips and material, each as an undoable step with a method on `Editor` (`AddComponent`, `RemoveComponent`, `ComponentConnections`, `AddProperty`, `SetObjectSprite`, `SetObjectOrigin`, `SetObjectFlip`, `SetObjectMaterial`); a duplicate component or an empty property key is refused in the status bar (#865). - -### Fixed - -- `game/sceneformat`: `Encode` writes a whole-number float in an object's custom properties with a decimal point (`2.0`), so it reads back as a float and not an int (#865). diff --git a/changelog.d/inventory-and-items-515.md b/changelog.d/inventory-and-items-515.md deleted file mode 100644 index db656e538..000000000 --- a/changelog.d/inventory-and-items-515.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/inventory`: item definitions in versioned YAML, slot containers with stacking, moving, splitting and quick transfer, typed equipment slots, and snapshots that round-trip through `game/save` (#515). diff --git a/changelog.d/json-schema-for-every-yaml-format-501.md b/changelog.d/json-schema-for-every-yaml-format-501.md deleted file mode 100644 index 928ae4627..000000000 --- a/changelog.d/json-schema-for-every-yaml-format-501.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tooling/jsonschema`, `cmd/gameschema`: JSON Schemas for the YAML formats, built from the Go types with descriptions from their doc comments; the scene schema is published at `https://game.nsgo.dev/schemas/scene.v1.json`, `sceneformat.Encode` names it in a `# yaml-language-server` comment so editors validate scene files, `datatable.Schema[T]` builds the schema of a versioned YAML data table, and CI fails when a committed schema drifts from its Go types (#501). diff --git a/changelog.d/ktx2-compressed-textures-271.md b/changelog.d/ktx2-compressed-textures-271.md deleted file mode 100644 index cb1b24d79..000000000 --- a/changelog.d/ktx2-compressed-textures-271.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/render3d`: `LoadKTX2` loads Basis Universal UASTC 4x4 KTX2 files, transcoding them to BC7, BC1, BC3, ETC2 or ASTC 4x4 as the device supports, or decoding them to RGBA8; it also takes BC7, ETC2 RGBA8 and ASTC 4x4 files and Zstandard or ZLIB supercompressed levels, and `KTX2Upload.ForceRGBA8` uploads any file decoded to RGBA8 (#271). -- `game/tooling/ktx2`: `Decode`, `Texture.Transcode`, `Texture.DecodeLevelRGBA` and `FormatFromHeaderDFD` read KTX2 files with Zstandard or ZLIB supercompression and the UASTC, BC7, ETC2 RGBA8 and ASTC 4x4 formats, `Options.Format` encodes them, and `Options.Supercompression` writes ZLIB (#271). diff --git a/changelog.d/ktx2-etc1s-astc-fixtures-750.md b/changelog.d/ktx2-etc1s-astc-fixtures-750.md deleted file mode 100644 index 85979b9ae..000000000 --- a/changelog.d/ktx2-etc1s-astc-fixtures-750.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `tooling/ktx2`, `render3d`: decode BasisLZ/ETC1S KTX2 files (including alpha slices and mipmap chains) in pure Go and transcode them in `Texture.Transcode` and `render3d.LoadKTX2` to each GPU's supported block format (BC7, BC1, BC3, ETC2, ASTC 4x4, or RGBA8) (#750). -- `tooling/ktx2`: decode every valid ASTC 4x4 LDR block on the CPU (void-extent, all 2D block modes, BISE trits/quints/bits, 1–4 partitions, dual-plane weights, bilinear weight grid infill, and all LDR color endpoint modes) so `astcenc`-encoded KTX2 files load on devices without ASTC (#750). -- `tooling/ktx2`: verify the ETC1S, UASTC (uncompressed and Zstandard-supercompressed), BC7, and ASTC 4x4 decoders against checked-in `basisu` and `astcenc` reference fixtures and unpacked RGBA PNGs (#750). diff --git a/changelog.d/l10n-yaml-editor-917.md b/changelog.d/l10n-yaml-editor-917.md deleted file mode 100644 index c671429d4..000000000 --- a/changelog.d/l10n-yaml-editor-917.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/l10n`, `game/editor`: add versioned YAML localization string tables (`StringTable`, `ParseYAML`, `EncodeYAML`, `Catalog.LoadYAML`, `l10n.v1.json` JSON Schema) and a Localization table editor panel with keys as rows, locales as columns, missing-translation highlights, CLDR plural editing, undo/redo, and per-locale YAML saving (#917). diff --git a/changelog.d/leaderboards-108.md b/changelog.d/leaderboards-108.md deleted file mode 100644 index 7118a811f..000000000 --- a/changelog.d/leaderboards-108.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/leaderboard`: leaderboards declared once in a versioned YAML catalog (`gameCenter`/`playGames` IDs per board), submitted to and shown through NSGo's game services with sign-in state, ranked score queries and errors for unknown boards or missing platform IDs; `examples/starburst` submits each run's score and opens the board from the game-over screen (#108). diff --git a/changelog.d/lights2d-set-light-composite-1166.md b/changelog.d/lights2d-set-light-composite-1166.md deleted file mode 100644 index 6e64b92b7..000000000 --- a/changelog.d/lights2d-set-light-composite-1166.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/lights2d`: add `Scene.SetLightComposite` and `Scene.EffectiveLightComposite` so light glows can explicitly use `core.CompositeSourceOver` while keeping `core.CompositeLighter` as the zero-value default, and preserve explicit `CompositeSourceOver` across `sceneformat.BuiltScene.SyncLights2D` (#1166). diff --git a/changelog.d/liveops-platform-cloud-saves.md b/changelog.d/liveops-platform-cloud-saves.md deleted file mode 100644 index e41b16cd9..000000000 --- a/changelog.d/liveops-platform-cloud-saves.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/liveops`: `PlatformCloud` (adapting NSGo's `cloud` package for iCloud on macOS/iOS, Google Play Games Saved Games on Android, and `nsgotest`'s in-memory store, with `CloudProviderFor`, `Available`, `WatchChanges`, `OnConflict`, and `ErrCloudConflict`), `DirCloud` (a `ConditionalCloudSync` for Steam Auto-Cloud and other directory-synced stores), and `CloudSyncer.SyncAsync` / `SyncSlotAsync` / `ResolveAsync` for non-blocking sync with engine-goroutine marshaling (#196). diff --git a/changelog.d/llms-txt-and-llms-full-txt-on-th-499.md b/changelog.d/llms-txt-and-llms-full-txt-on-th-499.md deleted file mode 100644 index dc40c05d5..000000000 --- a/changelog.d/llms-txt-and-llms-full-txt-on-th-499.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Website: `llms.txt`, an index of every English docs page, and `llms-full.txt`, every page's Markdown in one file, built with the site and linked from its footer (#499). diff --git a/changelog.d/loaderr-json-wasm.md b/changelog.d/loaderr-json-wasm.md deleted file mode 100644 index 73a1d946b..000000000 --- a/changelog.d/loaderr-json-wasm.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/loaderr`: add `LocateJSON` for JSON-only loaders and replace internal `regexp` parsing in `Locate` with string scanning, reducing the web WASM bundle footprint of `loaderr`, `tilemap`, and `sprite`. diff --git a/changelog.d/localization-asset-maps-in-yaml-473.md b/changelog.d/localization-asset-maps-in-yaml-473.md deleted file mode 100644 index 58955fb23..000000000 --- a/changelog.d/localization-asset-maps-in-yaml-473.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/l10n`: per-language asset maps are versioned YAML (`version: 1`) loaded strictly with `LoadAssetManifestYAML` and saved deterministically with `MarshalAssetManifestYAML` (#473). - -### Removed - -- `game/l10n`: `AssetCatalog.LoadAssetManifestJSON`, with its direct-map shape and `baseLocale` alias. To migrate, write the manifest as YAML with `version: 1`, put the entries under `assets:` and rename `baseLocale` to `base_locale` (#473). diff --git a/changelog.d/lockstep-rollback-relay-553.md b/changelog.d/lockstep-rollback-relay-553.md deleted file mode 100644 index 54b15c038..000000000 --- a/changelog.d/lockstep-rollback-relay-553.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/net`: a `Relay` that forwards peer-to-peer lockstep and rollback sessions between players who cannot reach each other, over WebSocket or UDP. Each player connects with a `RelayTransport`; `RelayConfig.Join` puts a player who passed the connection handshake into a session, frames go only between members of the same session, and `ChannelReliableOrdered` is reliable end to end with acknowledgements and resends, so rollback runs over UDP too. The latency a local relay adds and the decision to defer WebRTC data channels are documented in the server guide (#553). diff --git a/changelog.d/map-tile-minimap-855.md b/changelog.d/map-tile-minimap-855.md deleted file mode 100644 index de2241f0c..000000000 --- a/changelog.d/map-tile-minimap-855.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/worldmap`: add `TileMinimap` with incremental `SetTile` terrain updates, `fog.Revision`-cached fog overlay, unit/POI markers, camera viewport rectangle, orthogonal and diamond isometric projections, and click-to-pan (`PanCamera`) (#855). diff --git a/changelog.d/mcp-agent-skill-470.md b/changelog.d/mcp-agent-skill-470.md deleted file mode 100644 index 6e2b59ddd..000000000 --- a/changelog.d/mcp-agent-skill-470.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `skills/nsgo-game`: Agent Skill installable via `bunx skills add nsgo-dev/game` covering the game-layer packages, `go tool game` CLI, plain-text YAML file formats, and `game/mcp` tool suite, along with automated structure and end-to-end MCP workflow tests (#470). diff --git a/changelog.d/mcp-assets-hotreload.md b/changelog.d/mcp-assets-hotreload.md deleted file mode 100644 index cfb4ac270..000000000 --- a/changelog.d/mcp-assets-hotreload.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/mcp`: added `game_assets_list`, `game_asset_reload`, and `game_assets_reload_group` tools plus `RegisterAsset`, `RegisterAtlas`, and `Config` asset/hot-reload hooks to inspect loaded asset groups/memory and hot-reload atlases, images, bytes, custom assets, shaders, materials, and YAML resources in place; sounds, images without a file and unshown densities are reported as skipped (#469). -- `game/assets`: added read-only `Manager.Disposed`, `Manager.GroupNames`, `Manager.LookupGroup`, `Manager.GroupStats`, `Group.Stats`, and on-demand in-place `Manager.ReloadAsset` and `Manager.ReloadGroup` helpers that read and parse off the engine goroutine, plus `EstimateAtlasBytes` (#469). -- `game/tooling/hotreload`, `game/resource`: added `ShaderReloader.ShaderPath`, `ShaderReloader.ReloadShaderFile`, `MaterialReloader.MaterialPath`, `MaterialReloader.ReloadMaterialFile`, and `Library.ReloadFile` helpers for on-demand hot reload (#469). diff --git a/changelog.d/mcp-input-game-coordinates.md b/changelog.d/mcp-input-game-coordinates.md deleted file mode 100644 index d402fae50..000000000 --- a/changelog.d/mcp-input-game-coordinates.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/mcp`: add `game_input_action`, `game_input_axis`, `game_input_pointer` and `game_input_actions_list` tools plus `Actions`, `Viewport`, `ViewSizeFunc` and `OnPointer` bridge hooks to inject actions, axes and viewport-mapped game/world pointer events (#463). -- `game/input`: add `Actions.Press`, `Actions.Release`, `Actions.SetAxis`, `Actions.ClearAxis`, `Actions.ActionNames` and `Actions.AxisNames` for programmatic action/axis injection and introspection (#463). diff --git a/changelog.d/mcp-inspect-461.md b/changelog.d/mcp-inspect-461.md deleted file mode 100644 index 4d8e58dfb..000000000 --- a/changelog.d/mcp-inspect-461.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/mcp`: `Bridge` and `Attach` register `game_scenes_list`, `game_layers_list`, `game_entities_list`, `game_entity_inspect` and `game_component_get` through `nsgo/automation` so `nsgo mcp` can inspect scenes, draw-ordered layers, live entities with stable generational references (`entity::`) and component values (from `entities.RegisterCodec`, `mcp.RegisterComponent`/`RegisterComponentFunc`, and built-in `Transform2D`/`WorldTransform2D`/`sceneformat.ObjectRef`) (#461). -- `game/scene`: `Manager.Stack` returns active scene controllers from bottom to top, and `Layer.Parallax` returns effective parallax scroll factors (#461). -- `game/entities`: read-only, zero-reflection inspection helpers `MakeEntity`, `World.Resolve`, `World.CodecNames`, `CodecName`, `World.HasCodec`, `World.EncodeComponent`, `World.EntityComponents`, `World.ParentOf` and `World.ChildrenOf` (#461). diff --git a/changelog.d/mcp-loop-control-462.md b/changelog.d/mcp-loop-control-462.md deleted file mode 100644 index a4ba07510..000000000 --- a/changelog.d/mcp-loop-control-462.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/mcp`: add `game_loop_status`, `game_loop_pause`, `game_loop_resume`, `game_loop_step`, `game_loop_time_scale`, and `game_loop_seed` MCP tools to inspect and drive `game.Loop` and deterministic randomness (#462). -- `game`: add `Loop.Steps`, `Loop.Elapsed`, `Loop.ElapsedSeconds`, `Loop.StepRate`, `Loop.StepDuration`, `Loop.EffectiveTimeScale`, and synchronous `Loop.StepNow` helpers (#462). -- `game/random`: add `Stream.SetSeed` and `Streams.SetSeed` to re-seed deterministic streams in place (#462). diff --git a/changelog.d/mcp-perf-readouts-468.md b/changelog.d/mcp-perf-readouts-468.md deleted file mode 100644 index 4366e623b..000000000 --- a/changelog.d/mcp-perf-readouts-468.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/mcp`: add `game_perf_readout`, `game_perf_zones`, and `game_perf_reset` MCP tools exposing frame timings, percentiles, draw statistics, per-frame allocations, GC/heap telemetry, asset memory, and 3D render statistics matching the debug overlay (#468). -- `game/debug`: track per-frame heap allocations (`/gc/heap/allocs:objects` and `/gc/heap/allocs:bytes`) in `GCMonitor`, add `DrawStats` support to `Overlay`, and add `Reset` methods on `Profiler`, `GCMonitor`, and `Overlay.ResetStats` (#468). diff --git a/changelog.d/mcp-record-replay.md b/changelog.d/mcp-record-replay.md deleted file mode 100644 index abb2794b4..000000000 --- a/changelog.d/mcp-record-replay.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/mcp`: add `ReplayController` and MCP record/replay tools (`game_replay_status`, `game_replay_record_start`, `game_replay_record_stop`, `game_replay_play`, `game_replay_stop`, `game_replay_list`) for starting/stopping input recordings and replaying them deterministically (#467). diff --git a/changelog.d/mcp-screenshots-overlays-465.md b/changelog.d/mcp-screenshots-overlays-465.md deleted file mode 100644 index e74715bb3..000000000 --- a/changelog.d/mcp-screenshots-overlays-465.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/mcp`: `game_screenshot` tool captures the game view as PNG (written to a relative `.png` path inside `Config.ScreenshotDir`, or returned as `png_base64` text) with optional pixel-aligned overlays for sprite bounds (`bounds`), 2D physics collision shapes (`collision_shapes` / `physics`, covering `physics.World` boxes, circles, triggers, solid/one-way tiles and `physics.RigidWorld` bodies), world-space reference grid (`grid`, `grid_step`), camera frame (`camera`) and bitmap labels (`labels`), aligned across `tilemap.Camera` pan/zoom/parallax and the same `screen.Viewport`, `ViewportFunc` and view size `game_input_pointer` uses, including `CaptureFrame` images at a HiDPI pixel ratio. Frames the software rasterizer draws report what it left out in `skipped_ops` and `skipped_images` (#465). diff --git a/changelog.d/mcp-spawn-destroy-edit.md b/changelog.d/mcp-spawn-destroy-edit.md deleted file mode 100644 index 8481da9ab..000000000 --- a/changelog.d/mcp-spawn-destroy-edit.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/mcp`: add `game_prefabs_list`, `game_entity_spawn`, `game_entity_destroy`, `game_component_set`, and `game_component_remove` tools along with prefab registration (`Config.Prefabs`, `Bridge.RegisterPrefab`, `Bridge.RegisterEntityPrefab`, `Bridge.RegisterScenePrefab`) and typed component editing (`RegisterMutableComponent`, `RegisterComponentEditor`) (#464). -- `game/entities`: add `World.DecodeComponent`, `World.PatchComponent`, and `World.RemoveComponent` strict JSON codec mutation helpers (#464). diff --git a/changelog.d/mcp-tunables-console-466.md b/changelog.d/mcp-tunables-console-466.md deleted file mode 100644 index ed40653e6..000000000 --- a/changelog.d/mcp-tunables-console-466.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/mcp`: add tunables and debug console MCP tools (`game_tunables_list`, `game_tunable_get`, `game_tunable_set`, `game_console_commands_list`, `game_console_exec`) configured via `Config.Console`, `Config.ConsoleFunc` and `Bridge.SetConsole` (#466). -- `game/debug`: add `Console.RegisterString`, `Console.Tunables`, `Console.Tunable`, `Console.SetTunable` and `Console.Commands` with `TunableInfo`, `TunableChange` and `CommandInfo`; `SaveTunables` and `LoadTunables` persist string tunables (#466). diff --git a/changelog.d/mesh-buffers-112.md b/changelog.d/mesh-buffers-112.md deleted file mode 100644 index a5a1d26b3..000000000 --- a/changelog.d/mesh-buffers-112.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: `Mesh` (positions, normals, UVs, indices) uploaded by `UploadMesh` into the NSGo GPU view's vertex and index buffers as a scope-owned `GPUMesh`, with one shared interleaved `MeshVertexLayout`, per-mesh uint16/uint32 indices that avoid the WebGL 2 restart index, validation, allocation-free encoding and retained buffers that survive device loss (#112). diff --git a/changelog.d/minimap-and-world-map-524.md b/changelog.d/minimap-and-world-map-524.md deleted file mode 100644 index b66b1f50f..000000000 --- a/changelog.d/minimap-and-world-map-524.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/worldmap`: YAML room maps with areas, links and fixed markers; visited and revealed rooms and player markers saved through a `State` that round-trips a `save.Store` slot; a minimap of the current area and a world map that draw only discovered rooms (#524). diff --git a/changelog.d/mod-manifests-in-yaml-474.md b/changelog.d/mod-manifests-in-yaml-474.md deleted file mode 100644 index fc67843e4..000000000 --- a/changelog.d/mod-manifests-in-yaml-474.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/modding`: mod manifests are `mod.yaml` files with a `manifestVersion` field, read strictly (unknown fields, duplicate keys and unknown or repeated capabilities are refused) and written back in one canonical form by `EncodeManifest`; manifests built in Go may leave `ManifestVersion` at 0, so `Validate` and `ResolveOrder` callers are unaffected; `mod.json` is no longer read, and a mod that has only one is refused with a message asking for `mod.yaml` (#474). diff --git a/changelog.d/net-audit-546.md b/changelog.d/net-audit-546.md deleted file mode 100644 index 73b4de3f4..000000000 --- a/changelog.d/net-audit-546.md +++ /dev/null @@ -1,20 +0,0 @@ -### Added - -- `game/net`: `ServerWorld.SetMaxSnapshotSize` and `DefaultMaxSnapshotSize` (60000 bytes). A full snapshot larger than the limit is split into parts that `ClientWorld` reassembles, and a delta larger than it is replaced by a split full snapshot (#546). -- `game/net`: `UDPTransport.Err`, `UDPServer.Err` and `ErrReceiveFailed` report a socket failure that stopped a UDP transport from receiving; `Send` returns the same error from then on, until `Close` (#546). -- `game/net`: `ClientWorld.Reset` forgets every snapshot and prediction and despawns every known entity, so a client can follow a server that starts its tick count over for a new match or after a restart (#546). - -### Changed - -- `game/net`: a `WebSocketServer` now pings each client every third of `Auth.IdleTimeout` (10 seconds by default, at least 3) and drops one that sends nothing for that long, instead of ignoring `IdleTimeout`. A native `WebSocketTransport` pings the server every 2 seconds and moves to `ConnDisconnected` after 10 silent seconds (#546). - -### Fixed - -- `game/net`: a client whose network vanished without closing its TCP connection no longer keeps its WebSocket session and ID forever, and a native client notices a server that went silent. The idle timeout counts from the last byte received, so a large frame that arrives slowly but steadily is not cut off (#546). -- `game/net`: `WebSocketServer.Close` breaks Sends blocked on clients that do not read and closes all clients at once, and a ping no longer delays a closing `WebSocketTransport` by up to 10 seconds (#546). -- `game/net`: a WebSocket frame's payload is read as it arrives instead of allocated up front from the announced length, and the hello frame is capped, so a slow-loris client cannot reserve 4 MiB per connection (#546). -- `game/net`: `Recv` on every transport pops in constant time; draining n queued packets used to copy n²/2 packets (#546). -- `game/net`: a full snapshot larger than the transport's packet limit no longer leaves a new or resyncing peer without the world forever (#546). -- `game/net`: replication compares ticks in serial-number order, so it keeps working when the `uint32` tick counter wraps, and `Interpolate` works across the wrap (#546). -- `game/net`: the UDP receive loops keep reading after an error about a single datagram, such as an ICMP port unreachable, instead of stopping silently, and a `UDPClient` no longer drops to `ConnDisconnected` on the first one, for example while its server restarts (#546). -- `game/net`: the docs and the `Transport` doc comment say that a transport has a single consumer, and why two consumers on one transport lose packets (#546). diff --git a/changelog.d/net-inbox-bounds-546.md b/changelog.d/net-inbox-bounds-546.md deleted file mode 100644 index 8284aae1f..000000000 --- a/changelog.d/net-inbox-bounds-546.md +++ /dev/null @@ -1,7 +0,0 @@ -### Changed - -- `game/net`: every transport caps each peer's `ChannelUnreliable` packets in its inbox (`DefaultUnreliableInbox`, 4096) and drops that peer's oldest when a newer one arrives, so one flooding peer cannot evict another's packets. `WebSocketServer` and `RelayTransport` also cap each peer's `ChannelReliableOrdered` packets (`DefaultReliableInbox`, 16384): a WebSocket client past the cap has its session ended, and a relay peer past it is no longer acknowledged until `Recv` makes room. Every transport counts a warning once each time its reliable backlog passes `DefaultReliableInboxWarning`. `SetInboxLimits` and `InboxStats` on every transport (the new `InboxReporter` interface), and `LoopbackConfig.Inbox` and `RelayTransportConfig.Inbox`, set the limits and read the drop, refusal and warning counters (#546). - -### Fixed - -- `game/net`: `UDPTransport` drops datagrams that claim `ChannelReliableOrdered`, which it never sends, instead of queueing them without a limit (#546). diff --git a/changelog.d/net-late-join-744.md b/changelog.d/net-late-join-744.md deleted file mode 100644 index 1e95cfe36..000000000 --- a/changelog.d/net-late-join-744.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/net`: players can join and leave a running lockstep or rollback match. The match's host (`LockstepConfig.Host` / `RollbackConfig.Host`, the lowest peer ID by default) admits a peer with `AddPeer` and removes one with `RemovePeer`; every peer applies the change at the same tick, which no peer can have run or confirmed yet, and rollback peers that predicted past it roll back. A session created with `Join` receives the host's `Sim` state at its join tick, in parts, and plays on from there; inputs before that tick are not expected from it. A leave carries the host's view of the leaving peer's inputs, with zero inputs for ticks it never received, so the match continues without waiting for it. `Members` and `Active` report who takes part, and messages the transport cannot deliver yet, such as to a peer a relay has not announced, are retried in order; once 4096 wait for one peer, the session returns the new `ErrSessionBacklog` for it (#744). - -### Changed - -- `game/net`: `LockstepSession.SubmitInput` ignores an input for a tick already run or more than 256 ticks ahead instead of sending it to peers that would drop it (#744). diff --git a/changelog.d/net-replication-epoch-745.md b/changelog.d/net-replication-epoch-745.md deleted file mode 100644 index d50e9b561..000000000 --- a/changelog.d/net-replication-epoch-745.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/net`: a replication epoch. `NewServerWorld` picks a random one, every snapshot carries it, and a `ClientWorld` that receives a complete full snapshot of a new epoch drops the old run's snapshots and predictions and continues from it without the game calling `Reset`, while late snapshots of an epoch it has left are ignored unless that epoch keeps sending, 32 snapshots in a row, which marks it as the live one. `ServerWorld.Epoch` and `SetEpoch` read and replace it, for example to start a new match with the ticks back at zero, and `ClientWorld.Epoch` returns the one the client follows (#745). -- `game/net`: `ReplicationVersion`, `ErrReplicationVersion`, `ClientWorld.Err` and `ServerWorld.PeerErr` report a peer that speaks another version of the replication wire protocol (#745). - -### Changed - -- `game/net`: the replication wire protocol is now version 2: every message starts with a version and type byte and the 4-byte epoch, as documented in `docs/en/net.md`. Clients and servers built with an earlier release cannot replicate to this one; each side refuses the other's messages and reports `ErrReplicationVersion` instead of misreading them (#745). diff --git a/changelog.d/net-wraparound-queue-ws-749.md b/changelog.d/net-wraparound-queue-ws-749.md deleted file mode 100644 index e531c62ac..000000000 --- a/changelog.d/net-wraparound-queue-ws-749.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/net`: `LockstepSession` and `RollbackSession` now compare `uint32` ticks with RFC 1982 serial-number arithmetic across membership windows, joins, leaves, rollbacks, checksums, and history pruning; `RollbackSession` retains unconfirmed history until the first tick confirms; `sessionTable` drains peer lifecycle events in amortized O(1) without dropping events; and native WebSocket frame reading rejects RFC 6455 §5.5 control-frame violations (fragmented control frames, payloads over 125 bytes, and reserved opcodes `0xB`–`0xF`) (#749). diff --git a/changelog.d/nsgo-game-command.md b/changelog.d/nsgo-game-command.md deleted file mode 100644 index e66736b4d..000000000 --- a/changelog.d/nsgo-game-command.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- The docs run the game command as `nsgo game `, NSGo's built-in command for the game layer (nsgo-dev/nsgo#2366), with `go tool game` as its equivalent in a project, and the command reference shows each usage line as `nsgo game …`. diff --git a/changelog.d/offline-progress-and-large-numbe-521.md b/changelog.d/offline-progress-and-large-numbe-521.md deleted file mode 100644 index 5b98e7600..000000000 --- a/changelog.d/offline-progress-and-large-numbe-521.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/idle`: a `Number` that reaches 10^(10^18) and is plain float64 arithmetic up to 1e300, offline progress from wall-clock timestamps with a minimum, cap, efficiency and rewound-clock protection, and large-number formatting in short (K/M/B, 万/亿), letter, scientific, engineering and full notations with English, Chinese and YAML-defined locales (#521). diff --git a/changelog.d/one-game-command-with-subcommand-452.md b/changelog.d/one-game-command-with-subcommand-452.md deleted file mode 100644 index f2a4a2783..000000000 --- a/changelog.d/one-game-command-with-subcommand-452.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game` command, run as `go tool game`, with `pack`, `audio`, `manifest`, `tex` and `editor` subcommands that share `-in`/`-out` flags, usage and exit codes, and `game help` listing them; it replaces the separate `gamepack`, `gameaudio`, `gamemanifest`, `gametex` and `gameeditor` commands (#452). - -### Removed - -- The `gamepack`, `gameaudio`, `gamemanifest`, `gametex` and `gameeditor` commands, replaced by the subcommands of `game`. Calling a subcommand wrongly (a bad or missing flag, a stray argument, both `-peak-db` and `-rms-db`) now exits with 2 and prints its usage, where `gamepack`, `gamemanifest` and `gameaudio` exited with 1 for some of these; `tex` takes `-out` as well as `-o`. Generated manifests now start with `// Code generated by game manifest. DO NOT EDIT.`, so a checked-in manifest must be regenerated once before `game manifest -check` passes, and `game pack` and `game tex` record `game pack` and `nsgo game tex` as the writer in atlas JSON and KTX2 files (#452). diff --git a/changelog.d/one-project-file-488.md b/changelog.d/one-project-file-488.md deleted file mode 100644 index 118a98c6c..000000000 --- a/changelog.d/one-project-file-488.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/project`: `game.yaml`, the one project file holding a game's name, window and virtual resolution, input map, audio buses, autoloaded scenes and resources and per-platform export presets, kept in step with `nsgo.yaml`; the `gameproject` command (check, fmt, sync, targets), `editor.Editor.OpenProject`/`EditProject`/`SaveProject`, `sound.Mixer` default volumes, and the starter template and example games reading their settings from it (#488). diff --git a/changelog.d/pan-and-zoom-the-2d-viewport-864.md b/changelog.d/pan-and-zoom-the-2d-viewport-864.md deleted file mode 100644 index 10b289d21..000000000 --- a/changelog.d/pan-and-zoom-the-2d-viewport-864.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/editor`: the 2D viewport fills its panel and pans and zooms through the editor's own view (`View2D`), separate from the scene's camera and never saved: the wheel, a pinch or a touchpad scroll with Control or Command held zooms about the pointer, a touchpad scroll, a mouse wheel's sideways scroll, middle-drag, Space-drag or two-finger drag pans, F and Home frame the selection or everything, and Mod+0 returns to the scene camera's view, whose frame and bounds the canvas outlines and which Play always shows; hit testing, placing, moving, painting and plugin tools go through the view (`CanvasToScreen`, `ScreenToCanvas`, `ScreenToWorld`, `WorldToScreen`) (#864). - -### Changed - -- `game/editor`: `CanvasToWorld` and `WorldToCanvas` map through the 2D view rather than the scene's camera alone, and a screen-space layer's canvas point goes through `CanvasToScreen`; the 3D viewport fills the panel too and maps presses at `CanvasSize` (#864). diff --git a/changelog.d/particle-definitions-in-yaml-477.md b/changelog.d/particle-definitions-in-yaml-477.md deleted file mode 100644 index fafaf197b..000000000 --- a/changelog.d/particle-definitions-in-yaml-477.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/particles`: emitter definitions are YAML files with a version field, refused unknown keys and deterministic output; `MarshalConfigYAML`/`UnmarshalConfigYAML` join the JSON codec, and `LoadConfigFile`, `LoadConfigFS`, `SaveConfigFile` and `HotConfig` reloads read and write YAML (#477). diff --git a/changelog.d/particles-3d-280.md b/changelog.d/particles-3d-280.md deleted file mode 100644 index c2e1de863..000000000 --- a/changelog.d/particles-3d-280.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/particles`: GPU-friendly 3D particle emitter (`Emitter3D`), 3D spawn shapes (`Point3D`, `Sphere`, `Hemisphere`, `Box`, `Cone`, `Ring3D`), billboard orientation modes (`BillboardSpherical`, `BillboardCylindrical`, `BillboardStretched`), deterministic back-to-front radix depth sorting (`SortByDepth`), instanced GPU uploader and WGSL pipelines (`GPUParticles3D`, `NewParticlePipeline`), and versioned YAML/JSON config serialization for 10k+ particles in a single draw call (#280). diff --git a/changelog.d/per-tile-collision-shapes-slopes-and-occluders-846.md b/changelog.d/per-tile-collision-shapes-slopes-and-occluders-846.md deleted file mode 100644 index 2120d6f01..000000000 --- a/changelog.d/per-tile-collision-shapes-slopes-and-occluders-846.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/tilemap`: `LoadTiled` reads the collision shapes Tiled's collision editor draws on tiles (rectangles, polygons, polylines, and ellipses approximated by `EllipseShapeSegments` points) into `Tileset.Shapes`; `TileShapes` returns a placed tile's shapes flipped and rotated by its GID's flip bits (`TileShape.Flipped`), `TileRevision` and `TileChangesSince` now also track `SetCellFlags`, `ClearCellFlags` and `SetFlags` (which asks for a full rebuild), and `Flags`, `CellFlags` and `TileBox` expose a tile ID's flags, a cell's override and a tile's size (#846). -- `game/tileshape`: a `View` of a tilemap's chosen layers that is a `physics.TileGrid` for `MoveAndSlide`, `CharacterBody`, the platformer controller and `World`, derives `physics.Slope` segments from 45 degree, 2:1, 22.5 degree and half tiles, merges solid cells and tile shapes into an `Outline`, static `Boxes` and `lights2d` `Occluders`, and rebuilds only the 16 by 16 chunks around each tile change it reads from `Tilemap.TileChangesSince` (#846). - -### Fixed - -- `game/physics`: `CharacterBody.Move` lifts a character onto a walkable slope before testing tile walls, so walking up a slope whose top meets a solid tile's top no longer stops at the tile's side for a step, and it snaps onto a tile top within `SnapDist` when the character walks off the lower end of a slope instead of leaving the ground for a step (#846). diff --git a/changelog.d/perception-with-sight-hearing-and-memory-834.md b/changelog.d/perception-with-sight-hearing-and-memory-834.md deleted file mode 100644 index 38d84d9ba..000000000 --- a/changelog.d/perception-with-sight-hearing-and-memory-834.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/ai`: perception for agents on `game.Loop`'s fixed steps: sight cones with a peripheral range and an eye offset, line of sight through a callback with a `physics` raycast adapter, noises heard within a range scaled by loudness, per-stimulus memories with last known position and velocity, decaying strength and a forget time, team attitude filters, gained/updated/lost/forgotten events, and a per-step line-of-sight budget served round-robin in a fixed order (#834). -- `game/ai/perception3d`: the same perception for 3D agents on `math3d.Vec3`, with a `physics3d` raycast adapter (#834). -- `game/lights2d`: `LineOfSight` adapts occluders to `ai.LineOfSight`, so the walls that cast shadows also block an agent's sight (#834). diff --git a/changelog.d/perspective-and-orthographic-cam-115.md b/changelog.d/perspective-and-orthographic-cam-115.md deleted file mode 100644 index c17f802e3..000000000 --- a/changelog.d/perspective-and-orthographic-cam-115.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/scene3d` and `game/render3d`: cameras on the GPU: `Camera.Eye`, `SetViewport` and `Lerp` (for drawing between `game.Loop` steps), and `render3d.CameraBuffer` with `CameraUniform` and `CameraWGSL`, a camera uniform block at bind group 0 for 3D pipelines, checked against perspective and orthographic reference renders made headless on NSGo's software GPU device (#115). diff --git a/changelog.d/physics-2d-joints-807.md b/changelog.d/physics-2d-joints-807.md deleted file mode 100644 index b63e7c5b8..000000000 --- a/changelog.d/physics-2d-joints-807.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics`: add `PrismaticJoint`, `WeldJoint`, `WheelJoint`, and `MouseJoint`, angle limits and motors on `RevoluteJoint`, rope/max-distance (`NewRopeJoint`, `MaxOnly`) and range (`MinLength`/`MaxLength`) modes on `DistanceJoint`, connected-body collision filtering (`CollideConnected`), reaction force/torque readouts (`ReactionForce`, `ReactionTorque`, `Broken`), break thresholds (`BreakForce`, `BreakTorque`, `JointBreakEvent`, `RigidWorld.OnJointBreak`, `RigidWorld.JointBreakEvents`), and full JSON snapshot/checksum support (#807). diff --git a/changelog.d/physics-fma-xpbd-character-tiles-1140.md b/changelog.d/physics-fma-xpbd-character-tiles-1140.md deleted file mode 100644 index 4560a8f0e..000000000 --- a/changelog.d/physics-fma-xpbd-character-tiles-1140.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `game/physics`: `SoftWorld`, `CharacterBody`, `MoveAndSlide` and `World.QueryOverlapLayer` no longer use fused multiply-adds or `math` trigonometry and `math.Pow` on arm64, so XPBD ropes and soft bodies, the character controller and tile collision give bit-identical results on amd64 and arm64, covered by new golden trajectories and an arm64 disassembly check (#1140). diff --git a/changelog.d/physics-gravity-areas-819.md b/changelog.d/physics-gravity-areas-819.md deleted file mode 100644 index f94dc3a68..000000000 --- a/changelog.d/physics-gravity-areas-819.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics`, `game/physics3d`: add per-body and per-character `GravityScale`, area overrides (`AreaSettings`) on 2D `Trigger`s and 3D trigger bodies for directional/point gravity (with priority, combine/replace/add modes, and distance falloff), linear/angular damping overrides, Archimedes buoyancy and fluid drag from submerged bounds, and character controller area-gravity integration (#819). diff --git a/changelog.d/physics-move-and-slide-806.md b/changelog.d/physics-move-and-slide-806.md deleted file mode 100644 index 60b9e08d9..000000000 --- a/changelog.d/physics-move-and-slide-806.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics`, `game/platformer`: added `World.MoveAndSlide` and `World.MoveAndSlideWith` for multi-iteration shape-sweep sliding against static/kinematic bodies, solid and one-way tiles, and static `RigidBody` colliders with configurable up direction, floor angle and `MotionFloating` top-down mode, added `Body.OneWay` (with `WorldSnapshot`/`Checksum` support), and wired `CharacterBody.Move`/`MoveWorld` and `platformer.Controller.StepWorld` to use it alongside slopes and moving platforms (#806). diff --git a/changelog.d/physics-save-determinism-818.md b/changelog.d/physics-save-determinism-818.md deleted file mode 100644 index b11996d0e..000000000 --- a/changelog.d/physics-save-determinism-818.md +++ /dev/null @@ -1,6 +0,0 @@ -### Added - -- `game/physics`: add JSON-serializable `Save`, `Restore`, and `Checksum` snapshots for `World` and `RigidWorld` capturing full private solver, joint, and trigger tracking state (#818). -- `game/physics3d`: add JSON-serializable `Save`, `Restore`, and `Checksum` snapshots for `World` capturing warm-start contact caches, sleep timers, previous poses, active contacts, all 7 joint types, and static/voxel colliders (#818). -- `game/vehicle`: add JSON-serializable `Save`, `Restore`, and `Checksum` snapshots for `Vehicle` (#818). -- `game/physics`, `game/physics3d`, `game/vehicle`: eliminate arm64 FMA contraction drift across stepped simulation paths and add cross-architecture golden trajectory hash tests plus `game/net` rollback `SimState` soak tests (#818). diff --git a/changelog.d/physics-shape-casts-812.md b/changelog.d/physics-shape-casts-812.md deleted file mode 100644 index 3d1ea1fd5..000000000 --- a/changelog.d/physics-shape-casts-812.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/physics`: add deterministic 2D shape casts (`ShapeCast`, `ShapeCastAll`, `ShapeCastLayer`, `ShapeCastAllLayer`, `ShapeCastWith`, `ShapeCastAllWith`, `ShapeCastShape`) on `World` and `RigidWorld` with analytic Minkowski and moving-SAT time-of-impact against bodies, oriented rigid bodies, and `TileGrid` / `TileGridOrigin` tiles (#812). -- `game/physics3d`: add deterministic 3D shape casts (`ShapeCast`, `ShapeCastAll`, `ShapeCastLayer`, `ShapeCastAllLayer`, `ShapeCastWith`, `ShapeCastAllWith`, `ShapeCastShape`, `TriMeshCollider.ShapeCast`, `HeightfieldCollider.ShapeCast`) returning `RaycastHit` against bodies, triangle meshes, heightfields, and voxel colliders (#812). diff --git a/changelog.d/physics-xpbd-softbody-820.md b/changelog.d/physics-xpbd-softbody-820.md deleted file mode 100644 index 88019cef6..000000000 --- a/changelog.d/physics-xpbd-softbody-820.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics`, `game/physics3d`: deterministic XPBD particle and constraint solver (`SoftWorld`) with distance, bending, area/pressure, shape-matching, and tetrahedral volume constraints, two-way rigid-body attachments, world/tile/mesh/heightfield collision with layer filtering, rope/cloth/soft-body builders, and debug drawing (#820). diff --git a/changelog.d/physics3d-6dof-breakable-joints-821.md b/changelog.d/physics3d-6dof-breakable-joints-821.md deleted file mode 100644 index 2adfaaa42..000000000 --- a/changelog.d/physics3d-6dof-breakable-joints-821.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics3d`: add `SwingTwistJoint` (wired into `BuildRagdoll`), generic `SixDOFJoint`, spring/position drives on `HingeJoint` and `SliderJoint`, per-joint reaction force/torque readouts, and breakable joint thresholds with `World.JointBreakEvents` / `World.OnJointBreak` (#821). diff --git a/changelog.d/physics3d-broadphase-811.md b/changelog.d/physics3d-broadphase-811.md deleted file mode 100644 index 634e397b3..000000000 --- a/changelog.d/physics3d-broadphase-811.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics3d`: deterministic broadphase with separate static and dynamic AABB trees (`World.SyncBroadphase`), accelerating body-pair detection, raycasts, overlap queries, CCD sweeps, `WakeInBox`, and `CharacterController` moves across all 3D shapes, triangle meshes, and heightfields while remaining bit-identical to brute-force scans (#811). diff --git a/changelog.d/physics3d-character-platforms-813.md b/changelog.d/physics3d-character-platforms-813.md deleted file mode 100644 index caf53554e..000000000 --- a/changelog.d/physics3d-character-platforms-813.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics3d`: `CharacterController` now tracks moving kinematic and dynamic ground bodies (`GroundBody`, `GroundVelocity`, `GroundYawDelta`, `Yaw`, `ApplyPlatformYaw`), carries the capsule through linear and angular platform motion, inherits or drops platform velocity via `PlatformOnLeave` (`PlatformLeaveAddVelocity`, `PlatformLeaveAddUpwardVelocity`, `PlatformLeaveDoNothing`), pushes out of encroaching kinematic geometry, and reports `Crushed` when squeezed between opposing surfaces (#813). diff --git a/changelog.d/physics3d-collider-handles-902.md b/changelog.d/physics3d-collider-handles-902.md deleted file mode 100644 index 56c0957ea..000000000 --- a/changelog.d/physics3d-collider-handles-902.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/sceneformat`: extend built-in `body3d` (`trigger` kind, `layer`/`mask`, `physicsMaterial` path) and `collider3d`/`trigger3d` (`cylinder`, model-derived `convex` and static `trimesh`, terrain `heightfield`, local `rotX`/`rotY`/`rotZ`), with `BuildPhysics` creating matching `physics3d` bodies, triangle meshes (`TriMeshes3D`), and heightfields (`Heightfields3D`) (#902). -- `game/editor`: add `Gizmo3DCollider` size handles (`ColliderHandles3D`, shortcut `shift+c`) through the 3D gizmo API with single-step undo, draw wireframes for all 3D collider shapes (including cylinder, convex hull, triangle mesh, and heightfield), and add the **Fit to Model Bounds** button (`FitCollider3DToBounds`) in the Inspector (#902). diff --git a/changelog.d/physics3d-compound-shapes-809.md b/changelog.d/physics3d-compound-shapes-809.md deleted file mode 100644 index cc2b7b739..000000000 --- a/changelog.d/physics3d-compound-shapes-809.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics3d`: compound shapes (`ShapeCompound`, `CompoundShape`, `CompoundChild`) supporting multiple local-offset/rotated child shapes (including boxes, spheres, capsules, convex hulls, cylinders, and nested compounds) on one rigid body, with parallel-axis combined mass, `CenterOfMass`, and 3×3 `SymMat3` `InvInertiaTensor`, combined bounds, per-child contact/raycast/overlap child-index reporting, per-child trigger and collision layer/mask overrides, CCD/area/character/cover/XPBD integration, debug wireframe drawing, and bit-identical FMA-free `WorldSnapshot` save/restore (#809). diff --git a/changelog.d/physics3d-contact-manifolds-and-inertia-tensors-810.md b/changelog.d/physics3d-contact-manifolds-and-inertia-tensors-810.md deleted file mode 100644 index e7bd74336..000000000 --- a/changelog.d/physics3d-contact-manifolds-and-inertia-tensors-810.md +++ /dev/null @@ -1,9 +0,0 @@ -### Added - -- `game/physics3d`: body-space inertia tensors (`DiagSymMat3`, `Body.InvInertiaTensor`, `Body.WorldInvInertiaTensor`), per-body overrides (`Body.SetInertia`, `Body.SetInertiaTensor`, `Body.SetCenterOfMass`), and implicit midpoint gyroscopic Euler torque integration so asymmetric spinning bodies exhibit intermediate-axis (Dzhanibekov) flips while symmetric boxes remain stable (#810). -- `game/physics3d`: multi-point contact manifolds with up to 4 clipped face contacts for box-box and convex hull/cylinder faces, up to 2 contacts for capsule-on-face pairs, persistent feature IDs, per-point warm starting and 3D Coulomb friction, and regularized active-set block LCP normal solving (#810). - -### Changed - -- `game/physics3d`: `World.Step` uses velocity-first symplectic Euler integration and scopes shock propagation to vertical support columns with high mass ratios (`> 4:1`) or stacks taller than 12 bodies, so ordinary 10-box towers stand and sleep without residual drift or shock intervention; all seven built-in `Joint3D` types now use world-space inverse inertia tensors and `WorldCenterOfMass` (#810). -- `game/vehicle`: chassis suspension, tire friction, and ground impulse transfer now use `Body.WorldInvInertiaTensor()` and `Body.WorldCenterOfMass()` so braking pitch and roll reflect the `Config` mass distribution (#810). diff --git a/changelog.d/physics3d-gltf-gridmap-colliders-816.md b/changelog.d/physics3d-gltf-gridmap-colliders-816.md deleted file mode 100644 index 64d9a367d..000000000 --- a/changelog.d/physics3d-gltf-gridmap-colliders-816.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/gltf`: parse Godot-style collider node suffixes (`-col`, `-colonly`, `-boxcol`, `-boxcolonly`, `-spherecol`, `-spherecolonly`, `-capsulecol`, `-capsulecolonly`, `-convcol`, `-convcolonly`) and `extras.collider` metadata via `ParseNodeCollider`, `Node.IsDrawable`, `Document.DrawableNodes`, and `Document.ColliderNodes` (#816). -- `game/physics3d`: build static colliders from glTF primitives, meshes, and scenes (`NewTriMeshFromGLTFPrimitive`, `NewTriMeshFromGLTFMesh`, `NewTriMeshFromGLTFNode`, `BuildGLTFColliders`, `World.AddGLTFColliders`), build `HeightfieldCollider` from `image.Image` (`NewHeightfieldFromImage`), and greedily merge aligned 3D boxes along X, Z, and Y (`MergeBoxes`) (#816). -- `game/world3d`: create merged static `physics3d` bodies from `GridMap` cell `ColliderBoxes` (`GridMap.ColliderBoxes`, `GridMap.MergedColliderBoxes`, `GridMap.BuildStaticBodies`, `GridMap.AddCollidersToWorld`) and bridge `Heightmap` to `physics3d.HeightfieldCollider` via `Heightmap.Collider` (#816). diff --git a/changelog.d/physics3d-math3d-audit-546.md b/changelog.d/physics3d-math3d-audit-546.md deleted file mode 100644 index 606e8a5c8..000000000 --- a/changelog.d/physics3d-math3d-audit-546.md +++ /dev/null @@ -1,11 +0,0 @@ -### Added - -- `game/math3d`: `Transform.InverseMat4` returns the exact inverse matrix of any transform, including a non-uniform scale under a rotation, whose inverse shears and which `Transform.Inverse` cannot represent; the `Inverse` docs now say so (#546). -- `game/physics3d`: `DebugStyle.DepthZO` and `DrawLine3DZO` clip debug drawing at the near plane of a `[0, 1]` depth projection such as `math3d.Perspective`, `math3d.Ortho` or a `render3d` camera, as `render3d.ProjectSegment` does; the default stays the `[-1, 1]` near plane of `physics3d.Mat4Perspective` and `Mat4Ortho` (#546). - -### Fixed - -- `game/physics3d`: stacks no longer sink into each other or fall asleep overlapping. A bottom-up shock-propagation pass after the solver stops and pushes out each upper body against the one below, so a 100 kg box on a 1 kg box rests about 1 mm deep instead of 4 cm, and a tall stack under a heavy box settles and sleeps instead of bobbing 8 cm deep; a body more than 5 mm into a neighbor stays awake, and a sleeping body pushed deeper than 1 cm wakes (#546). -- `game/physics3d`: a shape below a heightfield's surface is pushed out by the depth measured along the upward normal it is pushed along, not the shallower depth of the downward normal it replaced (a sphere 0.3 below the surface got 0.2 instead of 0.8); a shape beside a cell, such as one at the foot of a step touching the plateau's edge, keeps its measured depth (#546). -- `game/physics3d`: debug drawing with an orthographic `[0, 1]` camera no longer has to draw colliders, contacts and rays behind the camera; set `DebugStyle.DepthZO` (#546). -- `game/scene3d`: `ReparentKeepWorld` (and `SetParent` with `keepWorld`) solves the new local transform on world matrices, so a node under a rotated, non-uniformly scaled parent keeps its world matrix; when that local transform would need shear, or the parent is singular, it returns the new `ErrNotDecomposable` and changes nothing (#546). diff --git a/changelog.d/pixelfx-arcane-757.md b/changelog.d/pixelfx-arcane-757.md deleted file mode 100644 index 235295bac..000000000 --- a/changelog.d/pixelfx-arcane-757.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/arcane`: ported all 12 pixelfx arcane effects (`arcane-beam`, `arcane-missiles`, `arcane-orb`, `blink-in`, `blink-out`, `magic-circle-cast`, `mana-burst`, `portal`, `rune-circle`, `spell-charge`, `star-fall`, `time-stop`) and their shared helpers to Go with parity tests and `game pixelfx` CLI registration (#757). diff --git a/changelog.d/pixelfx-core-756.md b/changelog.d/pixelfx-core-756.md deleted file mode 100644 index 9d278c95a..000000000 --- a/changelog.d/pixelfx-core-756.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/pixelfx`: a Go port of pixelfx's core at commit `5294518`, under its MIT license: frames with additive light and `Composite`, the `Painter`, seeded `Rng` and noise, closed-form and simulated particles, colors and palettes, the two pixel fonts, the acting system (`Rig`, `Pose`, `Act`, `Perform`, `ActTiming`, `Chain`), the effect registry with options for placement, flip, angle, seed, palette and light, sprite sheet export as Aseprite JSON for `sprite.LoadAtlas` (`Render`, `RenderAct`, `Frames.Sheet`), and `Image` and `View` to show frames in NSGo scaled up without smoothing (#756). -- `game/pixelfx/fire`, `game/pixelfx/explosions`, `game/pixelfx/impacts` and `game/pixelfx/moves`: the torch, the small explosion, the ground slam and the ground pound, each tested frame by frame against pixelfx's own render (#756). -- `game pixelfx` renders a pixelfx effect, or the effect acted out, to a PNG sprite sheet and its Aseprite JSON, with `-set` for the effect's options and `-list` for the effects (#756). diff --git a/changelog.d/pixelfx-critters-758.md b/changelog.d/pixelfx-critters-758.md deleted file mode 100644 index 3fbaefa46..000000000 --- a/changelog.d/pixelfx-critters-758.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/critters`: port all twelve pixelfx critters effects (`bat`, `bird`, `butterfly`, `eyeball`, `fish-school`, `flying-skull`, `frog`, `ghost`, `jellyfish`, `slime`, `snake`, `wisp`) and the category's creature kit to Go, registered under `"critters/"`, checked against references rendered by pixelfx and wired into `game pixelfx` (#758). diff --git a/changelog.d/pixelfx-explosions-759.md b/changelog.d/pixelfx-explosions-759.md deleted file mode 100644 index 16a90c21f..000000000 --- a/changelog.d/pixelfx-explosions-759.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/explosions`: ported the rest of pixelfx's explosions category (`barrel-explosion`, `big-explosion`, `cartoon-pow`, `dirt-explosion`, `firework-burst`, `firework-rocket`, `grenade`, `implosion`, `nuke`, `plasma-explosion`, `smoke-bomb`) and its shared helpers (fire balls, rolling plume and column, crater, scorch, molten rocks, updrafts) to Go, beside the small explosion, with parity tests against frames pixelfx rendered (#759). diff --git a/changelog.d/pixelfx-fire-760.md b/changelog.d/pixelfx-fire-760.md deleted file mode 100644 index 4c54f98dc..000000000 --- a/changelog.d/pixelfx-fire-760.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/fire`: ported the rest of pixelfx's fire category (`brazier`, `campfire`, `candle`, `fire-breath`, `fire-ring` with its act, `fire-tornado`, `fireball`, `flame-pillar`, `flamethrower`, `meteor`, `spirit-flame`) alongside `torch`, with parity tests against pixelfx's own frames (#760). diff --git a/changelog.d/pixelfx-holy-777.md b/changelog.d/pixelfx-holy-777.md deleted file mode 100644 index fe865af91..000000000 --- a/changelog.d/pixelfx-holy-777.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/holy`: ported all 10 pixelfx holy effects (`blessing`, `divine-shield`, `feather-burst`, `halo`, `heal`, `heal-aoe`, `holy-pillar`, `resurrection`, `smite`, `sunburst`) and the category's shared helpers (silhouette recolors, floor ovals, feathers of light, plus signs) to Go, with parity tests against pixelfx and `game pixelfx` CLI registration. `divine-shield`'s `radius`, `heal-aoe`'s `reach`, `sunburst`'s `rays` and `holy-pillar`'s `shafts` are held to a finite range, so a negative, infinite or NaN value renders instead of hanging (#777). diff --git a/changelog.d/pixelfx-ice-761.md b/changelog.d/pixelfx-ice-761.md deleted file mode 100644 index 27b43940d..000000000 --- a/changelog.d/pixelfx-ice-761.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/ice`: ported all 10 pixelfx ice effects (`blizzard-vortex`, `freeze`, `frost-breath`, `frost-nova`, `ice-crystal`, `ice-lance`, `ice-shatter`, `ice-spikes`, `icicle-fall`, `snowflake-burst`) and the category's shared helpers (tumbling panes of ice, ice blades, snowflakes, cracks) to Go with parity tests, and registered them with `game pixelfx` (#761). diff --git a/changelog.d/pixelfx-impacts-762.md b/changelog.d/pixelfx-impacts-762.md deleted file mode 100644 index 2cfbdd898..000000000 --- a/changelog.d/pixelfx-impacts-762.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/impacts`: port the rest of pixelfx's impacts category (`blunt-hit`, `bullet-impact`, `crit-hit`, `heavy-landing`, `hit-flash`, `hit-spark`, `impact-frame`, `parry`, `ricochet`, `shield-block`) to Go next to `ground-slam`, registered under `"impacts/"` and rendered by `game pixelfx` (#762). diff --git a/changelog.d/pixelfx-lightning-763.md b/changelog.d/pixelfx-lightning-763.md deleted file mode 100644 index 58464830b..000000000 --- a/changelog.d/pixelfx-lightning-763.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/lightning`: port all 11 pixelfx lightning effects (`ball-lightning`, `chain-lightning`, `charge-up`, `electrified`, `lightning-strike`, `plasma-ball`, `spark-arc`, `storm-cloud`, `tesla-coil`, `thunderclap`, `zap-hit`) to Go, registered under `"lightning/"` and wired into `game pixelfx` (#763). diff --git a/changelog.d/pixelfx-melee-764.md b/changelog.d/pixelfx-melee-764.md deleted file mode 100644 index a1fffe73d..000000000 --- a/changelog.d/pixelfx-melee-764.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/melee`: ported all 12 pixelfx melee effects (`claw-swipe`, `dagger-flurry`, `double-slash`, `hammer-smash`, `heavy-cleave`, `scythe-reap`, `spear-sweep`, `spin-slash`, `sword-slash`, `thrust`, `uppercut`, `whip-crack`) to Go, with their size options (`radius`, `reach`, `length`) kept between 1 and 416 px, each with its act for the stock character, the category's swing, slash, crack, rock and star helpers, parity tests against pixelfx's own frames, and `game pixelfx` CLI registration (#764). diff --git a/changelog.d/pixelfx-moves-765.md b/changelog.d/pixelfx-moves-765.md deleted file mode 100644 index ff5e48714..000000000 --- a/changelog.d/pixelfx-moves-765.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/moves`: ported pixelfx's `arrow-shot`, `earth-stomp`, `pistol-shots` and `rocket-launcher` moves beside `ground-pound`, each acted out by the stock character with its hits, dust and target, chaining the projectiles, explosions, impacts and nature effects, and verified frame by frame against pixelfx's own renders, plain, mirrored and acted out (#765). diff --git a/changelog.d/pixelfx-moves-complete-765.md b/changelog.d/pixelfx-moves-complete-765.md deleted file mode 100644 index 2668f7796..000000000 --- a/changelog.d/pixelfx-moves-complete-765.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/moves`: ported pixelfx's remaining seven moves (`dash-strike`, `fireball-throw`, `holy-smite`, `ice-lance-throw`, `lightning-call`, `meteor-call` and `sword-combo`), completing all 12 moves in the category (and all 244 pixelfx effects), verified frame by frame against pixelfx's own renders, plain, mirrored and acted out (#765). diff --git a/changelog.d/pixelfx-nature-766.md b/changelog.d/pixelfx-nature-766.md deleted file mode 100644 index 919c56676..000000000 --- a/changelog.d/pixelfx-nature-766.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/nature`: ported pixelfx's 13 nature effects (`acid-splash`, `boulder`, `earth-spike`, `healing-bloom`, `leaf-storm`, `poison-cloud`, `quake`, `root-snare`, `spore-burst`, `thorns`, `tornado`, `toxic-puddle`, `vine-whip`) and shared nature helpers to Go, wired them into `game pixelfx`, and added parity and determinism tests (#766). diff --git a/changelog.d/pixelfx-pickups-767.md b/changelog.d/pixelfx-pickups-767.md deleted file mode 100644 index 72ae6225c..000000000 --- a/changelog.d/pixelfx-pickups-767.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/pickups`: port pixelfx's 11 pickups effects (`chest-open`, `coin-spin`, `collect-burst`, `crystal-shard`, `gem-spin`, `heart-pickup`, `key-glint`, `loot-beam`, `potion`, `power-star`, and `xp-orb`) with reference parity tests and `game pixelfx` CLI registration (#767). diff --git a/changelog.d/pixelfx-projectiles-768.md b/changelog.d/pixelfx-projectiles-768.md deleted file mode 100644 index bbb6e587b..000000000 --- a/changelog.d/pixelfx-projectiles-768.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/projectiles`: ported all 13 effects from pixelfx's `projectiles` category (`arrow`, `bullet-tracer`, `cannonball`, `energy-disc`, `flare`, `homing-missile`, `laser-bolt`, `magic-missile`, `muzzle-pistol`, `muzzle-shotgun`, `muzzle-smg`, `plasma-shot`, `rocket`), registered in `game pixelfx` and verified frame by frame against pixelfx's own renders (#768). diff --git a/changelog.d/pixelfx-scifi-769.md b/changelog.d/pixelfx-scifi-769.md deleted file mode 100644 index 716ca63fb..000000000 --- a/changelog.d/pixelfx-scifi-769.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/scifi`: ported all 12 sci-fi effects from pixelfx (`emp-blast`, `energy-core`, `force-field`, `glitch`, `hologram`, `jetpack`, `laser-grid`, `scanner`, `teleporter-pad`, `tractor-beam`, `warp-in`, `warp-out`) with reference parity tests, determinism tests, benchmarks, and `game pixelfx` CLI registration (#769). diff --git a/changelog.d/pixelfx-shadow-770.md b/changelog.d/pixelfx-shadow-770.md deleted file mode 100644 index 905cfc909..000000000 --- a/changelog.d/pixelfx-shadow-770.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/shadow`: ported all 12 pixelfx shadow category effects (`black-hole`, `curse`, `dark-explosion`, `eclipse`, `grasping-hands`, `hex-sigil`, `life-steal`, `necro-skulls`, `shadow-flames`, `shadow-tendrils`, `soul-drain`, `void-orb`) with pixel parity tests against upstream pixelfx and wired them into `game pixelfx` (#770). diff --git a/changelog.d/pixelfx-spawn-771.md b/changelog.d/pixelfx-spawn-771.md deleted file mode 100644 index b3a1b91f7..000000000 --- a/changelog.d/pixelfx-spawn-771.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/spawn`: port all 10 pixelfx spawn and death effects (`spawn/coin-drop`, `spawn/disintegrate`, `spawn/dissolve-burn`, `spawn/egg-hatch`, `spawn/poof`, `spawn/respawn-beam`, `spawn/shatter-death`, `spawn/soul-rise`, `spawn/spawn-portal`, and `spawn/summon-rise`) to Go with reference parity tests and `game pixelfx` CLI registration (#771). diff --git a/changelog.d/pixelfx-status-772.md b/changelog.d/pixelfx-status-772.md deleted file mode 100644 index 4b5741085..000000000 --- a/changelog.d/pixelfx-status-772.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/status`: ported pixelfx's 13 status effects (`bleeding`, `burning`, `charmed`, `confused`, `cursed`, `frozen`, `haste`, `petrified`, `poisoned`, `rage`, `sleep`, `slowed`, `stunned`) with parity and determinism tests and wired them into `game pixelfx` (#772). diff --git a/changelog.d/pixelfx-transitions-773.md b/changelog.d/pixelfx-transitions-773.md deleted file mode 100644 index b392419a1..000000000 --- a/changelog.d/pixelfx-transitions-773.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/transitions`: ported pixelfx's 10 screen transition effects (`blinds`, `burn-away`, `crt-off`, `diamond-wipe`, `glitch-wipe`, `iris`, `pixel-dissolve`, `shatter-wipe`, `slash-wipe`, `star-iris`) with `Painter.Clipped` local-space clipping and parity tests, wired into `game pixelfx` (#773). diff --git a/changelog.d/pixelfx-ui-774.md b/changelog.d/pixelfx-ui-774.md deleted file mode 100644 index 290c96c5d..000000000 --- a/changelog.d/pixelfx-ui-774.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/ui`: port pixelfx's 12 UI effects (`achievement`, `coin-collect`, `combo-counter`, `confetti`, `countdown`, `crit-number`, `damage-number`, `exclamation`, `health-bar-hit`, `heart-lost`, `level-up`, `quest-complete`) to Go with pixel parity tests against the pinned upstream references and `game pixelfx` CLI support (#774). diff --git a/changelog.d/pixelfx-water-775.md b/changelog.d/pixelfx-water-775.md deleted file mode 100644 index b708759b0..000000000 --- a/changelog.d/pixelfx-water-775.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/water`: port all twelve pixelfx water effects (`bubbles`, `drip`, `fountain`, `geyser`, `rain-splash`, `ripples`, `splash`, `water-jet`, `water-orb`, `waterfall`, `wave-crash`, `whirlpool`) to Go, registered under `"water/"` and wired into `game pixelfx` (#775). diff --git a/changelog.d/pixelfx-weather-776.md b/changelog.d/pixelfx-weather-776.md deleted file mode 100644 index aebdfadc2..000000000 --- a/changelog.d/pixelfx-weather-776.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/pixelfx/weather`: ported all 12 pixelfx weather effects (`aurora`, `blizzard`, `cherry-blossoms`, `clouds`, `falling-leaves`, `fireflies`, `fog`, `god-rays`, `rain`, `shooting-stars`, `snow`, `storm`) and shared helpers to Go with parity tests and `game pixelfx` CLI registration (#776). diff --git a/changelog.d/place-models-into-the-3d-viewport-893.md b/changelog.d/place-models-into-the-3d-viewport-893.md deleted file mode 100644 index db91fab5b..000000000 --- a/changelog.d/place-models-into-the-3d-viewport-893.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/editor`: models go into the 3D viewport from the asset browser. The browser lists the built-in primitives and the project's `.gltf` and `.glb` models, the outputs of `game assets` model targets included, with thumbnails rendered offscreen on the software GPU (`Models`, `ModelThumbnail`); pressing one picks it for the Place tool (`SelectModel`), which in 3D adds an object drawing it where the pointer's ray meets the scene's geometry, or the ground plane at a chosen height, resting on it and optionally snapped to the grid on the ground plane and aligned to the surface (`PlacementAt3D`, `PlaceModelAt3D`, `SetPlaceOptions3D`). Dragging a model onto the viewport places it where it is dropped, and a `.glb` or `.gltf` file dropped from another app is placed when it lies inside the project (`DropModelFiles`). Each placement is one undoable step. The 3D inspector's Model field picks one of the project's models (`ProjectModels`, `SetObjectModel`) (#893). diff --git a/changelog.d/playable-sample-game-8.md b/changelog.d/playable-sample-game-8.md deleted file mode 100644 index f4fd819be..000000000 --- a/changelog.d/playable-sample-game-8.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `examples/caverun`: plays with held keyboard keys and game controllers through `input.Actions` (`WatchKeys`, `WatchGamepads`, an analog left stick with a dead zone, Start to start or pause, Back to restart) beside touch and the mouse, replacing the key-down timers that approximated held keys (#8). -- `examples/caverun`: a 1000-firefly stress swarm (`F`, North, or the pause menu) drawn with one `DrawAtlas` and moved without allocating, a HUD sprite count, `BenchmarkLevel1000Sprites`, and headless tests that play the level to the end with the HUD buttons, the keyboard, a game controller and the swarm on (#8). -- `examples/caverun`: a README with a screenshot that a test keeps current, the controls, how to start a game with the package, and the performance measurements so far (#8). diff --git a/changelog.d/playtest-bot-profiles-1045.md b/changelog.d/playtest-bot-profiles-1045.md deleted file mode 100644 index 3d3a54945..000000000 --- a/changelog.d/playtest-bot-profiles-1045.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/playtest`: built-in deterministic bot profiles for top-down exploration (`topdown-explorer`), shoot-'em-ups (`shooter`), puzzle solving and human-like undo play (`puzzle-solver` with `SolvePuzzleBFS`, `EvaluatePuzzlePack`, and `NewPuzzlePackSim`), and 1-turn-lookahead card duels (`card-ai` with `RunCardTournament` and `NewCardTournamentSim`), plus optional `Series` bar charts and `Matrices` matchup grids on `playtest.Report` (#1045). -- `template`: canonical `playtest.yaml` files in `rpg2d`, `shmup2d`, `puzzle2d`, and `cards2d` templates matching each template's bot profile (#1045). diff --git a/changelog.d/playtest-yaml-headless-1043.md b/changelog.d/playtest-yaml-headless-1043.md deleted file mode 100644 index 50ed06ae0..000000000 --- a/changelog.d/playtest-yaml-headless-1043.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/playtest`: add versioned `playtest.yaml` configuration and published JSON Schema (`playtest.v1.json`), deterministic YAML report format (`playtest.report.yaml`), per-run metrics `Collector` API (positioned events, counters, timers and perf readout), headless runner recording per-seed `.replay.yaml` files, and the `platformer-runner` bot profile with human reaction jitter (#1043). -- `game/cmd/game`: add `nsgo game playtest` (also `go tool game playtest`) to validate `playtest.yaml`, run headless playtests via `playtest.RunTest`, save per-seed recordings, write the YAML report and fail on missed goals (#1043). -- `game/editor/editormcp`: add `game_playtest` and `playtest_define` MCP tools, with `playtest_define` queuing canonical `playtest.yaml` diffs as pending reviews (`PlaytestReviews`, `ApplyPlaytestReview`, `DismissPlaytestReview`) without modifying disk until reviewed (#1043). diff --git a/changelog.d/procgen-dungeon-rooms-856.md b/changelog.d/procgen-dungeon-rooms-856.md deleted file mode 100644 index a30182cd0..000000000 --- a/changelog.d/procgen-dungeon-rooms-856.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/procgen`: hand-made YAML room templates (`ParseRoomTemplates`, `EncodeRoomTemplates`), dungeon layout graphs with critical path, branches, loops and reachable lock/key progression (`GenerateGraph`), and deterministic stitch and Spelunky-style grid-of-rooms placement (`GenerateRooms`, `PlaceRooms`) (#856). diff --git a/changelog.d/quality-presets-for-low-end-devi-540.md b/changelog.d/quality-presets-for-low-end-devi-540.md deleted file mode 100644 index 8b5d97bc2..000000000 --- a/changelog.d/quality-presets-for-low-end-devi-540.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/quality`: low, medium and high presets (resolution scale, particle budget, effects, shadows) picked from the device class and measured frame times, adapted while on auto and overridable through `save.DisplaySettings.Quality`, with a versioned YAML config; `Loop.FrameTime`, `lights2d.Scene.DisableShadows` and `world3d.QualityLevelFor` wire it in (resolution scale is a value for games to apply to buffers they size; nothing in this repository applies it yet), and Starburst starts low-end Android phones on the low preset (#540). diff --git a/changelog.d/quests-and-objectives-518.md b/changelog.d/quests-and-objectives-518.md deleted file mode 100644 index 71f9e58f2..000000000 --- a/changelog.d/quests-and-objectives-518.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/quest`: quests with collect, reach, defeat and talk objectives, prerequisites, ordered and optional objectives and rewards, defined in a versioned YAML book, advanced by `flow.Bus` events and saved as a snapshot that round-trips through `save.Store` (#518). diff --git a/changelog.d/render3d-antialiasing-249.md b/changelog.d/render3d-antialiasing-249.md deleted file mode 100644 index 7cab1468a..000000000 --- a/changelog.d/render3d-antialiasing-249.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: hardware MSAA offscreen render target management (`AAMode`, `ClampSampleCount`, `MSAATarget` with `Resize`, `ColorAttachment`, `DepthStencilAttachment`, `KeepDepth`, `OutputTexture`, and device-loss `Retained` support) and FXAA 3.11 full-screen post-processing (`FXAAOptions`, `FXAAPass`, `FXAAWGSL`, and CPU reference `ApplyFXAA`) compatible with both full and `NoGPUCompute` GPU profiles (#249). diff --git a/changelog.d/render3d-baked-lightmaps-258.md b/changelog.d/render3d-baked-lightmaps-258.md deleted file mode 100644 index b478a6d18..000000000 --- a/changelog.d/render3d-baked-lightmaps-258.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/gltf`: add `MaterialLightmap`, `PrimitiveLightmapUVs`, `Document.LightmapTexCoords`, and `LightmapRef` to extract baked lightmap bindings (`MOZ_lightmap`, `EXT_lightmap`, `extras.lightmap`, `KHR_texture_transform` scale and offset, and `TEXCOORD_1` with `TEXCOORD_0` fallback), and accept `MOZ_lightmap` and `EXT_lightmap` in `extensionsRequired` (#258). -- `game/render3d`: add baked lightmap rendering (`LightmapVertex`, `LightmapMesh`, `GPULightmapMesh`, `UploadLightmapMesh`, `LightmapMaterial`, `UVTransform`, `LightmapRenderer`, `UploadLightmapRGBA16F`, and RGBM/RGBD HDR encode/decode helpers) supporting dual UV sets, shared lightmap atlases, linear/sRGB/RGBM/RGBD encodings, ambient fallback, and an additive `DirectionalLight`, with output encoded to sRGB like the lit PBR pipelines (#258). diff --git a/changelog.d/render3d-budgeted-upload-387.md b/changelog.d/render3d-budgeted-upload-387.md deleted file mode 100644 index 26ad6acb0..000000000 --- a/changelog.d/render3d-budgeted-upload-387.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: `Uploader` decodes and packs meshes, textures and raw buffers or textures on background goroutines and streams their GPU writes across frames in `Step` under a `BytesPerFrame` budget that can change at runtime. `QueueMesh`, `QueueTexture` and `QueueTexturePixels` take the `MeshUpload` and `TextureUpload` options of the synchronous uploads and deliver the same `GPUMesh` and `GPUTexture`; uploads run in priority order, and an `UploadHandle` reports progress and cancels (#387). diff --git a/changelog.d/render3d-clearcoat-transmission-264.md b/changelog.d/render3d-clearcoat-transmission-264.md deleted file mode 100644 index 334924f34..000000000 --- a/changelog.d/render3d-clearcoat-transmission-264.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/gltf`: parse and validate `KHR_materials_clearcoat` (`Material.Clearcoat`) and `KHR_materials_transmission` (`Material.Transmission`), including `texCoord`, normal `scale`, and `KHR_texture_transform` on all extension texture references, and accept both extensions in `extensionsRequired` (#264). -- `game/render3d`: extend `Material`, `PBRMaterial`, `EvaluateMaterial`, `EvaluatePBR`, and `ShadePoint` with clearcoat, transmission, and IOR support; add `ExtendedMaterialDefaults`, `GPUExtendedMaterial`, per-frame `TransmissionBackground` (with `DynamicResolutionTarget` UV scaling), `NewExtendedMaterialPipeline`, and `UploadGLTFExtendedMaterials` for glTF emissive strength, clearcoat, and transmission rendering (#264). diff --git a/changelog.d/render3d-clustered-forward-382.md b/changelog.d/render3d-clustered-forward-382.md deleted file mode 100644 index 250b66624..000000000 --- a/changelog.d/render3d-clustered-forward-382.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: clustered forward shading for hundreds of point and spot lights. `ClusteredLightSystem` takes a `GPULightBuffer`'s place at `LightGroup`, uploads the same `LightRig` and adds `ClusterLight`s (`ClusterLightFromPoint`, `ClusterLightFromSpot`) binned by `ClusterGrid`, shaded with the same PBR BRDF through `NewClusteredLitPBRPipeline` / `ClusteredLitWGSL` or `shade_pbr_clustered` in custom shaders. On WebGL 2 and OpenGL ES 3.0 it falls back to the 16 most important visible lights in a uniform buffer (#382). diff --git a/changelog.d/render3d-clustered-metal-bench-382.md b/changelog.d/render3d-clustered-metal-bench-382.md deleted file mode 100644 index 1f894d78f..000000000 --- a/changelog.d/render3d-clustered-metal-bench-382.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- `render3d`: reordered `LightWGSL` helper declarations so Apple Metal MSL compiles without forward declarations, removed the unused compute-shader check from `DeviceSupportsClusteredLighting` so Apple Metal uses the full clustered storage-buffer path, and recorded desktop Metal 4 frame-rate measurements for 256 clustered point lights (#382). diff --git a/changelog.d/render3d-csm-257.md b/changelog.d/render3d-csm-257.md deleted file mode 100644 index cc101f720..000000000 --- a/changelog.d/render3d-csm-257.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: cascaded shadow maps for the first directional light of a `LightRig` (`CascadedShadowMap`, `CSMConfig`, `ComputeCSMSplits`, `FitCascades`, `FitCascadesFromCamera`, `CSMWGSL`, `CSMWGSLForGroup`, `LitPBRCSMWGSL`, `NewLitPBRCSMPipeline`, `LitPBRPipelineOptions.CSMLayout`, and the CPU reference `EvaluateCSMShadow`), packing up to four texel-snapped cascades into one 2D depth atlas at bind group 3 with hard or 3x3 PCF filtering, cascade blending, a far fade and `Retained` device-loss support (#257). diff --git a/changelog.d/render3d-custom-shaders.md b/changelog.d/render3d-custom-shaders.md deleted file mode 100644 index d04a6d376..000000000 --- a/changelog.d/render3d-custom-shaders.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: custom WGSL and Kage 3D shader materials (`CustomMaterial`, `CustomShaderDesc`, `ShaderParamDesc`, `ComputeUniformLayout`, `CompileCheck`) with deterministic std140 uniform packing, typed parameter setters, fallback 1×1 textures, `Retained` device-loss restoration, and cross-backend compilation verification. `DrawLayout` and `ExtraLayout` give a custom material a per-draw model matrix and lights, and `LightWGSLForGroup` declares the scene lights in another bind group (#263). diff --git a/changelog.d/render3d-directional-and-point-lights-116.md b/changelog.d/render3d-directional-and-point-lights-116.md deleted file mode 100644 index 1cf289259..000000000 --- a/changelog.d/render3d-directional-and-point-lights-116.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: directional, point, and ambient lights in glTF 2.0 metallic-roughness PBR shading (`DirectionalLight`, `PointLight` with `KHR_lights_punctual` smooth range windowing, `AmbientLight`, `LightRig`, `LightUniforms`, `GPULightBuffer` at bind group 1 with `Retained` device-loss recovery, `LightWGSL`, `LitPBRWGSL`, `PBRMaterial`, `PBRDrawBuffer`, `NewLitPBRPipeline`, and matching CPU reference evaluators `EvaluatePBR`, `ShadePoint`, `PointLightAttenuation`, and `LinearToSRGB`), verified pixel-for-pixel against CPU PBR math and checked-in reference renders (#116). diff --git a/changelog.d/render3d-directional-shadows-117.md b/changelog.d/render3d-directional-shadows-117.md deleted file mode 100644 index 6b0a9e87f..000000000 --- a/changelog.d/render3d-directional-shadows-117.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: directional light shadow mapping (`DirectionalShadowConfig`, `ShadowMapOptions`, `DirectionalShadowMap`, `ShadowUniforms`, `AppendShadowUniforms`, `ShadowDepthWGSL`, `ShadowWGSL`, `ShadowWGSLForGroup`, and the CPU reference `EvaluateDirectionalShadow`) with `FitBounds` orthographic framing, texel snapping that keeps shadow edges still as the framing moves, hard 1-tap and 3x3 PCF comparison filtering, dynamic multi-caster shadow passes, and `Retained` device-loss recovery. The lit PBR pipeline takes the shadow at bind group 3 (`LitPBRShadowWGSL`, `NewLitPBRShadowPipeline`, `LitPBRPipelineOptions.ShadowLayout`), attenuating the `LightRig`'s first directional light, with `ShadePointShadowed` as its CPU reference (#117). diff --git a/changelog.d/render3d-distance-and-height-fog-254.md b/changelog.d/render3d-distance-and-height-fog-254.md deleted file mode 100644 index 8d7879c33..000000000 --- a/changelog.d/render3d-distance-and-height-fog-254.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: distance (`FogOff`, `FogLinear`, `FogExp`, `FogExp2`) and analytical exponential height fog (`Fog`, `Fog.Factor`, `Fog.Apply`, `FogCameraPos`), allocation-free `FogUniforms`/`AppendFogUniforms`, a scope-owned `GPUFogBuffer` that survives device loss when retained, fogged lit pipelines (`NewLitPBRFogPipeline` with the buffer at `FogGroup`, and `NewMaterialPipeline` with `MaterialPipelineOptions.FogLayout` at `MaterialFogGroup`), and the `FogWGSL`, `FogBindingWGSL`, `MaterialFogBindingWGSL` and `FogCameraWGSL` shader snippets (#254). diff --git a/changelog.d/render3d-dynamic-resolution-383.md b/changelog.d/render3d-dynamic-resolution-383.md deleted file mode 100644 index f53cffb3b..000000000 --- a/changelog.d/render3d-dynamic-resolution-383.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: dynamic resolution scaling (`DynamicResolutionScaler`, `DynamicResolutionTarget`, `DynamicResolutionConfig`) that adapts 3D render scale from GPU frame time or pass timings with hysteresis and upscales a sub-viewport offscreen target onto the native surface while keeping HUD overlays at native resolution (#383). diff --git a/changelog.d/render3d-gltf-materials-119.md b/changelog.d/render3d-gltf-materials-119.md deleted file mode 100644 index 23560fb5d..000000000 --- a/changelog.d/render3d-gltf-materials-119.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/render3d`: map glTF 2.0 materials, textures, images, and samplers onto `render3d`'s metallic-roughness PBR model via `UploadGLTFMaterials`, `GLTFMaterialSet`, `GLTFMaterialInfo`, `GLTFTextureSlot`, `SamplerOptionsFromGLTF`, and `AlphaModeFromGLTF` with automatic sRGB/linear color-space separation, `(imageIndex, sRGB)` texture deduplication, glTF default samplers, `KHR_materials_variants` and `KHR_materials_emissive_strength`, `Retained` device-loss restore, and a check of the Khronos `DamagedHelmet` render against its own textures (#119). `MaterialWGSL` does not apply `KHR_materials_unlit`, `KHR_texture_transform` or UV sets other than `TEXCOORD_0`; `GLTFMaterialInfo.Unsupported()` and `GLTFTextureSlot.NeedsUVBake()` report materials that use them. -- `game/gltf`: `Material.EmissiveStrength()` reads `KHR_materials_emissive_strength`, which a file may now list in `extensionsRequired` (#119). - -### Changed - -- `game/render3d`: `Material.Validate` accepts a negative `NormalScale`, which glTF 2.0 allows and which flips the normal map's X and Y (#119). diff --git a/changelog.d/render3d-gpu-skinning-121.md b/changelog.d/render3d-gpu-skinning-121.md deleted file mode 100644 index d697b94c9..000000000 --- a/changelog.d/render3d-gpu-skinning-121.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: GPU skeletal skinning (`SkinnedMesh`, `GPUSkinnedMesh`, `SkinnedVertexLayout`, `SkinnedMeshFromGLTF`, `SkinnedMeshesFromGLTFNode`, `GPUSkinPalette`, `SkinJointMatrices`, `AppendJointMatrices`, `SkinVertex`, `SkinnedBounds`, `SkinWGSL`, and `NewSkinnedMeshPipeline`) with up to 128 joints in a portable 8 KiB uniform buffer, weight normalization, joint bounds validation, and `Retained` device-loss recovery. Skinned meshes also draw with scene lights (`LitPBRPipelineOptions.SkinLayout`) or a glTF material (`MaterialPipelineOptions.SkinLayout`), and `GPUSkinPalette.UpdateWithTransform` uploads anim3d's mesh-local joint matrices (#121). diff --git a/changelog.d/render3d-hdr-tonemapping-gamma-250.md b/changelog.d/render3d-hdr-tonemapping-gamma-250.md deleted file mode 100644 index 77db6a65a..000000000 --- a/changelog.d/render3d-hdr-tonemapping-gamma-250.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: HDR rendering and tone mapping. `HDRTarget` is an offscreen `gpu.FormatRGBA16Float` target (falling back to `RGBA8Unorm` where half floats are unsupported), and `ToneMapPass` resolves it to the display with exposure (`ExposureFromEV`), a tone-mapping curve (`ToneMapNone`, `ToneMapReinhard`, `ToneMapACES`, `ToneMapNeutral`, `ToneMapAgX`) and exact sRGB or power-law gamma encoding, with `ApplyToneMap` as its CPU reference. `LitPBRPipelineOptions.LinearOutput` (through the new `NewLitPBRPipelineWithOptions`) and `MaterialPipelineOptions.LinearOutput` make the lit PBR and material shaders write linear HDR radiance for it, and `ToneMapPass.DrawDynamicResolution` tone-maps a `DynamicResolutionTarget`'s scaled viewport. `SRGBToLinearChannel` and `SRGBToLinear` invert `LinearToSRGBChannel` and `LinearToSRGB` (#250). diff --git a/changelog.d/render3d-ibl-hdr-helmet-253.md b/changelog.d/render3d-ibl-hdr-helmet-253.md deleted file mode 100644 index 96d6fb93f..000000000 --- a/changelog.d/render3d-ibl-hdr-helmet-253.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: linear floating-point HDR environment cubemaps (`HDRCubemap`, `HDRImage`, `DecodeHDR`, `EncodeHDR`, `CubemapFromHDR`, `CubemapFromHDREquirectangular`, `GradientSkyHDRCubemap`, `HDRCubemapFromCubemap`, `ComputeIrradianceSHHDR`, `PrefilterEnvironmentHDR`, `EvaluateIBLHDR`, `UploadCubemapHDR` uploading `gpu.FormatRGBA16Float`), optional tone-mapped skybox output (`SkyboxPipelineDesc.ToneMap`, `SkyboxToneMapWGSL`), textured glTF PBR material IBL rendering (`MaterialIBLGroup`, `MaterialIBLWGSL`, `MaterialIBLLinearWGSL`, `NewMaterialIBLPipeline`, `EvaluateMaterialIBL`), and Khronos `DamagedHelmet` HDR skybox & IBL reference tests across full and `NoGPUCompute` profiles (#253). diff --git a/changelog.d/render3d-local-shadows-255.md b/changelog.d/render3d-local-shadows-255.md deleted file mode 100644 index a47bcb086..000000000 --- a/changelog.d/render3d-local-shadows-255.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: shadows for the first spot light and the first point light of a `LightRig` (#255). `SpotShadowMap` renders a perspective depth map and `PointShadowMap` packs the six cube faces into one 3x2 depth atlas, both updated from the rig's `SpotLight` / `PointLight`, with hard or 3x3 PCF filtering, depth and normal bias, several casters per pass, and `Retained` device-loss recovery. `LitPBRSpotShadowWGSL` / `LitPBRPointShadowWGSL` (`NewLitPBRSpotShadowPipeline`, `NewLitPBRPointShadowPipeline`, or `LitPBRPipelineOptions.SpotShadowLayout` / `PointShadowLayout`) draw lit PBR meshes with the shadow at bind group 3; `SpotShadowWGSL` / `PointShadowWGSL` and their `ForGroup` variants add the shadows to custom shaders, `shade_pbr_visibility` in `LightWGSL` and `ShadePointVisibility` scale the shadowed lights, and `EvaluateSpotShadow` / `EvaluatePointShadow` are the CPU references. diff --git a/changelog.d/render3d-metallic-roughness-materials-113.md b/changelog.d/render3d-metallic-roughness-materials-113.md deleted file mode 100644 index be51526eb..000000000 --- a/changelog.d/render3d-metallic-roughness-materials-113.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: glTF 2.0 metallic-roughness PBR materials on the NSGo GPU view (`Material` / `MetallicRoughnessMaterial`, `AlphaMode`, `MaterialDefaults`, `MaterialUniforms`, `GPUMaterial`, `MaterialBindingsWGSL`, `MaterialWGSL`, `NewMaterialPipeline`, and CPU reference `EvaluateMaterial`) with base color, metallic-roughness (G=roughness, B=metallic), tangent-space normal, occlusion, and emissive maps, shared 1×1 fallback textures under a single `MaterialGroup` (group 1) bind group layout, zero-allocation uniform encoding, dynamic `Update`, `Retained` device-loss recovery, and golden reference renders (#113). diff --git a/changelog.d/render3d-pbr-lightmaps-752.md b/changelog.d/render3d-pbr-lightmaps-752.md deleted file mode 100644 index ff6bd9ff0..000000000 --- a/changelog.d/render3d-pbr-lightmaps-752.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: feed baked lightmaps (`LightmapVertexLayout`, `LightmapEncoding`, atlas `UVTransform`, `MOZ_lightmap` / `EXT_lightmap` / `extras.lightmap`) into the lit metallic-roughness PBR material path via `PBRLightmapWGSL`, `NewPBRLightmapPipeline`, `GPUPBRLightmap`, `EvaluatePBRLightmap`, `LightmapMeshFromGLTF`, and `UploadGLTFPBRLightmaps` (#752). diff --git a/changelog.d/render3d-pbr-vertex-colors-751.md b/changelog.d/render3d-pbr-vertex-colors-751.md deleted file mode 100644 index 9c6f868f3..000000000 --- a/changelog.d/render3d-pbr-vertex-colors-751.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: draw glTF `COLOR_0` linear RGBA vertex colors in the metallic-roughness and lit PBR pipelines via `MaterialPipelineOptions.VertexColors` (`MaterialColoredWGSL`) and `LitPBRPipelineOptions.VertexColors` (`LitPBRColoredWGSL` and its fog, IBL, shadow, and CSM variants), with matching CPU reference support in `EvaluateMaterial` (`MaterialEvalInput.VertexColor` / `HasVertexColor`) and `PBRMaterial.WithVertexColor` (#751). diff --git a/changelog.d/render3d-post-processing-282.md b/changelog.d/render3d-post-processing-282.md deleted file mode 100644 index 2c7b7a167..000000000 --- a/changelog.d/render3d-post-processing-282.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: composable 3D post-processing via offscreen `gpu.RenderTarget` passes (`PostStack3D`, `BloomPass`, `SSAOPass`, `DepthOfFieldPass`) supporting HDR bright-extract + separable Gaussian Bloom, depth-reconstructed SSAO with bilateral blur, and depth-aware disc bokeh Depth of Field across full and compute-free (`WebGL 2` / `GLES 3.0`) NSGo GPU profiles (#282). diff --git a/changelog.d/render3d-reflection-light-probes-384.md b/changelog.d/render3d-reflection-light-probes-384.md deleted file mode 100644 index f944082ce..000000000 --- a/changelog.d/render3d-reflection-light-probes-384.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: local reflection probes (`ReflectionProbe`, `ReflectionProbeSet`, `ProbeBlendResult`, `BoxProjectDirection`, `BakeReflectionProbe`, async `BakeReflectionProbeGPU`) backed by `Cubemap`/`GPUCubemap` and `PrefilterEnvironment`, plus light probes (`LightProbe`, `LightProbeGrid`, `LightProbeVolume`, `ComputeIrradianceSHFromFunc`) backed by `IrradianceSH`, wired into `LitPBRWGSL` at `IBLGroup` via `ProbeIBLUniform`, `GPUProbeIBLBuffer`, `ProbeIBLWGSL`, `LitPBRProbeIBLWGSL`, `NewLitPBRProbeIBLPipeline`, and CPU reference `EvaluateProbeIBL` (#384). diff --git a/changelog.d/render3d-rtt-and-multi-viewports.md b/changelog.d/render3d-rtt-and-multi-viewports.md deleted file mode 100644 index 089f0ef19..000000000 --- a/changelog.d/render3d-rtt-and-multi-viewports.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: offscreen render-to-texture targets (`RenderTexture`, `NewRenderTexture`, `RenderTexture.GPUTexture`, `Resize`, `Retained` device-loss support, optional depth and 4x MSAA resolve), per-camera layer mask filtering (`LayeredDrawItem`, `LayerMatches`, `FilterLayeredItems`, `FilterNodesByLayer`), normalized split-screen viewports (`ViewportRect`, `PixelViewport`, `SplitScreenHorizontal`, `SplitScreenVertical`, `SplitScreenQuad`), and multi-camera `ViewportRenderer` orchestration (#381). diff --git a/changelog.d/render3d-scene3d-world3d-physics-546.md b/changelog.d/render3d-scene3d-world3d-physics-546.md deleted file mode 100644 index 76fb4e0ff..000000000 --- a/changelog.d/render3d-scene3d-world3d-physics-546.md +++ /dev/null @@ -1,20 +0,0 @@ -### Changed - -- `game/anim3d`: blend-space samples now loop only when their `Clip.Loop` is true; a sample whose clip leaves `Loop` false, the zero value, plays once and holds its last frame, so set `Loop: true` on locomotion clips that used to cycle (#546). -- `game/assets`: a `DLCManager` without a `PublicKey` refuses packs with `ErrInvalidSignature` unless `DLCOptions.AllowUnsigned` is set, and `LoadingView` documents that it notifies once per mount (#546). -- `game/modding`: `Reload` validates the updated manifest before unloading, so a broken `mod.yaml` leaves the loaded version running, and mods on the web fail with `ErrWebUnisolated` unless `ManagerOptions.WebUnisolated` opts in to running them with the page's authority (#546). - -### Fixed - -- `game/anim3d`: a root-motion step that crosses a loop boundary composes its rotations in playback order, so pitch-and-yaw clips no longer turn the wrong way at the wrap (#546). -- `game/anim3d`: layers that play a clip leave joints the clip has no track for untouched (override layers no longer reset them, additive layers no longer apply the negated reference), blend spaces honour `Clip.Loop` and share weight between samples at the same parameter, the step that completes a crossfade fires the outgoing state's events, `Update(0)` no longer starts transitions, a blend space shared by both crossfade states advances once per step, negative speeds fire events in reverse order, and two-bone IK aims a chain with one zero-length bone (#546). -- `game/physics3d`: rotated boxes collide, raycast and draw as oriented boxes instead of their AABB, contact impulses apply torque (spheres roll, boxes tip), sleeping bodies wake for kinematic, jointed and lost-support motion, fast bodies are swept against static geometry without being held back by contacts they already have, such as the floor they slide along, deep box-capsule contacts separate the whole capsule, coincident capsule contacts get perpendicular normals, deep triangle-mesh BVHs no longer drop triangles, non-finite body inputs fall back to defaults, massless kinematic bodies stay kinematic, duplicate mesh/heightfield IDs are reassigned and removed bodies drop their warm-start cache (#546). -- `game/scene3d`/`game/world3d`: `MeshCollider` caches its bounds, query visibility filtering is memoized so deep hierarchies no longer cost O(hits x depth), `Heightmap.Raycast` no longer scans the whole grid per ray, `FoliageLayer.BoundingRadius` keeps large instances visible while any part is in range, a zero `ChunkStreamer` no longer panics, `MeshLibrary.Add` returns 0 instead of looping when IDs run out, exhausted BVH leaf slots are retired instead of wrapping their generation, and the floating-origin, GridMap raycast and BVH sync docs match the code (#546). -- `game/math3d`: spline `DistanceToT` keeps float64 arc lengths and an interval-relative Newton tolerance so long curves stay precise, `ToEuler`/`ToEulerXYZ` keep roll near the gimbal pole, and ray-plane and ray-triangle tests use relative parallel thresholds (#546). -- `game/gltf`: loading refuses indices past the vertex count, attribute and morph-target count mismatches, mesh weights that do not match the targets, non-finite vertex data, `JOINTS_0` values past the skin, unordered sparse indices, a second GLB JSON chunk or misplaced BIN chunk, and an unsupported `asset.minVersion`; a sheared node matrix sets `Node.MatrixNotTRS` and keeps its translation (#546). -- `game/entities`: `entities.Set` with a `Transform2D` marks the hierarchy subtree dirty like `SetLocal`, `Each*` document when component pointers stop being valid, and the 2D hierarchy (transforms, visibility, keep-world reparenting, remove policies, snapshots) is documented (#546). -- `game/save`: `Delete` removes the backup before the primary so an interrupted delete cannot resurrect the slot, `Load` rewrites a missing or unparseable primary from the recovered backup but never one that only failed to read or that a newer build may have written, envelopes with unknown or duplicate fields are corrupt unless their version is newer (then `ErrFutureVersion`), directory-sync failures are returned except where the file system cannot sync a directory, stale `.save-*.tmp` files are swept, and migration idempotency is documented (#546). -- `game/assets`: a DLC pack is verified on the same reader it is mounted from and `DirPackCache` serves a mounted pack through one open file, so replacing the cache file cannot inject unverified bytes; pack entry and size caps are configurable through `DLCOptions.Limits` (#546). -- `game/render3d`: `ProjectSegmentNO`, `DebugDraw.DepthNO` and `Gizmo.DepthNO` clip debug lines and gizmos at the near plane of an OpenGL-style `[-1, 1]` projection, which the `[0, 1]` default hid the near half of, `Gizmo.AppendSegments` reuses a slice and `DrawGizmo` no longer allocates, planar translate handles are drawn as the squares picking tests, draws whose sort keys tie keep submission order, and occlusion culling is documented (#546). -- `game/physics3d`: `HingeJoint.Angle` is tracked across steps so hinges turn past ±π and limits can span more than a turn, box inertia uses the analytic (2/9)·m·Σe² mean and offset shapes add the parallel-axis term, rays that start inside a sphere or capsule report a normal facing the ray like boxes do, `CharacterController.PushForce` lets the character push dynamic bodies, and the docs describe slack `DistanceJoint` ranges and how to make dynamic bodies collide with the character (#546). -- `game/math3d`: frustum tests allow rounding slack relative to each plane so points on a distant far plane are not culled, `NewHermiteSpline3D` fills missing tangents with Catmull-Rom tangents instead of zero, uniform Catmull-Rom splines keep evenly spaced knots at coincident points, and curves are documented (#546). diff --git a/changelog.d/render3d-skybox-ibl-253.md b/changelog.d/render3d-skybox-ibl-253.md deleted file mode 100644 index c09323915..000000000 --- a/changelog.d/render3d-skybox-ibl-253.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: cubemap skybox (`Cubemap`, `CubemapFromImages`, `CubemapFromEquirectangular`, `GradientSkyCubemap`, `GPUCubemap`, `UploadCubemap`, `SkyboxPipeline`, `SkyboxWGSL`) and low dynamic range image-based lighting (`IrradianceSH`, `ComputeIrradianceSH`, `PrefilterEnvironment`, `GenerateBRDFLUT`, `EnvBRDFApprox`, `EvaluateIBL`, `GPUIBLBuffer`, `IBLWGSL`, `LitPBRIBLWGSL`, `NewLitPBRIBLPipeline`) with retained device-loss recovery and CPU/GPU reference tests (#253). diff --git a/changelog.d/render3d-spot-lights-252.md b/changelog.d/render3d-spot-lights-252.md deleted file mode 100644 index 184c9b44e..000000000 --- a/changelog.d/render3d-spot-lights-252.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/render3d`: spot lights with inner and outer cones in `LightRig` (`SpotLight`, `MaxSpotLights`), shaded by `shade_pbr` / `ShadePoint` together with the directional and point lights in the same pass and following glTF `KHR_lights_punctual` cone and range falloff (`SpotConeAttenuation`, `SpotLight.ConeScaleOffset`, `SpotLight.Attenuation`) (#252). - -### Changed - -- `game/render3d`: `LightUniformSize` grows from 672 to 1056 bytes to hold the spot lights, `LightUniforms` gains `SpotCount` and `Spot`, and the light block's `counts.z` now carries the spot light count (#252). diff --git a/changelog.d/render3d-textures-samplers-114.md b/changelog.d/render3d-textures-samplers-114.md deleted file mode 100644 index 6d1e13459..000000000 --- a/changelog.d/render3d-textures-samplers-114.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: `GPUTexture`, `PixelBuffer`, `UploadTexture`, `UploadTexturePixels`, `GPUSampler`, `SamplerOptions` presets, `TextureBindingLayout`, and `BindTexture` for uploading images and raw pixel buffers (RGBA8 linear/sRGB, RG8, R8) with CPU linear-light mipmap generation, filtering, wrapping, dynamic updates, and device-loss retention (#114). diff --git a/changelog.d/render3d-toon-shading-262.md b/changelog.d/render3d-toon-shading-262.md deleted file mode 100644 index 429356937..000000000 --- a/changelog.d/render3d-toon-shading-262.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: add cel/toon shading (`ToonMaterial`, `GPUToonMaterial`, `ToonLight`, `ToonWGSL`, `ToonOutlineWGSL`, `NewToonPipeline`, `NewToonOutlinePipeline`, `ToonRenderer`, `SmoothOutlineNormals`, `EvaluateToon`) with discrete diffuse bands or 1D cel-ramp textures, stepped specular and Fresnel rim highlights, and `CullFront` inverted-hull outlines, lit by a `DirectionalLight` key light and `AmbientLight` fill (`ToonLightFromRig`) and sharing `MaterialDefaults` fallbacks (#262). diff --git a/changelog.d/render3d-unlit-vertex-colors.md b/changelog.d/render3d-unlit-vertex-colors.md deleted file mode 100644 index 9a1517b37..000000000 --- a/changelog.d/render3d-unlit-vertex-colors.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/render3d`: add `KHR_materials_unlit` unlit materials (`UnlitMaterial`, `GPUUnlitMaterial`, `UnlitWGSL`, `NewUnlitPipeline`, `EvaluateUnlit`, `UnlitMaterialFromGLTF`, `UploadGLTFUnlitMaterial`) and `COLOR_0` linear RGBA vertex-color meshes (`ColoredMesh`, `GPUColoredMesh`, `ColoredVertexLayout`, `ColoredMeshFromGLTF`) sharing `AlphaMode`, `MaterialGroup`, `MaterialUpload`, `GLTFMaterialUpload` and the per-device `MaterialDefaults` (new `MaterialDefaults.UnlitLayout`) with the metallic-roughness materials, with alpha mask/blend modes, double-sided culling, `LinearOutput` for HDR targets, and `Retained` device-loss recovery, checked against the Khronos `UnlitTest` sample (#260). diff --git a/changelog.d/require-nsgo-v0-3-4-1126.md b/changelog.d/require-nsgo-v0-3-4-1126.md deleted file mode 100644 index 7c80c2bcd..000000000 --- a/changelog.d/require-nsgo-v0-3-4-1126.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- The game layer, every project template and the sample games require NSGo v0.3.4, whose `nsgo` runs `nsgo game` (added in v0.3.3) and whose GPU draws depth-tested 3D into a window's own depth buffer again (nsgo-dev/nsgo#2395), so `nsgo game new` then `nsgo game dev` work in a new project with no extra step; the docs no longer ask for an `nsgo` from main and show how to install `nsgo` with Homebrew, the install script or `go install` (#1126). diff --git a/changelog.d/resolve-cloud-save-conflicts-539.md b/changelog.d/resolve-cloud-save-conflicts-539.md deleted file mode 100644 index 0ed2bba3c..000000000 --- a/changelog.d/resolve-cloud-save-conflicts-539.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `game/liveops`: `CloudSyncer` detects save slots changed both locally and in the cloud since the last sync and resolves them by policy (newest, keep both as a fork slot, or ask the player with a summary of each and apply the answer later with `Resolve`), with revisioned JSON cloud payloads, `save.ValidateSlot` for names from outside the game, and an `Unwrap` method that settings stores see through (#539). - -### Fixed - -- `game/save`: `StorageBackend.Slots` returns slot names that contain `.` or `%` as written, not as their escaped storage keys (#539). diff --git a/changelog.d/rich-presence-steam-discord-538.md b/changelog.d/rich-presence-steam-discord-538.md deleted file mode 100644 index eb0c491f7..000000000 --- a/changelog.d/rich-presence-steam-discord-538.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/presence`: rich presence on Steam (Steamworks `ISteamFriends` via purego) and Discord (pure Go local IPC v1 over Unix domain sockets and Windows named pipes) behind a provider-neutral `Activity` and `Manager` with level updates, deduplication, rate limiting and graceful degradation (#538). diff --git a/changelog.d/rigid-kinematic-tiles-queries-contact-events.md b/changelog.d/rigid-kinematic-tiles-queries-contact-events.md deleted file mode 100644 index a7523720b..000000000 --- a/changelog.d/rigid-kinematic-tiles-queries-contact-events.md +++ /dev/null @@ -1,12 +0,0 @@ -### Added - -- `game/physics`: kinematic rigid bodies (`RigidBody.Kinematic`, `SetTargetPose`) that push and carry dynamic bodies, sensor rigid bodies (`RigidBody.Sensor`, `RigidWorld.SensorEvents`, `OnSensor`), solid and one-way tile collision for rigid bodies without seam snags (`RigidWorld.Tiles`, `TileLayer`, `TileMask`, `TileFriction`, `TileRestitution`), raycast, point, overlap and tile-aware shape-cast queries on `RigidWorld` with `QueryMask`/`LayerMask` filtering (`Raycast`, `RaycastFirst`, `QueryPoint`, `QueryOverlap`, `QuerySensors`, `RigidBody.WorldShape`, `RigidBody` on `RaycastHit` and `OverlapHit`), and deterministic begin/end contact events with point, normal and approach speed (`RigidWorld.ContactEvents`, `OnContact`), all saved in `RigidWorldSnapshot`, which marks tiles it cannot save with `CustomTiles` (#805). - -### Changed - -- `game/physics`: `SnapshotVersion` is 2; `World.Restore` and `RigidWorld.Restore` still read version 1 snapshots, and builds that only know version 1 refuse the new ones. `RigidWorld.Checksum` gives a different digest than earlier releases for any world whose bodies touch, because it now hashes the contact state, so lockstep peers and replays must run the same release (#805). - -### Fixed - -- `game/physics`: a fast `RigidBody` stopped by continuous collision loses its velocity into the surface at every point of the face it lands on, so a box dropped from high enough to be swept onto a static floor or tiles comes to rest level and sleeps instead of hovering 0.1 px above it, gaining speed, and a box landing across a tile seam no longer tumbles (#805). -- `game/physics`: `GridSnapshot` keeps a `Grid`'s origin, so `World.Restore` no longer moves a grid with a non-zero `OriginX` or `OriginY` back to (0, 0) (#805). diff --git a/changelog.d/rigid-sleep-broadphase-warm-start-ccd-804.md b/changelog.d/rigid-sleep-broadphase-warm-start-ccd-804.md deleted file mode 100644 index 72d249ea0..000000000 --- a/changelog.d/rigid-sleep-broadphase-warm-start-ccd-804.md +++ /dev/null @@ -1,11 +0,0 @@ -### Added - -- `game/physics`: `RigidWorld` finds contact pairs with a deterministic sort-and-sweep broadphase that reports the same contacts, in the same order, as the old pass over every pair (#804). -- `game/physics`: contact impulses are cached per pair and feature across steps and warm-start the solver, and manifolds keep points of an overlapping pair up to 1 px apart, so stacks stand and settle with the default iterations (#804). -- `game/physics`: islands of rigid bodies connected by contacts and joints sleep after resting for `RigidWorld.TimeToSleep` below `SleepLinearThreshold` and `SleepAngularThreshold`, and wake on `RigidBody.Wake`, forces, impulses, edits to their pose or velocity, contact or a joint with an awake body, removal or movement of a static body they rest on, and changes to their area's gravity, damping or fluid, and bodies a `MouseJoint` holds or a joint motor drives stay awake; `RigidBody.Sleeping` reports the state and `RigidWorld.DisableSleep` turns it off (#804). -- `game/physics`: fast rigid bodies, and every body with `RigidBody.Bullet` set, are swept against static bodies by time of impact and stop at the first surface instead of passing through thin walls (#804). -- `game/physics`: `RigidWorldSnapshot` saves sleep state, sleep settings and the warm-start contact cache (#804). - -### Changed - -- `game/physics`: `RigidWorld` trajectories, and so `RigidWorld.Checksum` values and recorded replays, differ from earlier versions (#804). diff --git a/changelog.d/rooms-and-camera-zones-523.md b/changelog.d/rooms-and-camera-zones-523.md deleted file mode 100644 index 17c4eb303..000000000 --- a/changelog.d/rooms-and-camera-zones-523.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/rooms`: versioned YAML room maps (also built from LDtk levels or Tiled rectangles) and a `Director` that clamps the camera to the room the player enters and plays its cut, slide or fade transition (#523). diff --git a/changelog.d/runnable-examples-in-every-package-502.md b/changelog.d/runnable-examples-in-every-package-502.md deleted file mode 100644 index bcfcb9468..000000000 --- a/changelog.d/runnable-examples-in-every-package-502.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game` and every library package under it: runnable `Example` functions in `example_test.go`, shown with each package's Go doc and checked against their `// Output:` by `go tool nsgo test`, except examples that need an outside service or a running test, which are only compiled; commands (`package main`, such as `cmd/*` and `server/cmd/dedicatedserver`) and internal packages have none (#502). diff --git a/changelog.d/scene-2d-layers-over-3d.md b/changelog.d/scene-2d-layers-over-3d.md deleted file mode 100644 index 5901bfa3e..000000000 --- a/changelog.d/scene-2d-layers-over-3d.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/scene`: add `Overlay3D`, `Scene.DrawScreenLayers`, and `ProjectToOverlay` to draw 2D sprite batches and screen-space layers in a transparent `core.Canvas` stacked over a 3D `gpu.View` (#124). diff --git a/changelog.d/scene-files-in-the-editor-866.md b/changelog.d/scene-files-in-the-editor-866.md deleted file mode 100644 index 137e7bf8c..000000000 --- a/changelog.d/scene-files-in-the-editor-866.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/editor`: the editor switches between a project's scenes without a restart: the file browser opens a scene (`OpenScene`, its Open button or a double press), and the toolbar's File menu makes a new minimal scene under the project (`NewScene`), saves the scene under another path (`SaveSceneAs`) and reverts it to its file as an undoable step (`RevertScene`). `SceneDirty` and `HasUnsavedChanges` report unsaved edits by comparing encodings, so undoing back to the saved state clears them; the toolbar shows the scene's path with a marker while edits are unsaved and the window title follows (`SceneLabel`, `WindowTitle`); Mod+S saves (`Save`); and opening another scene (from the file browser, the Problems panel or a search or reference result), New Scene, quitting and closing the window ask to save, discard or cancel first. New errors: `ErrNoSceneFile` (Save or Revert without a file to write to or read) and `ErrFileExists` (NewScene or SaveSceneAs over an existing file) (#866). - -### Changed - -- `game/editor`: `EditorView` now sets the window title, to the open scene's path, a `*` while edits are unsaved and the editor's name, so a title an app set before calling it is replaced; an editor built on the package names itself with the new `Editor.AppName` field (default "NSGo Scene Editor"), as Field Medic's editor now does (#866). -- `game/editor`: `OpenFile`, `SaveFile` and `OpenProject` now set `Editor.ScenePath` when the scene's file lies in the open project and clear it otherwise, where before an app set it after `OpenFile`; `OpenScene`, `SaveSceneAs`, `OpenProblem`, `OpenSearchResult` and `OpenReference` clear `OnSave`, which persisted the scene open before; and the toolbar's Save leaves an unedited scene file as written instead of rewriting it (#866). diff --git a/changelog.d/scene-git-merge-driver-1058.md b/changelog.d/scene-git-merge-driver-1058.md deleted file mode 100644 index 65c2f957b..000000000 --- a/changelog.d/scene-git-merge-driver-1058.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/sceneformat`: identity-based three-way scene merge (`Merge`, `MergeResult`) matching layers by `name`, objects by `id` anywhere in the tree (including across reparenting and layer moves), tilemaps and overrides by key, and connections by `(from, event, to, handler)`, with field-by-field merging, `Validate` enforcement on the merged result, and a versioned, deterministic YAML conflict report format (`ConflictVersion`, `ConflictDoc`, `ParseConflict`, `EncodeConflict`) (#1058). -- `game/cmd/game`: `go tool game merge` Git merge driver (`%O %A %B %P`, with `-out`, `-conflict-out`, and `-setup`), plus `.gitattributes` registration for `*.scene.yaml` and `*.scene.yml` in every project template and automatic local Git config setup in `game new` (#1058). diff --git a/changelog.d/scene-instancing-and-inheritance-483.md b/changelog.d/scene-instancing-and-inheritance-483.md deleted file mode 100644 index d66b42c05..000000000 --- a/changelog.d/scene-instancing-and-inheritance-483.md +++ /dev/null @@ -1,9 +0,0 @@ -### Added - -- `game/sceneformat`: scene format version 2 lets an object instance another scene file (`scene`, with per-object `overrides`) and a scene inherit a base scene (`inherits`, `overrides`, `layerOverrides`); `Resolve` loads them through a `SceneResolver` such as `FSScenes`, refuses cycles and returns a self-contained copy, `Build` resolves scenes itself, and `SceneDoc.Clone` and `ObjectDoc.Clone` deep copy documents (#483). -- `game/sceneformat`: the JSON Schema of version 2 scenes is published at `https://game.nsgo.dev/schemas/scene.v2.json` (`SchemaURLV2`), and `Encode` starts each file with the schema comment of its own version (`SchemaCommentFor`); `scene.v1.json` keeps refusing the keys version 2 added (#483). -- `game/editor`: `PlaceScene` places an instance of a scene file as an undoable command, and `PlaceObject` refuses an instance that does not resolve or, with the new `Editor.ScenePath` set, leads back to the open scene (#483). - -### Changed - -- `game/sceneformat`: `CurrentVersion` is 2; version 1 scenes still load and save unchanged, and `SpawnEntities` and `BuildNodes3D` refuse a scene that still instances or inherits others until it is resolved (#483). diff --git a/changelog.d/scene-native-hud-over-3d-125.md b/changelog.d/scene-native-hud-over-3d-125.md deleted file mode 100644 index be877d208..000000000 --- a/changelog.d/scene-native-hud-over-3d-125.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/scene`: `HUD3D`, `HUDSlot`, and `HUDAnchor` compose native NSGo `ui` views over a 3D `gpu.View` with automatic safe-area insets, reactive visibility toggling, and mouse/touch pass-through (#125). diff --git a/changelog.d/scene-physics-components-817.md b/changelog.d/scene-physics-components-817.md deleted file mode 100644 index bc3f90ae0..000000000 --- a/changelog.d/scene-physics-components-817.md +++ /dev/null @@ -1,6 +0,0 @@ -### Added - -- `game/physics3d`, `game/resource`: add `physics3d.PhysicsMaterial` (`Friction`, `Restitution`, `LinearDamping`, `AngularDamping`) on `physics3d.Body` (`Body.Material`, `Body.ApplyMaterial`), honored in contact impulse solving and damping, plus `resource.PhysicsMaterial.ApplyTo3D` and `resource.Library.PhysicsMaterial` (#817). -- `game/project`: add the optional `physics` section to `game.yaml` (`gravity2D`, `gravity3D`, `solverIterations2D`, `solverIterations3D`, and named collision `layers` mapped to bits `0..31`) with validation, `game.v1.json` schema updates, and runtime helpers `PhysicsLayerTable`, `PhysicsSettings`, `ConfigurePhysicsWorld`, `ConfigureRigidWorld`, and `ConfigurePhysics3DWorld` (#817). -- `game/sceneformat`: add versioned built-in 2D and 3D physics components (`body2d`, `collider2d`, `trigger2d`, `body3d`, `collider3d`, `trigger3d`), `FieldStringList` and `Field.Enum`, named collision layer validation with exact file/line `*loaderr.Error` reporting via `ParseOptions.PhysicsLayers`, and `BuildPhysics` / `PhysicsScene` to instantiate and step `physics.World`, `physics.RigidWorld`, and `physics3d.World` directly from scene files (#817). -- `game/editor`: add automatic Play-mode physics simulation (`PlayPhysics`, `PlayTriggerEvents`, `OnPlayTrigger`), 2D and 3D viewport collider/trigger debug outlines (`ShowPhysicsDebug`), built-in physics component inspector editing (enum selectors and string lists), named layer validation on project/scene open, and the Project Settings Physics tab (#817). diff --git a/changelog.d/scene-switching-2d-and-3d.md b/changelog.d/scene-switching-2d-and-3d.md deleted file mode 100644 index 181f36ce0..000000000 --- a/changelog.d/scene-switching-2d-and-3d.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/scene`: add `Controller.View`, `Manager.View` (`HostOptions`), `Manager.Invalidate`, and the shared `Manager.Actions` and `Manager.KeepInputOnSwitch` fields to switch and stack 2D canvas scenes and 3D `gpu.View` scenes with fade, crossfade, wipe, and custom transitions, keeping mounted 3D views alive under pushed 2D overlays and input wired across switches; a `sound.Mixer` on the Manager's scope keeps music playing through every switch (#126). diff --git a/changelog.d/scene3d-decals-385.md b/changelog.d/scene3d-decals-385.md deleted file mode 100644 index aea37e482..000000000 --- a/changelog.d/scene3d-decals-385.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/scene3d`: box-projected 3D decals (`Decal`, `NewDecal`, `NewDecalOnSurface`, `DecalReceiver`, `DecalReceiverMesh`, `ProjectDecal`, `ProjectDecalOntoReceiver`), a fixed-capacity zero-allocation `DecalPool` with deterministic priority/FIFO eviction and `FadeIn`/`FadeOut` lifetime aging, and a mobile forward-path `GPUDecalRenderer` (`DecalWGSL`, `DecalVertexLayout`) supporting normal-angle fade, depth fade, layer masks, and alpha-blended albedo textures across WebGPU, Metal, Vulkan, OpenGL ES 3.0, and WebGL 2 (#385). diff --git a/changelog.d/scene3d-lights-env-camera-895.md b/changelog.d/scene3d-lights-env-camera-895.md deleted file mode 100644 index 8262a6454..000000000 --- a/changelog.d/scene3d-lights-env-camera-895.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/sceneformat`: added scene version 4 (`scene.v4.json`) with 3D light objects (`light`: directional, point, and spot with color, intensity, range, cone angles, and shadows), scene `environment` (`sky` color/gradient/HDR, ambient and IBL intensity, distance and height `fog`, `tonemapping`, and `exposure`), and 3D camera objects (`camera`: perspective or orthographic, FOV/orthoHeight, near, far, and `current`), with `refs` HDR path scanning/rewriting and `game check` validation (#895). -- `game/scenemodel`: wired scene lights, directional/spot/point shadows, sky cubemaps, IBL, fog, tonemapping, exposure, and active 3D cameras into `Build` and `Renderer` (`PrepareScene`, `RecordShadows`, `DrawSky`, `ClearColor`, `ActiveCamera`) (#895). -- `game/editor`: rendered scene lights, shadows, sky, fog, tonemapping, and exposure in the 3D GPU viewport with parity against `scenemodel`/`render3d`, and added light/camera icons, undoable interactive handles (light direction, range sphere, spot inner/outer cone, camera frustum FOV/far), the Scene Environment settings panel, Light/Camera 3D inspector sections, and the Look Through Scene Camera toggle (`0`) (#895). diff --git a/changelog.d/scene3d-lod-occluders-904.md b/changelog.d/scene3d-lod-occluders-904.md deleted file mode 100644 index 5a7ddbbdf..000000000 --- a/changelog.d/scene3d-lod-occluders-904.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/gltf`, `game/tooling/importsettings`, `game/sceneformat`, `game/scenemodel`, `game/editor`: add 3D model LOD levels (declared in `*.import.yaml` or via `_LODn` node/mesh names), scene object occluders (`mode: model` and `mode: box`), automatic `DrawItem.LODs` and `OcclusionBuffer` wiring in `scenemodel`, and 3D viewport LOD/occluder visualization with `RenderStats` overlay in the editor (#904). diff --git a/changelog.d/sceneformat-parallax-layers-885.md b/changelog.d/sceneformat-parallax-layers-885.md deleted file mode 100644 index 283338004..000000000 --- a/changelog.d/sceneformat-parallax-layers-885.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sceneformat`, `game/editor`: add scene format version 3 (`scene.v3.json`) with per-layer parallax scroll factors (`parallaxX`, `parallaxY`) and repeat tiling (`repeatX`, `repeatY`, `repeatWidth`, `repeatHeight`), `layerOverrides` support, matching camera transforms in `BuiltScene.Draw`, live parallax/repeat preview in the editor 2D viewport, and undoable layer inspector controls (#885). diff --git a/changelog.d/sdf-fonts-and-text-in-3d-world-s-348.md b/changelog.d/sdf-fonts-and-text-in-3d-world-s-348.md deleted file mode 100644 index 062e96a15..000000000 --- a/changelog.d/sdf-fonts-and-text-in-3d-world-s-348.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/text`: signed-distance-field fonts (`SDFFont`) loaded from msdf-atlas-gen JSON or BMFont with a `distanceField` record, resolved at the drawn size so their edges stay sharp at any scale, with outlines, and drawn in 3D world space as camera-facing billboards or fixed-orientation text (`DrawWorld`, `LayoutWorld`) (#348). diff --git a/changelog.d/selection-formations-and-flow-fi-530.md b/changelog.d/selection-formations-and-flow-fi-530.md deleted file mode 100644 index ef3ec9628..000000000 --- a/changelog.d/selection-formations-and-flow-fi-530.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/rts`: flow fields over `ai.Grid` with a shared `FieldCache`, a `Crowd` that moves 1000 units to a target within a 60 fps frame budget, line/column/box/wedge formations in versioned YAML, box/click/double-click selection and digit-key control groups (#530). diff --git a/changelog.d/self-hosted-cloud-saves-557.md b/changelog.d/self-hosted-cloud-saves-557.md deleted file mode 100644 index e348a36d1..000000000 --- a/changelog.d/self-hosted-cloud-saves-557.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/cloudsave`: a self-hosted cloud save service for the players of the account service, with per-account slots over HTTP, conditional writes (`If-Match`, `If-None-Match`) that refuse a write racing another device, a slot size limit (`413 slot_too_large` with the limit), a slot count limit, the last few versions of each slot kept for listing and restore, SQLite and Postgres stores in `cloudsave/sqlstore`, contract tests in `cloudsave/storetest` and the standalone server `cloudsaved` (#557). -- `game/liveops`: `CloudClient`, the HTTPS `CloudSync` for `cloudsave`, with `Versions`, `LoadVersion`, `Restore` and `Purge`; `ConditionalCloudSync` with `SaveIf`, `DeleteIf` and `PayloadHash`; and `ErrSlotTooLarge` and `ErrTooManySlots` (#557). - -### Changed - -- `game/liveops`: `CloudSyncer` makes every cloud write conditional when its `Cloud` implements `ConditionalCloudSync`, so an upload by another device is never overwritten: the losing write fails with `ErrCloudChanged` and the next sync resolves the conflict by policy (#557). diff --git a/changelog.d/self-hosted-leaderboards-558.md b/changelog.d/self-hosted-leaderboards-558.md deleted file mode 100644 index 88512961a..000000000 --- a/changelog.d/self-hosted-leaderboards-558.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/leaderboard/selfhost`: a self-hosted cross-platform leaderboard service with boards declared in versioned YAML (sort order, all-time, daily or weekly resets in UTC that keep earlier periods readable, score bounds), score submission authenticated by the account service's tokens, optional game-server-signed score proofs, top-N, around-me and friends queries over an in-memory order-statistic index (microseconds on a million entries), a JSON Lines file store, an HTTP handler and the `leaderboardd` command (#558). diff --git a/changelog.d/shared-resource-files-485.md b/changelog.d/shared-resource-files-485.md deleted file mode 100644 index 426655b69..000000000 --- a/changelog.d/shared-resource-files-485.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/resource`: shared resource files in YAML with a common `type`/`version` header (materials, curves, gradients, animation clips, UI themes, sound bus layouts and physics materials), a `Library` that gives every user of a path one value and reloads it in place, `material` references on `sceneformat` objects, and `hotreload.Watcher.WatchResources` (#485). diff --git a/changelog.d/sound-3d-positional-106.md b/changelog.d/sound-3d-positional-106.md deleted file mode 100644 index 5473a58be..000000000 --- a/changelog.d/sound-3d-positional-106.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sound`: 3D positional audio with `Vec3`, `Listener3D`, `Spatial3DOptions`, `Spatial3D`, `Spatialize3D`, `RolloffExponential`, `Effect.PlayAt3D`, `Cue.PlayAt3D`, `Mixer.SetListener3D`/`Listener3D`, and live `Playback3D` tracking (`Effect.Play3D`, `Cue.Play3D`) featuring distance rolloff, rear head-shadow attenuation, directional source cones, and full mixer volume/pause/suspend/background integration (#106). diff --git a/changelog.d/sound-pause-with-game-358.md b/changelog.d/sound-pause-with-game-358.md deleted file mode 100644 index 426aad560..000000000 --- a/changelog.d/sound-pause-with-game-358.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- `game/sound`: `Mixer.SetPaused`, `Mixer.Paused`, `Mixer.SetPauseExempt`, and `Mixer.PauseExempt` pause and resume gameplay effects and music while letting pause-exempt groups (such as `"ui"`) keep playing, while backgrounding continues to silence and resume all groups in sync with `game.Loop` (#358). -- `game`: `Loop.OnPause` notifies listeners whenever `Loop.Paused` changes so `sound.Mixer.SetPaused` and other subsystems stay in sync with game pause (#358). diff --git a/changelog.d/sprite-per-sprite-effects.md b/changelog.d/sprite-per-sprite-effects.md deleted file mode 100644 index 293f9c6a7..000000000 --- a/changelog.d/sprite-per-sprite-effects.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/sprite`: add per-sprite `Effect` (`Flash` and `Silhouette`, `Outline`, `Dissolve`, `PaletteSwap`, and `Custom` pixel hook) with zero-leak buffer reuse in `Batch.Draw`, URI-only fallback, and lazy GPU Kage shader helpers (`EffectProgram`, `Effect.Uniforms`, `EffectShader`) (#329). diff --git a/changelog.d/sprite-state-machine-yaml-1054.md b/changelog.d/sprite-state-machine-yaml-1054.md deleted file mode 100644 index ae452a4b7..000000000 --- a/changelog.d/sprite-state-machine-yaml-1054.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- Sprite state machines in plain-text `*.states.yaml` files (`animclip.StateMachine`, `animclip.ParseStateMachine`, `animclip.EncodeStateMachine`, `animclip.NewAnimator`, `animclip.InputDriver`, `animclip.SimulateStateMachine`) with published JSON Schema `states.v1.json`, built-in `animator` scene component (`sceneformat.AnimatorComponent`), `refs` path tracking, and `game check` validation with file and line diagnostics (#1054) -- Editor State Machine graph panel with state node cards, sprite thumbnails, directed transition arrows, `Any state` interrupts, live active-state highlighting, **Drive with keys** preview through project input actions, `LEAVING ` transition inspection, and editor MCP tools `states_write` and `states_test` (#1054) diff --git a/changelog.d/stability-table-rows.md b/changelog.d/stability-table-rows.md deleted file mode 100644 index f688b8b4c..000000000 --- a/changelog.d/stability-table-rows.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/loaderr` is stable, because the stable packages `game/flow`, `game/input`, `game/save`, `game/sprite` and `game/tilemap` return its errors; the API stability table now also lists `game/bullets`, `game/cards`, `game/cloudsave`, `game/fighting`, `game/framedata`, `game/procgen`, `game/rooms`, `game/vehicle`, `game/cmd/gameschema`, `game/tooling/assetcheck` and `game/tooling/jsonschema` as experimental (#512, #503). diff --git a/changelog.d/stable-references-between-files-486.md b/changelog.d/stable-references-between-files-486.md deleted file mode 100644 index 8109ca7be..000000000 --- a/changelog.d/stable-references-between-files-486.md +++ /dev/null @@ -1,10 +0,0 @@ -### Added - -- `game/refs`: references between a project's files that survive renames and moves. `Scan` finds every path `game.yaml` (its autoloads and `assets` section), scenes, resource files, Tiled and LDtk files and sprite atlases write to another file, with its file and line; the project index `game.index.yaml` records each scene and resource file's `uid` and each other referenced file's SHA-256, so `Project.Moved` finds a file moved without the tools; `PlanMove` and `PlanIndex` plan the in-place rewrites, keeping each file's comments and formatting, and `Plan.Apply` makes them (#486). -- `game/resource` and `game/sceneformat`: an optional `uid` field in the header of every resource file and scene, a stable ID a file keeps through renames and moves, made by `resource.NewUID` and checked by `resource.ValidUID`; `sceneformat.Resolve` keeps the scene's own uid (#486). -- `game mv` moves or renames a file or directory and rewrites every reference to it; `game index` gives scene and resource files a uid, points references at files moved without the tools and writes the project index; `editor.Editor.MoveFile` moves a file from the editor (#486). -- `game/project`: `PathRefs` lists every path `game.yaml` holds to a file or folder of the project with the YAML node that writes it, and `File.EachPath` visits them in a parsed file (#486). - -### Changed - -- `game check` (`tooling/assetcheck`) also fails on every reference `game/refs` finds to a file that is gone, among them a scene that a scene inherits or instances or that `game.yaml` autoloads, an autoloaded resource, an `assets` input, the materials and tilemap sources of overrides and of scenes not named `*.scene.yaml`, and the texture of a material no `*.scene.yaml` names; on a `game.yaml` that does not validate, on a project index that does not parse and on a uid two files of one project share, and a reference to a file that is gone says where the file went when the project index finds it. A directory holding `game.yaml` is now a project root too (#486). diff --git a/changelog.d/stable-references-rest-486.md b/changelog.d/stable-references-rest-486.md deleted file mode 100644 index 9acd2111a..000000000 --- a/changelog.d/stable-references-rest-486.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `game/editor`: a file browser below the asset browser (`FilesView`) lists the open project's files (`Editor.ProjectFiles`) and renames or moves the selected one with its Move button through `Editor.MoveFile`, so every reference to it follows (#486). -- Cave Run carries a project index (`game.index.yaml`), and a `game/refs` test fails when `game index` would change anything in the examples or the starter template (#486). - -### Changed - -- `game/editor`: `Editor.MoveFile` is now one undoable step instead of emptying the undo history: Undo moves the files back and puts each file the move rewrote back byte for byte (only its references when it changed since), removing an index and the directories the move created when they are left empty, and Redo moves them once more. A step that something on disk now blocks stays where it was, and the status bar says why (#486). diff --git a/changelog.d/starter-pin-current-main.md b/changelog.d/starter-pin-current-main.md deleted file mode 100644 index 0e49fb19f..000000000 --- a/changelog.d/starter-pin-current-main.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- The starter template's `go.mod` pins `packages/game` to `v0.0.0-20261125083919-59bc0354e207`, a newer commit on `main`, so a game made with `nsgo init -template` or `game new` builds against the game layer's current packages instead of the 2026-11-24 commit it pinned before. diff --git a/changelog.d/starter-pin.md b/changelog.d/starter-pin.md deleted file mode 100644 index 63b1fef4f..000000000 --- a/changelog.d/starter-pin.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- The starter template's `go.mod` pins `packages/game` to a commit on `main`; the commit it pinned before was dropped when its branch was rebase merged, so a game made with `nsgo init -template` could not download the game layer. diff --git a/changelog.d/stats-and-modifiers-516.md b/changelog.d/stats-and-modifiers-516.md deleted file mode 100644 index c09a3468e..000000000 --- a/changelog.d/stats-and-modifiers-516.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/stats`: base stats with additive, multiplicative and override modifiers tagged by source, recomputed on every change with change callbacks, timed modifiers that expire on the exact fixed step, `Refresh` to restart a buff in one change, and a versioned YAML file of stats and effects (#516). diff --git a/changelog.d/template-action3d-794.md b/changelog.d/template-action3d-794.md deleted file mode 100644 index e6708760f..000000000 --- a/changelog.d/template-action3d-794.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `template/action3d`: a third-person 3D action adventure template, `game new -template action3d`, with an orbit camera, run, jump and attack animations blended by an `anim3d` state machine, melee enemies, and a key that opens the gate to the goal, played with keyboard and mouse, game controllers and touch, and tested by headless playthroughs to a win and a loss (#794). diff --git a/changelog.d/template-cards2d-796.md b/changelog.d/template-cards2d-796.md deleted file mode 100644 index de958e0ae..000000000 --- a/changelog.d/template-cards2d-796.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template cards2d` and `nsgo init -template github.com/nsgo-dev/game/template/cards2d`: Suit Ladders, a single-player 2D card game template with drag and drop on `game/cards`, a draw pile, a hand and a discard pile, rules enforced in code, the deck and the table in YAML, numbered deals from `game/random`, saves with `game/save`, and nsgotest playthroughs to a win and a loss with the keyboard, a gamepad and touch (#796). diff --git a/changelog.d/template-fighting2d-791.md b/changelog.d/template-fighting2d-791.md deleted file mode 100644 index 76b876fe1..000000000 --- a/changelog.d/template-fighting2d-791.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `fighting2d` template: a one-on-one 2D fighting game with two original fighters, special moves from motion inputs and a charge, cancels and combos with damage scaling, guards high and low with chip damage, best-of-three rounds on a timer, a CPU opponent and local versus on one keyboard or two game controllers, played with the keyboard, game controllers or touch, its moves, frame data, rules and roster in YAML and nsgotest playthroughs that win and lose a match; `game new -template fighting2d` and `nsgo init -template github.com/nsgo-dev/game/template/fighting2d` create it ([The fighting game template](docs/en/template-fighting2d.md), #791). diff --git a/changelog.d/template-fps3d-793.md b/changelog.d/template-fps3d-793.md deleted file mode 100644 index a812ca0da..000000000 --- a/changelog.d/template-fps3d-793.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `template/fps3d`: a first-person shooter arena template, `game new -template fps3d`, with hitscan and projectile weapons, ammunition and reloads, enemies that patrol, hunt and shoot over `ai` navigation, health and ammo pickups and three waves to clear, on `physics3d` character controllers and `render3d`, played with the keyboard and mouse, a game controller or touch, and headless playthroughs that win and lose (#793). diff --git a/changelog.d/template-idle-800.md b/changelog.d/template-idle-800.md deleted file mode 100644 index 73d3af8aa..000000000 --- a/changelog.d/template-idle-800.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template idle` and `nsgo init -template github.com/nsgo-dev/game/template/idle` create Hearthkeeper, an idle game with generators, upgrades, large-number formatting, offline progress on return, prestige, a win and a loss, playable with keyboard, controller and touch (#800). diff --git a/changelog.d/template-platformer2d-788.md b/changelog.d/template-platformer2d-788.md deleted file mode 100644 index 7c334e898..000000000 --- a/changelog.d/template-platformer2d-788.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template platformer2d` and `nsgo init -template github.com/nsgo-dev/game/template/platformer2d`: a side-scrolling platformer template with a coyote-time and jump-buffered controller, three rooms with camera bounds, spikes, pits, sparks, a checkpoint and a goal, played with the keyboard, a controller or touch, and tests that play it to a win and a loss (#788). diff --git a/changelog.d/template-puzzle2d-795.md b/changelog.d/template-puzzle2d-795.md deleted file mode 100644 index 90a98ac89..000000000 --- a/changelog.d/template-puzzle2d-795.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- The `puzzle2d` template, Spark Slide: a 2D grid puzzle in which a spark slides until a wall stops it and lights every lamp it passes, with levels in a versioned YAML file, undo and redo through `undo.History`, a move limit, three stars per level, and a level select that unlocks each level after the one before and saves the stars with `save`; it plays with the keyboard, a game controller, touch and the mouse, and its tests play every level to a win and to a loss. `game new -template puzzle2d` or `nsgo init -template github.com/nsgo-dev/game/template/puzzle2d` creates it (#795). diff --git a/changelog.d/template-racing3d-792.md b/changelog.d/template-racing3d-792.md deleted file mode 100644 index 8f94d67e2..000000000 --- a/changelog.d/template-racing3d-792.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template racing3d` starts a 3D racing game: two laps of a closed circuit against racing-line rivals with `vehicle`'s raycast cars, checkpoints, a countdown, a best-lap ghost saved between launches and a results screen, drawn with `render3d` and played with keyboard, gamepad or touch, with tests that play races to a win and a loss; [Racing 3D template](docs/en/template-racing3d.md) describes it (#792). diff --git a/changelog.d/template-rhythm-802.md b/changelog.d/template-rhythm-802.md deleted file mode 100644 index c8eac7aac..000000000 --- a/changelog.d/template-rhythm-802.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template rhythm` and `nsgo init -template github.com/nsgo-dev/game/template/rhythm`: Pulse Lanes, a four-lane rhythm game with its songs and charts in a versioned YAML file over `rhythm` beat maps, a `rhythm.Clock` kept in step with looping music, hits judged by when the key or finger went down, Perfect, Great, Good and Miss judgements, combo, score, rank and an energy bar to clear or fail by, audio and video latency calibration kept per device, saved best clears, and `nsgotest` playthroughs with the keyboard, a game controller, touch and the mouse (#802). diff --git a/changelog.d/template-roguelike2d-798.md b/changelog.d/template-roguelike2d-798.md deleted file mode 100644 index af88830fe..000000000 --- a/changelog.d/template-roguelike2d-798.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template roguelike2d` and `nsgo init -template github.com/nsgo-dev/game/template/roguelike2d`: a turn-based roguelike template with five floors generated from the run's seed by `procgen`, bump-to-attack combat, weighted loot with pity from `loot`, stats with equipment and timed tonics from `stats`, a quaff and a cleave on turn cooldowns from `ability`, monsters and items as `entities` components played by scheduled systems, permadeath with a run saved every turn and a run summary with `save`, played with the keyboard, a controller or touch, and tests that play it to a win and a loss (#798). diff --git a/changelog.d/template-rpg2d-789.md b/changelog.d/template-rpg2d-789.md deleted file mode 100644 index 49c2e2447..000000000 --- a/changelog.d/template-rpg2d-789.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template rpg2d` and `nsgo init -template github.com/nsgo-dev/game/template/rpg2d`: a top-down RPG template with a town and a meadow, people with branching dialogue, an inventory with equipment, one quest, turn-based battles and three save slots, playable with the keyboard, a gamepad and touch (#789). diff --git a/changelog.d/template-rts2d-797.md b/changelog.d/template-rts2d-797.md deleted file mode 100644 index 41b6fbd79..000000000 --- a/changelog.d/template-rts2d-797.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template rts2d` and `nsgo init -template github.com/nsgo-dev/game/template/rts2d` create a 2D real-time strategy skirmish: crystals to gather, barracks to build on pads, workers, soldiers and rangers, fog of war, box selection and control groups on `game/rts`, and a computer opponent scored by `game/ai`'s utility reasoner, played with the keyboard and mouse, a gamepad or touch, with its rules, map, formation and opponent in YAML and headless tests that play it to a win and a loss (#797). diff --git a/changelog.d/template-shmup2d-790.md b/changelog.d/template-shmup2d-790.md deleted file mode 100644 index a1e724405..000000000 --- a/changelog.d/template-shmup2d-790.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template shmup2d` and `nsgo init -template github.com/nsgo-dev/game/template/shmup2d` create a vertical scrolling shooter: one stage of enemy waves on dive, weave, cross and hover paths, `bullets` patterns, power, bomb and life items dropped by whole waves, a boss with three phases, lives, bombs and a score, with the stage in a YAML format of its own, played with the keyboard, the mouse, a controller or touch, and `nsgotest` playthroughs that reach both the win and the loss (#790). diff --git a/changelog.d/template-towerdefense2d-799.md b/changelog.d/template-towerdefense2d-799.md deleted file mode 100644 index 96db80570..000000000 --- a/changelog.d/template-towerdefense2d-799.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template towerdefense2d` and `nsgo init -template github.com/nsgo-dev/game/template/towerdefense2d` create Bramble Gate, a 2D tower defense game to grow from: towers with upgrades on `stats` sheets beside a road found with `ai.AStar` on a `tilemap`, `bullets` projectiles that lead their target, splash and slow, waves, enemies, towers and projectiles in versioned YAML that `game.yaml` autoloads, money and lives, and keyboard, gamepad and touch controls from `game.yaml`'s input map, with `nsgotest` playthroughs that win and lose it with each; [Tower defense template](docs/en/template-towerdefense2d.md) describes it (#799). diff --git a/changelog.d/template-visualnovel-801.md b/changelog.d/template-visualnovel-801.md deleted file mode 100644 index 2d0a2d995..000000000 --- a/changelog.d/template-visualnovel-801.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game new -template visualnovel` starts a short branching visual novel, *Lantern Crossing*, built on `vn`, `flow`, `save` and `l10n`: two characters with expressions, drawn backgrounds, choices that change the ending, a backlog, auto and skip modes that skip only lines already read, three save slots, and English and Simplified Chinese, played with the keyboard, a controller or touch, with headless tests that reach both endings with each; `nsgo init -template github.com/nsgo-dev/game/template/visualnovel` writes the same project (#801). diff --git a/changelog.d/templates-showcase-and-macos-verify.md b/changelog.d/templates-showcase-and-macos-verify.md deleted file mode 100644 index 6ed05e6bf..000000000 --- a/changelog.d/templates-showcase-and-macos-verify.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- `website`: list every project template (`action3d`, `fighting2d`, `fps3d`, `idle`, `platformer2d`, `puzzle2d`, `racing3d`, `roguelike2d`, `rts2d`, `shmup2d`, and `visualnovel`) on the showcase page across all 10 locales (#791, #797, #800, #801). - -### Fixed - -- `template/visualnovel`: set `OnDemand: true` on `game.Loop` and make `game_test.go` pin the test locale, post direct state mutations through `app.Post`, and step the status timer within `MaxSteps`, so `nsgo test -target macos -activate` advances past the title screen and passes without stalling (#801). diff --git a/changelog.d/the-2d-skeletal-rig-format-in-ya-475.md b/changelog.d/the-2d-skeletal-rig-format-in-ya-475.md deleted file mode 100644 index d23e60464..000000000 --- a/changelog.d/the-2d-skeletal-rig-format-in-ya-475.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- `game/skeletal`: rigs are YAML (`.skel.yaml`, same version-1 schema, JSON that is also valid YAML still loads); `Load` refuses unknown fields, duplicate keys, trailing documents, non-finite numbers, times beyond `MaxSeconds` and Bezier points on other curves, and the new `Encode` writes a deterministic canonical form (names in byte order, numbers without exponents) that round-trips losslessly (#475). diff --git a/changelog.d/tilemap-collection-objects-templates-849.md b/changelog.d/tilemap-collection-objects-templates-849.md deleted file mode 100644 index d1adcf8d3..000000000 --- a/changelog.d/tilemap-collection-objects-templates-849.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tilemap`: support Tiled image-collection tilesets (`.tmj`/`.tsj` and `.tmx`/`.tsx`, including optional tile sub-rectangles), drawing tile objects (`DrawObjectLayer` and interleaved `Draw` order with flips, rotation, opacity, parallax, camera culling, `tileoffset`, and `objectalignment`), external `.tx`/`.tj` object templates via `TilesetLoader.LoadTemplate` with property merging and GID remapping, text objects (`ObjectText` / `TextObject`), and layer `tintcolor` (#849). diff --git a/changelog.d/tilemap-collision-physics-814.md b/changelog.d/tilemap-collision-physics-814.md deleted file mode 100644 index 8c662fb31..000000000 --- a/changelog.d/tilemap-collision-physics-814.md +++ /dev/null @@ -1,10 +0,0 @@ -### Added - -- `game/tilemap`: `*Tilemap` and `*WorldStream` now satisfy `physics.TileGrid` and `physics.TileGridOrigin` directly via `TileSize`, `GridSize`, `GridOrigin`, `TileFlagsAt`, and `TileFlags.PhysicsFlags` (#814). -- `game/tilemap`: preserve each Tiled tile's collision object group in `Tileset.TileCollisions` (`Tilemap.TileCollisionGroup`) and add deterministic `EncodeTiled` for `.tmj` round-tripping with per-tile collision data (#814). -- `game/tilemap`, `game/project`, `game/sceneformat`: add `LDtkOptions`, `LoadLDtkWith`, `LoadLDtkAllWith`, `LoadLDtkWorldWith`, LDtk `intGridValuesGroups` support, and `physics.ldtkIntGrid` rules in `game.yaml` (`File.LDtkOptions` and `project.Resolver`) to map LDtk IntGrid values to collision flags from project settings (#814). -- `game/tileshape`: merge adjacent partial rectangular tiles in `View.Boxes` and add `View.StaticShapes` and `View.AppendStaticShapesIn` to generate merged `Box`, convex `Polygon`, and closed `Chain` static physics shapes for partial tiles (#814). - -### Changed - -- `examples/caverun`: pass `*tilemap.Tilemap` directly to `physics.MoveAndSlide`, dropping its manual `tileGridAdapter` (#814). diff --git a/changelog.d/tilemap-hex-iso-path-fog-854.md b/changelog.d/tilemap-hex-iso-path-fog-854.md deleted file mode 100644 index f6aa4c8de..000000000 --- a/changelog.d/tilemap-hex-iso-path-fog-854.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/ai`, `game/fog`: add grid topologies (`TopologyFromTilemap` for square 4/8, hex pointy/flat odd/even, and staggered isometric), tactics movement-range queries (`MovementRange`, `ReachableCells`), hexagonal and staggered fog visibility, and aligned hex/isometric/staggered fog rendering (#854). diff --git a/changelog.d/tilemap-sparse-chunks-853.md b/changelog.d/tilemap-sparse-chunks-853.md deleted file mode 100644 index f28e1211e..000000000 --- a/changelog.d/tilemap-sparse-chunks-853.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tilemap`, `game/world3d`: add sparse power-of-two chunked tile layers with negative coordinates, per-chunk static caches and dirty tracking, deterministic YAML/JSON chunk persistence, bounded 2D streaming (`tilemap.ChunkStream` and `world3d.TilemapStreamer` on `world3d.ChunkStreamer`), and direct sparse loading of infinite Tiled `.tmj` maps (#853). diff --git a/changelog.d/tilemap-tmx-tsx-848.md b/changelog.d/tilemap-tmx-tsx-848.md deleted file mode 100644 index 2dc497d84..000000000 --- a/changelog.d/tilemap-tmx-tsx-848.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tilemap`: `LoadTiled` now loads Tiled XML maps (`.tmx`) and external XML tilesets (`.tsx`) alongside `.tmj`/`.tsj` (including cross-format references), decodes CSV, XML ``, and base64 tile data (uncompressed, `zlib`, and `gzip`) for both finite layers and infinite-map chunks with decompression-bomb protection, adds `TilesetLoader.LoadTileset` (falling back to `LoadJSON`), and refuses `zstd` compression with a structured `loaderr` fix hint (#848). diff --git a/changelog.d/tilemap-wang-sets-850.md b/changelog.d/tilemap-wang-sets-850.md deleted file mode 100644 index c8bdaa123..000000000 --- a/changelog.d/tilemap-wang-sets-850.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tilemap`: parse Tiled Wang sets (`wangsets` of type `corner`, `edge`, and `mixed`) and per-tile `probability` from embedded `.tmj` and external `.tsj` tilesets into `Tileset.WangSets` and `Tileset.TileProbabilities`, and add multi-terrain autotiling (`Tilemap.SetTerrain` and `Tilemap.SetTerrainRect`) with Tiled terrain-brush neighbor propagation, orthogonal and isometric support, dense and sparse chunked layer support, and deterministic probability-weighted variant selection via `*random.Stream` (#850). diff --git a/changelog.d/tilemap-wasm-and-loadtiled-allocs.md b/changelog.d/tilemap-wasm-and-loadtiled-allocs.md deleted file mode 100644 index c689f6c95..000000000 --- a/changelog.d/tilemap-wasm-and-loadtiled-allocs.md +++ /dev/null @@ -1,3 +0,0 @@ -### Fixed - -- Lazily allocate `tilemap.Tilemap`'s edit ring buffer only on per-cell edits, deduplicate Tiled XML/JSON layer decoders, and pack `world3d.BuildNavMesh` polygon vertices into a single backing slice to restore `LoadTiled`, `NavMeshFromBake`, and WebAssembly size budgets. diff --git a/changelog.d/tilemap-world-layout-852.md b/changelog.d/tilemap-world-layout-852.md deleted file mode 100644 index 92c446ff7..000000000 --- a/changelog.d/tilemap-world-layout-852.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- `game/tilemap`: add `Tilemap.Origin`, LDtk world positions and `Neighbours` (`LevelNeighbour`, `LoadLDtkWorld`), Tiled `.world` loader (`ParseTiledWorld`, `LoadTiledWorld`), and region-based multi-level streamer `WorldStream` (#852). -- `game/physics`: add optional `TileGridOrigin` interface and `Grid.OriginX`/`Grid.OriginY` honored by `MoveAndSlide`, `CharacterBody.Move`, `World` queries, `SoftWorld`, and debug drawing (#852). -- `game/fog`: add `Fog.Origin` copied by `NewFromTilemap` and honored by `CellAt`, `Draw`, and JSON snapshots (#852). diff --git a/changelog.d/tilemap-ysort-851.md b/changelog.d/tilemap-ysort-851.md deleted file mode 100644 index 4dc6d10d0..000000000 --- a/changelog.d/tilemap-ysort-851.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tilemap`, `game/scene`: add per-layer tile Y-sorting (`TileLayer.YSort`, `SetLayerYSort`, `PropSortOriginY` / `SetTileSortOriginY`, `AppendYSortTiles`, `SortYSortTiles`, `YSortDrawer`, `Layer.AddTileLayer`) so tall tiles interleave with sprites across orthogonal, isometric, staggered, and hexagonal maps with camera culling, animated tiles, and zero steady-state allocations (#851). diff --git a/changelog.d/tooling-shader-material-hotreload-366.md b/changelog.d/tooling-shader-material-hotreload-366.md deleted file mode 100644 index fe860e34f..000000000 --- a/changelog.d/tooling-shader-material-hotreload-366.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/tooling/hotreload`: live hot reload for WGSL (`.wgsl`) and Kage (`.kage`) shaders and YAML 3D shader materials (`.material.yaml`, `.mat.yaml`, `.material.yml`, `.mat.yml`) under `game dev` via `CompileShaderSource`, `ShaderReloader`, `MaterialReloader`, `MaterialDef` (`ParseMaterial`, `ParseMaterialFile`, `EncodeMaterial`), `ReloadError`, `Watcher.WatchShader`, `Watcher.WatchShaders`, and `Watcher.WatchMaterials`; candidate shaders and GPU render pipelines compile and validate before swapping so compile, entry-point, or YAML errors report structured `*loaderr.Error` diagnostics without crashing while keeping the previous working pipeline active, and editing a shader automatically rebuilds dependent materials (#366). diff --git a/changelog.d/undo-and-redo-of-game-state-520.md b/changelog.d/undo-and-redo-of-game-state-520.md deleted file mode 100644 index 90ca2afaf..000000000 --- a/changelog.d/undo-and-redo-of-game-state-520.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/undo`: a `History` of reversible moves for puzzle and turn-based games, with unlimited undo and redo, `Seek`, move groups, and a versioned YAML `Log` to save and restore it (#520). diff --git a/changelog.d/vehicle-physics-534.md b/changelog.d/vehicle-physics-534.md deleted file mode 100644 index 49fc8144b..000000000 --- a/changelog.d/vehicle-physics-534.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/vehicle`: raycast cars on `physics3d` with spring-damper wheel suspension, friction-circle tire forces and engine, brake, steering and handbrake input, race checkpoints, laps and standings on trigger bodies, YAML car configs and lap ghosts, and a reference car that laps a test track deterministically (#534). diff --git a/changelog.d/video-settings-for-full-screen-d-356.md b/changelog.d/video-settings-for-full-screen-d-356.md deleted file mode 100644 index 8ec4343e8..000000000 --- a/changelog.d/video-settings-for-full-screen-d-356.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/screen`: `Video` applies the saved display settings at start and on change: windowed or full screen on a chosen display (`save.DisplaySettings.DisplayID`, falling back to `DisplayIndex`), `FrameCap` as the loop's `DrawRate`, and with `AutoDropLowPower` a lower cap while the system is in low-power mode or under serious thermal pressure, restored once it clears (#356). diff --git a/changelog.d/vignette-flash-and-shake-97.md b/changelog.d/vignette-flash-and-shake-97.md deleted file mode 100644 index 424ffb098..000000000 --- a/changelog.d/vignette-flash-and-shake-97.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/effects`: vignette, full-screen flash and screen shake effects (`VignetteEffect`, `FlashEffect`, `ShakeEffect`) with CPU reference pictures, and `NewFlash` and `NewShake`, which fade a flash and decay a seeded shake on the frame clock and stay still under reduced motion (#97). diff --git a/changelog.d/voxel-chunks-and-meshing-535.md b/changelog.d/voxel-chunks-and-meshing-535.md deleted file mode 100644 index 80bfb4c12..000000000 --- a/changelog.d/voxel-chunks-and-meshing-535.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/voxel`: chunked 3D voxel worlds with greedy meshing to `render3d.Mesh` and per-material `SubMesh` ranges, cross-chunk neighbor culling and ambient occlusion, minimal dirty-chunk remeshing on edit, 3D DDA voxel raycasting, and deterministic versioned YAML saves with published JSON Schema `voxel.v1.json` (#535). diff --git a/changelog.d/voxel-collision-815.md b/changelog.d/voxel-collision-815.md deleted file mode 100644 index 638aa18a4..000000000 --- a/changelog.d/voxel-collision-815.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/physics3d`, `game/voxel`: add direct solid-block `VoxelCollider` (`TestShape`, `CollectContacts`, `Raycast`, `Sweep`, CCD, and instant `SetBlock` wakeup), `voxel.NewCollider` / `World.Collider`, and axis-separated AABB `MoveAndSlideAABB` / `CharacterMover` with single-block step-up (#815). diff --git a/changelog.d/voxel-lighting-860.md b/changelog.d/voxel-lighting-860.md deleted file mode 100644 index 88c7adf0a..000000000 --- a/changelog.d/voxel-lighting-860.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/voxel`: add per-voxel sky and block light propagation (0..15), emissive and light-opacity block properties, incremental cross-chunk flood fill/removal with minimal dirty tracking, and vertex light/color output for `render3d` (#860). diff --git a/changelog.d/website-multilingual-i18n.md b/changelog.d/website-multilingual-i18n.md deleted file mode 100644 index ffc41005e..000000000 --- a/changelog.d/website-multilingual-i18n.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `apps/website`: added full website UI localization, dynamic `//` routing, SEO `hreflang` alternates, and browser language auto-detection for 8 additional mainstream languages (`zh-tw`, `ja`, `ko`, `es`, `fr`, `de`, `pt`, `ru`), bringing the site to 10 languages with automatic English fallback for untranslated docs. diff --git a/changelog.d/website-tanstack-redesign.md b/changelog.d/website-tanstack-redesign.md deleted file mode 100644 index 7c9b79c33..000000000 --- a/changelog.d/website-tanstack-redesign.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- Website: a new design on TanStack Start, with a home page around the examples' recordings, a tutorial page, a package catalog with filters and search, and an examples page, all read from the docs and the examples at build time in ten languages; the docs show Traditional Chinese converted from Simplified Chinese, and each docs page loads only its own content. The playground, showcase, roadmap, API reference, `api.json` and `llms.txt` keep their addresses. diff --git a/changelog.d/weighted-loot-and-drop-tables-519.md b/changelog.d/weighted-loot-and-drop-tables-519.md deleted file mode 100644 index 856da1e91..000000000 --- a/changelog.d/weighted-loot-and-drop-tables-519.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/loot`: nested weighted drop tables in versioned YAML with guaranteed drops, rolls and count ranges, hard and soft pity counters saved with the stream, and zero-allocation rolls on `random` streams (#519). diff --git a/changelog.d/world3d-gridmap-editor-899.md b/changelog.d/world3d-gridmap-editor-899.md deleted file mode 100644 index 81ce4689a..000000000 --- a/changelog.d/world3d-gridmap-editor-899.md +++ /dev/null @@ -1,5 +0,0 @@ -### Added - -- Scene objects now support a version 2 `gridMap` field referencing `*.gridmap.yaml` files (including scene overrides and `scene.v2.json` schema), instanced in `scenemodel.Build` via `world3d.GridMap.BuildInstances` with shared `MeshID`/`MaterialID` and validated/tracked by `game check`, `refs`, and `MoveFile`. -- `world3d.LoadMeshLibraryFromGLTF` now reads binary `.glb` mesh libraries in addition to `.gltf`, and `world3d` adds `RotateGridOrientation`, `FindGridOrientation`, `MeshLibrary.Items`, and `GridMap.EachCell`. -- The 3D scene editor adds interactive GridMap painting: a mesh-library palette with 3D thumbnails, Paint/Erase/Pick/Box Fill tools on the active floor height (`]`/`[`/`PageUp`/`PageDown`), 24-orientation rotation keys (`X`/`Y`/`Z`/`Q` + Shift), live hovered cell and box-fill previews, full undo/redo, and canonical `.gridmap.yaml` saving. diff --git a/changelog.d/world3d-terrain-editor-900.md b/changelog.d/world3d-terrain-editor-900.md deleted file mode 100644 index 8052a971c..000000000 --- a/changelog.d/world3d-terrain-editor-900.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `world3d`, `render3d`, and `editor`: extend `*.terrain.yaml` with `size`, 16-bit grayscale PNG heightmap encoding/decoding (`NewHeightmap`, `Heightmap.ToGray16`, `Heightmap.EncodePNG`, `DecodeHeightmapPNG`), per-layer material references and grayscale weight-map PNGs (`PackLayerWeightMaps`, `LoadTerrainSplatMapFromWeights`), embedded foliage layers with density-map PNGs (`Heightmap.FoliageDensityAt`, `TerrainDoc.ScatterFoliage`, `DensityMap.EncodePNG`), `render3d.TerrainMaterialFromDoc` / `MeshFromTerrainMesh` loading, and 3D editor terrain sculpt and paint tools (raise/lower, smooth, flatten, set height, layer paint, foliage density paint with radius, strength, falloff, single-step undo per stroke, and lossless 16-bit PNG + YAML saving) (#900). diff --git a/changelog.d/world3d-terrain-lod-858.md b/changelog.d/world3d-terrain-lod-858.md deleted file mode 100644 index 8b0c489f5..000000000 --- a/changelog.d/world3d-terrain-lod-858.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/world3d`: add `TerrainLOD`, `Heightmap.BuildMeshLOD`, `Heightmap.ChunkBounds`, and `TerrainLODBiasFor` for distance-based terrain chunk LOD with hysteresis, quality preset bias, crack-free stitched neighbor seams, frustum culling, and `FloatingOrigin` / `ChunkStreamer` integration (#858). diff --git a/changelog.d/world3d-terrain-splat-857.md b/changelog.d/world3d-terrain-splat-857.md deleted file mode 100644 index 4583b0076..000000000 --- a/changelog.d/world3d-terrain-splat-857.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/world3d`, `game/render3d`: add splat-map multi-layer PBR terrain materials (up to 8 layers across 1–2 RGBA weight maps with per-layer tiling, optional height-based blending, slope-driven triplanar projection, lighting/shadows/CSM/fog, version 1 YAML terrain definitions, and `Heightmap.LayerAt(x, z)` gameplay queries) (#857). diff --git a/changelog.d/world3d-yaml-formats.md b/changelog.d/world3d-yaml-formats.md deleted file mode 100644 index 27c3de071..000000000 --- a/changelog.d/world3d-yaml-formats.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- `game/world3d`: add version 1 YAML formats (`*.gridmap.yaml` and `*.foliage.yaml`) with strict parsing, deterministic canonical encoding, box-run compression, runtime world builders (`LoadGridMapFS`, `LoadTerrainFS`, `LoadFoliageFS`, `TerrainDoc.BuildHeightmap`/`BuildLOD`, `GridMapDoc.Build`, `GridMap.ToDoc`, `FoliageDoc.ScatterAll`), optional `chunkSize` on `TerrainDoc`, published JSON Schemas (`gridmap.v1.json`, `foliage.v1.json`, updated `terrain.v1.json`), and `game check` (`tooling/assetcheck`) validation (#859). diff --git a/changelog.d/yaml-tilesets-and-full-tilemaps-in-scene-847.md b/changelog.d/yaml-tilesets-and-full-tilemaps-in-scene-847.md deleted file mode 100644 index 950f5123f..000000000 --- a/changelog.d/yaml-tilesets-and-full-tilemaps-in-scene-847.md +++ /dev/null @@ -1,6 +0,0 @@ -### Added - -- `game/tilemap`: YAML tilesets (`*.tileset.yaml`, `TilesetDoc`, version 1) define a grid image's or atlas's tiles once, with properties, `solid`/`oneWay`/custom flags, collision shapes, animations and `cardinal` or `blob` terrain sets; `ParseTileset`, `EncodeTileset` and `LoadTilesetFS` read and write them losslessly, `Tilemap.AddTilesetDoc` builds one into a `Tileset` with its flags, `Tileset.Terrains` and `Tilemap.Terrain` hand terrains to `ApplyAutotile`, and the schema is published at `https://game.nsgo.dev/schemas/tileset.v1.json` (#847). -- `game/sceneformat`: scene version 2 tilemaps can be layered grids that place a YAML tileset's tiles (`tilesetFile`) in named `tileLayers`, one readable row per line with `h`, `v` and `d` flip letters, and can name an LDtk level (`level`); `Build` turns them, and Tiled (`.tmj`, `.tmx`) and LDtk (`.ldtk`) sources, into a `tilemap.Tilemap` (`BuiltLayer.Map`) that culls to the scene's view, animates through `BuiltScene.Update` and answers `FlagsAt` and `Raycast`, reading files through the new `FileResolver` and `ImageResolver` interfaces; `FSAssets` reads a project's files so scenes use Tiled and LDtk maps with no resolver of the game's own (#847). -- `game/editor`: the tile tools paint the tile layers of layered grids with flipped tiles (`ActiveTileLayer`, `ActiveTileFlip`), and the tile palette shows a layered grid's YAML tileset with tile layer and flip toggles; `game editor` reads the open project's files, so those scenes build there (#847). -- `game check` validates YAML tilesets, the tilesets and tiles of layered grids, `.tmx` and `.ldtk` tilemap sources and LDtk levels, and `game mv` keeps `tilesetFile` and tileset `image` references working (#847).