203 пакет. Импортируйте только нужное.
От спрайтов до выделенных серверов: у каждого пакета есть руководство и пометка «стабильный» или «экспериментальный».
- gameЯдроСтабильный
Loop, the fixed-step loop every package shares
gameРуководство API Async per-scene asset groups, reactive progress and LoadingScreen
game/pkg/assetsРуководство APITyped data tables in versioned YAML (and CSV/JSON) with cell-level errors, deterministic saves and hot reload
game/pkg/datatableРуководство APIgame/datatable loads typed game data, such as enemies, items, levels and quests, into slices of your own Go struct, and reloads it while the game runs when a designer saves the file.
game/pkg/datatable/datatablewatchРуководство APIZero-reflection ECS: generational entities, typed sparse-set components, allocation-free queries, ordered systems, prefabs and JSON snapshots
game/pkg/entitiesРуководство API- inputЯдроСтабильный
Named actions and axes from touch regions, mouse buttons, keyboard keys, pointer-lock mouselook and game controllers, persisted in core.Storage
game/pkg/inputРуководство API The error every loader returns for a file it cannot use: file, line, column, field, what was expected and how to fix it
game/pkg/loaderrРуководство API- math2dЯдроСтабильный
Shared 2D Vec2, Rect, Circle and Affine types with lossless core conversions
game/pkg/math2dРуководство API Zero-alloc object pools: Pool, Arena with generational Handles and SlicePool
game/pkg/mempoolРуководство APIBox/Circle overlaps, MoveAndSlide tile resolution and World queries
game/pkg/physicsРуководство APIA CC0 pack of sprite sheets, a tileset and level, a pixel font, sounds and glTF models, with their import settings sidecars, to prototype with
game/pkg/placeholderРуководство APIgame.yaml, the one project file: window, virtual resolution, input map, audio buses, autoloads and export presets, kept in step with nsgo.yaml
game/pkg/projectРуководство API- randomЯдроСтабильный
Seeded cross-platform Stream (Xoshiro256**), procedural noise and helpers that verify a simulation is deterministic
game/pkg/randomРуководство API Shared YAML resource files (materials, curves, gradients, animation clips, UI themes, bus layouts, physics materials) and a Library that shares and reloads them
game/pkg/resourceРуководство API- saveЯдроСтабильный
Versioned JSON save slots, schema migrations and atomic backup recovery
game/pkg/saveРуководство API game/save stores game save slots as versioned JSON envelopes in core.Storage or on disk (such as cx.DataDir()), with sequential schema migrations and atomic backup recovery.
game/pkg/save/savetestРуководство API- sceneЯдроСтабильный
World/screen layers, hit testing, scene stacks and animated transitions
game/pkg/sceneРуководство API Versioned YAML scene documents: strict parsing and validation, deterministic encoding and building into sprite batches ready to draw
game/pkg/sceneformatРуководство API- screenЯдроСтабильный
Virtual resolution Viewport scaling, pixel snapping, safe-area rectangles and video settings
game/pkg/screenРуководство API - soundЯдроСтабильный
The Mixer, its effects and music
game/pkg/soundРуководство API 2D broad phase with Hash and Quadtree, and viewport culling with Cull and CullBatch
game/pkg/spatialРуководство API- spriteЯдроСтабильный
Atlases, frames, animations, sprites and batches drawn into a Canvas
game/pkg/spriteРуководство API AngelCode BMFont bitmap fonts, signed-distance-field fonts in 2D and 3D world space, and platform text via DrawPlatform
game/pkg/textРуководство API2D Camera, culled tilemaps, Tiled .tmj loader, animated tiles and raycasts
game/pkg/tilemapРуководство APITilemap collision and lighting geometry: a physics TileGrid view, slopes from per-tile shapes, merged outlines and lights2d occluders
game/pkg/tilemap/tileshapeРуководство API- abilityГеймплейЭкспериментальный
YAML ability sets and a per-step Caster: costs, cooldowns, charges, cast and channel times and conditions driven by input actions
game/pkg/abilityРуководство API - aiГеймплейСтабильный
Steering behaviors, ORCA avoidance, behavior trees, utility AI, GOAP, tactical queries and perception
game/pkg/aiРуководство API - animclipГеймплейЭкспериментальный
Animation clips that key any registered property, played on scene objects through tween.Timeline
game/pkg/animclipРуководство API - battleГеймплейЭкспериментальный
Deterministic turn-based battles between a party and a troop: agility order, scoped actions with MP costs, hit and critical rolls on seeded streams, presentation-independent events and snapshots
game/pkg/battleРуководство API - bulletsГеймплейЭкспериментальный
Shooter bullet patterns (rings, spirals, aimed bursts) from YAML, pooled and drawn through a sprite batch
game/pkg/bulletsРуководство API - cardsГеймплейЭкспериментальный
Drag and drop between board slots with snap and return, fanned hands, decks, piles and grids, and YAML board files
game/pkg/cardsРуководство API - cards/deckГеймплейЭкспериментальный
Cards deck and pile helpers
game/pkg/cards/deckРуководство API - cuesГеймплейЭкспериментальный
YAML cue mappings from gameplay tags to particles, sounds, camera shake, sprite flashes and animations, and a client Player that suppresses replayed one-shots and reconciles while-active cues after rollback
game/pkg/cuesРуководство API - cutsceneГеймплейЭкспериментальный
Skippable video cutscenes over the game's view, in a scene or between scenes, from YAML files
game/pkg/cutsceneРуководство API - dialogueГеймплейСтабильный
Yarn Spinner scripts run line by line and choice by choice, with variables, conditions, game commands and saved State
game/pkg/dialogueРуководство API - farmingГеймплейЭкспериментальный
Deterministic farming calendar and crop rules
game/pkg/farmingРуководство API - fightingГеймплейЭкспериментальный
Per-step input buffer, numpad motion inputs, charges, double taps, chords and combos from YAML move sets
game/pkg/fightingРуководство API - flowГеймплейСтабильный
Game-clock Timers, Machine[S], Seq/Parallel/Race and typed event Bus
game/pkg/flowРуководство API - framedataГеймплейЭкспериментальный
Fighting game hitboxes, hurtboxes, hitstun and cancel windows per frame in YAML, resolved deterministically each step
game/pkg/framedataРуководство API - gamepluginГеймплейЭкспериментальный
Runtime plugin contract and deterministic installer: API version check, conflict detection, and ordered registration of components, systems, effects, data tables and console commands
game/pkg/gamepluginРуководство API A Go plugin is a Go module that extends a game's runtime, the scene editor, or the game CLI.
game/pkg/gameplugin/devpluginРуководство APIStrict parser, validator and deterministic YAML encoder for Go plugin plugin.yaml manifests
game/pkg/gameplugin/manifestРуководство API- gametimeГеймплейЭкспериментальный
Deterministic game-time calendar clock
game/pkg/gametimeРуководство API - hostbridgeГеймплейЭкспериментальный
Web host embedding bridge
game/pkg/hostbridgeРуководство API - idleГеймплейЭкспериментальный
Number past float64's range, capped offline progress and short/scientific/locale formatting of large numbers
game/pkg/idleРуководство API - inventoryГеймплейЭкспериментальный
Item definitions in YAML, stacking slot containers, typed equipment slots and save snapshots
game/pkg/inventoryРуководство API - lootГеймплейЭкспериментальный
Nested weighted drop tables in YAML with guaranteed drops and hard/soft pity counters on seeded streams
game/pkg/lootРуководство API - match3ГеймплейЭкспериментальный
Deterministic match-3 board and level rules
game/pkg/match3Руководство API - mergegameГеймплейЭкспериментальный
Versioned merge-game chain format
game/pkg/mergegameРуководство API - motionГеймплейЭкспериментальный
Deterministic, rate-independent 2D motion helpers (Bullet, Sine, Rotate, Orbit, MoveTo, Wrap, Bound, DestroyOutside, Fade, Flash) backing scene behaviors
game/pkg/motionРуководство API - particlesГеймплейЭкспериментальный
Seeded deterministic 2D Emitter, spawn shapes, bursts and lifetime curves
game/pkg/particlesРуководство API - pathfindГеймплейСтабильный
Grid AStar, HPA*, JPS, graph and waypoint search, 2D NavMesh with NavAgent, tiled meshes and budgeted path queues
game/pkg/pathfindРуководство API Bakes pathfind.NavMesh polygons from concave obstacles or a tilemap's solid cells for each agent radius, saved as versioned YAML, with a debug overlay
game/pkg/pathfind/navbakeРуководство API- placementГеймплейЭкспериментальный
Rotated footprint placement grid
game/pkg/placementРуководство API - platformerГеймплейЭкспериментальный
Platformer Controller on CharacterBody: coyote time, jump buffer, variable jump height, wall slide and wall jump from a YAML config
game/pkg/platformerРуководство API - procgenГеймплейЭкспериментальный
Seeded BSP rooms, cellular-automata caves and wave function collapse from YAML rules, with connectivity checks and tilemap painting
game/pkg/procgenРуководство API - progressionГеймплейЭкспериментальный
Deterministic progression packs and unlocks
game/pkg/progressionРуководство API - questГеймплейЭкспериментальный
YAML quest books with collect/reach/defeat/talk objectives, prerequisites and rewards, advanced by bus events and saved as snapshots
game/pkg/questРуководство API - rhythmГеймплейЭкспериментальный
YAML beat maps with tempo and meter changes, a music clock on the audio clock, and per-device audio/video latency calibration
game/pkg/rhythmРуководство API - roomsГеймплейЭкспериментальный
Room maps with per-room camera bounds and cut, slide or fade transitions between them
game/pkg/roomsРуководство API - rpgdataГеймплейЭкспериментальный
RPG database in YAML: classes with level curves and learned skills, actors, skills, enemies and troops, with references checked on load and a linear experience progression
game/pkg/rpgdataРуководство API - rtsГеймплейЭкспериментальный
Flow fields, a Crowd of many units with separation, YAML formations, box/click selection and control groups
game/pkg/rtsРуководство API - sessionstatsГеймплейЭкспериментальный
Release-safe session metrics: frame-time percentiles, frames over twice the interval, peak heap, runtime memory and GC pauses, as a versioned JSON or YAML summary
game/pkg/sessionstatsРуководство API - skeletalГеймплейЭкспериментальный
2D skeletal rigs in versioned YAML, loaded, saved, animated and drawn through sprite.Batch
game/pkg/skeletalРуководство API - spawnГеймплейЭкспериментальный
Deterministic spawn director schedules
game/pkg/spawnРуководство API - statsГеймплейЭкспериментальный
Base stats with add/mul/override modifiers from sources, recomputed on change, timed modifiers on the fixed step and a YAML stats file
game/pkg/statsРуководство API - tagsГеймплейЭкспериментальный
Gameplay tags: a strict versioned YAML registry of dotted hierarchical names, reference-counted containers that match parents and children, and all/any/none queries
game/pkg/tagsРуководство API - tweenГеймплейСтабильный
Fixed-step Tween, Timeline and camera choreography helpers
game/pkg/tweenРуководство API - undoГеймплейЭкспериментальный
Reversible moves with unlimited undo, redo and Seek, saved as a YAML Log
game/pkg/undoРуководство API - vnГеймплейЭкспериментальный
Visual novel presenter: YAML cast of portraits and expressions, name plates, typewriter text box, choices, backlog, auto/skip modes and voice lines
game/pkg/vnРуководство API - a11yГрафика и UIЭкспериментальный
Live captions, color-blind palettes and CVD simulation, persisted assist options and accessible menus
game/pkg/a11yРуководство API - fogГрафика и UIЭкспериментальный
Per-team fog of war: shadowcast vision sources, explored versus visible cells, map overlay and JSON saves
game/pkg/fogРуководство API - gameuiГрафика и UIЭкспериментальный
In-canvas box-layout menus, virtual-resolution scaling, spatial focus nav and world-anchored views
game/pkg/gameuiРуководство API - l10nГрафика и UIЭкспериментальный
JSON string tables with CLDR plurals, script FontSet, RTL visual ordering and per-language asset catalogs
game/pkg/l10nРуководство API - lights2dГрафика и UIЭкспериментальный
2D ambient darkness, point/cone lights, visibility-polygon shadows and normal-mapped sprites
game/pkg/lights2dРуководство API - pixelfxГрафика и UIЭкспериментальный
A Go port of pixelfx's pixel art effects: the painter, simulation and acting system, effects by category (pixelfx/fire, pixelfx/explosions, ...), recoloring, mirroring and sprite sheet export
game/pkg/pixelfxРуководство API - pixelfx/arcaneГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/arcaneРуководство API - pixelfx/crittersГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/crittersРуководство API - pixelfx/explosionsГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/explosionsРуководство API - pixelfx/fireГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/fireРуководство API - pixelfx/holyГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/holyРуководство API - pixelfx/iceГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/iceРуководство API - pixelfx/impactsГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/impactsРуководство API - pixelfx/lightningГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/lightningРуководство API - pixelfx/meleeГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/meleeРуководство API - pixelfx/movesГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/movesРуководство API - pixelfx/natureГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/natureРуководство API - pixelfx/pickupsГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/pickupsРуководство API - pixelfx/projectilesГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/projectilesРуководство API - pixelfx/scifiГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/scifiРуководство API - pixelfx/shadowГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/shadowРуководство API - pixelfx/spawnГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/spawnРуководство API - pixelfx/statusГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/statusРуководство API - pixelfx/transitionsГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/transitionsРуководство API - pixelfx/uiГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/uiРуководство API - pixelfx/waterГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/waterРуководство API - pixelfx/weatherГрафика и UIЭкспериментальный
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
game/pkg/pixelfx/weatherРуководство API - postfxГрафика и UIЭкспериментальный
Kage shader passes chained over the game's frame in one draw, uniforms on the frame clock and CPU reference pictures
game/pkg/postfxРуководство API - qualityГрафика и UIЭкспериментальный
Low, medium and high presets picked from the device class and measured frame times, overridable in settings
game/pkg/qualityРуководство API - worldmapГрафика и UIЭкспериментальный
YAML room maps, saved room discovery and markers, a minimap of the current area and a world map
game/pkg/worldmapРуководство API - cmd/editorИнструментыЭкспериментальный
This document records the scope decision for NSGo's game editor (#159) and specifies the version 1 YAML scene format (#160) implemented in github.com/nsgo-dev/game/pkg/sceneformat.
game/cmd/editorРуководство - cmd/gameИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/cmd/gameРуководство - cmd/nsgo-gameИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/cmd/nsgo-gameРуководство - editorИнструментыЭкспериментальный
The NSGo Scene Editor over sceneformat: undoable scene, tilemap, layer and property editing, play-in-editor, asset browser, plugins and project panels
game/pkg/editorРуководство API - editor/agentdirИнструментыЭкспериментальный
This document records the scope decision for NSGo's game editor (#159) and specifies the version 1 YAML scene format (#160) implemented in github.com/nsgo-dev/game/pkg/sceneformat.
game/pkg/editor/agentdirРуководство API - editor/diaglogИнструментыЭкспериментальный
This document records the scope decision for NSGo's game editor (#159) and specifies the version 1 YAML scene format (#160) implemented in github.com/nsgo-dev/game/pkg/sceneformat.
game/pkg/editor/diaglogРуководство API - editor/editorcmdИнструментыЭкспериментальный
This document records the scope decision for NSGo's game editor (#159) and specifies the version 1 YAML scene format (#160) implemented in github.com/nsgo-dev/game/pkg/sceneformat.
game/pkg/editor/editorcmdРуководство API - editor/editormcpИнструментыЭкспериментальный
game/mcp exposes a running game's scenes, layers, entities, components, fixed-step loop controls, game-coordinate input injection, tunables, debug console, loaded asset groups and hot reload controls to coding agents over MCP through NSGo's github.com/nsgo-dev/nsgo/automation package.
game/pkg/editor/editormcpРуководство API - editor/keychainИнструментыЭкспериментальный
The editor's OS secret storage: macOS Keychain, Linux Secret Service and Windows Credential Manager behind one Store, with an in-memory Memory for tests
game/pkg/editor/keychainРуководство API - editor/themeИнструментыЭкспериментальный
The editor's design tokens: the embedded YAML theme, the dark and light palettes, type, spacing, shape and motion constants, and the WCAG 2.2 contrast table every palette meets
game/pkg/editor/themeРуководство API - gametestИнструментыЭкспериментальный
Deterministic software rasterizer for core.DrawOp, golden PNG assertions with persistent failure diffs, and ImageDraws structural checks
game/pkg/gametestРуководство API - importsettingsИнструментыЭкспериментальный
.import.yaml sidecars beside an image, sound, font or model that say how game assets imports it, overriding the target's settings
game/pkg/importsettingsРуководство API - jsonschemaИнструментыЭкспериментальный
JSON Schemas built from Go types for editors and AI tools, the published scene schema and validation with JSON Pointer paths
game/pkg/jsonschemaРуководство API - mcpИнструментыЭкспериментальный
MCP tools registered through nsgo/automation to inspect running scenes, layers, entities and components
game/pkg/mcpРуководство API - mcp/mcpuiИнструментыЭкспериментальный
game/mcp exposes a running game's scenes, layers, entities, components, fixed-step loop controls, game-coordinate input injection, tunables, debug console, loaded asset groups and hot reload controls to coding agents over MCP through NSGo's github.com/nsgo-dev/nsgo/automation package.
game/pkg/mcp/mcpuiРуководство API - moddingИнструментыЭкспериментальный
Capability-sandboxed TSX "game" modding API and mod.yaml dependency/lifecycle manager
game/pkg/moddingРуководство API - replayИнструментыЭкспериментальный
Input Recorder/Player with editable YAML recordings and deterministic test assertions
game/pkg/replayРуководство API - statedumpИнструментыЭкспериментальный
Headless runs dumped as deterministic YAML (entities, components, scene stack, values) and a line Diff between runs
game/pkg/statedumpРуководство API - tooling/assetbuildИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/pkg/tooling/assetbuildРуководство API - tooling/assetcheckИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/pkg/tooling/assetcheckРуководство API - tooling/assetsИнструментыЭкспериментальный
For the trade-offs between resources/, embedded startup files and first-load groups, see Small downloads and fast starts.
game/pkg/tooling/assetsРуководство API - tooling/atlaspackИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/pkg/tooling/atlaspackРуководство API - tooling/audioconvИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/pkg/tooling/audioconvРуководство API - tooling/benchИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/pkg/tooling/benchРуководство API - tooling/creditsИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/pkg/tooling/creditsРуководство API - tooling/devstateИнструментыЭкспериментальный
Every file a game made with these packages reads or writes, with the names its files go by, the version it declares, the Go functions that read and write it, the guide that describes its fields and an example, so a person or an AI can edit one without reading the code.
game/pkg/tooling/devstateРуководство API - tooling/dlcИнструментыЭкспериментальный
For the trade-offs between resources/, embedded startup files and first-load groups, see Small downloads and fast starts.
game/pkg/tooling/dlcРуководство API - tooling/gamedebugИнструментыЭкспериментальный
Frame-time graph, wireframe shapes, scene inspector and -tags release stripping
game/pkg/tooling/gamedebugРуководство API - tooling/genjobИнструментыЭкспериментальный
This document records the scope decision for NSGo's game editor (#159) and specifies the version 1 YAML scene format (#160) implemented in github.com/nsgo-dev/game/pkg/sceneformat.
game/pkg/tooling/genjobРуководство API - tooling/genparamsИнструментыЭкспериментальный
Is experimental: its API and documented formats may change in a minor release.
game/pkg/tooling/genparamsAPI - tooling/godebugИнструментыЭкспериментальный
This document records the scope decision for NSGo's game editor (#159) and specifies the version 1 YAML scene format (#160) implemented in github.com/nsgo-dev/game/pkg/sceneformat.
game/pkg/tooling/godebugРуководство API - tooling/hotreloadИнструментыЭкспериментальный
game/resource reads and writes shared resource files: data that several scenes and pieces of code use, kept in a YAML file of its own and referenced by path instead of being repeated.
game/pkg/tooling/hotreloadРуководство API - tooling/libraryИнструментыЭкспериментальный
A YAML index of shared asset, editor plugin and template packs, checked by digest and installed into a project with their files and game.yaml references recorded
game/pkg/tooling/libraryРуководство API - tooling/manifestИнструментыЭкспериментальный
game is the game layer's command-line tool: one command whose subcommands pack sprite atlases, convert audio, generate asset manifests, encode textures, open the scene editor, build release packages, show its build version, play input recordings headless, check benchmarks against a stored baseline, check a built package against its size budget, create projects, check, format and apply a project's game.yaml, run the game with asset hot reload, check a game's scenes, maps and atlases, build all of a game's assets from game.yaml, rebuilding only what changed, write new components, systems, scenes and prefabs into a project, move files while keeping the references to them working, keep the project index of stable file IDs, render pixelfx effects to sprite sheets and write shell completion scripts.
game/pkg/tooling/manifestРуководство API - tooling/playtestИнструментыЭкспериментальный
playtest.yaml bots, seeded headless runs with replay recordings, metrics against goals and deterministic YAML reports
game/pkg/tooling/playtestРуководство API - tooling/refsИнструментыЭкспериментальный
Stable file IDs, the project index and moves that rewrite every reference to a file, behind game mv, game index and game check
game/pkg/tooling/refsРуководство API - tooling/sizecheckИнструментыЭкспериментальный
game size, built on the tooling/sizecheck package, measures and enforces package size budgets for WebAssembly (.wasm), Android App Bundles (.aab), Android APKs (.apk), and iOS App Store Packages (.ipa) using Go's standard library (archive/zip), with no external tools or SDK dependencies.
game/pkg/tooling/sizecheckРуководство API - tooling/spriteframesИнструментыЭкспериментальный
For the trade-offs between resources/, embedded startup files and first-load groups, see Small downloads and fast starts.
game/pkg/tooling/spriteframesРуководство API - tooling/storecaptureИнструментыЭкспериментальный
For a first-load plan that connects resources, loading progress, web caching and size budgets, see Small downloads and fast starts.
game/pkg/tooling/storecaptureРуководство API - tooling/templatemetaИнструментыЭкспериментальный
A new project starts from a template: a small, complete game that builds, runs and passes its tests before you change a line.
game/pkg/tooling/templatemetaРуководство API - tooling/texseamИнструментыЭкспериментальный
For the trade-offs between resources/, embedded startup files and first-load groups, see Small downloads and fast starts.
game/pkg/tooling/texseamРуководство API - skillsИнструментыЭкспериментальный
The repository publishes an Agent Skill at skills/nsgo-game so coding agents know how to scaffold, build, test, inspect and drive NSGo games using the go tool game CLI, plain-text YAML formats and the game/mcp tool suite.
game/skillsРуководство API github.com/nsgo-dev/game/pkg/online/accounts is a self-hostable player account service.
game/cmd/accountsdРуководствоgithub.com/nsgo-dev/game/pkg/online/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
game/cmd/cloudsavedРуководствоleaderboard/selfhost is a self-hostable leaderboard service for games that run on several platforms or on platforms without a game service (the web, Windows, Linux).
game/cmd/leaderboarddРуководствоSelf-hosted player accounts: guests upgraded to email or a linked platform/OAuth identity, argon2id passwords, SQLite/Postgres stores and Ed25519 tokens game servers verify offline
game/pkg/online/accountsРуководство APIgithub.com/nsgo-dev/game/pkg/online/accounts is a self-hostable player account service.
game/pkg/online/accounts/authtokenРуководство APIgithub.com/nsgo-dev/game/pkg/online/accounts is a self-hostable player account service.
game/pkg/online/accounts/identityРуководство APIgithub.com/nsgo-dev/game/pkg/online/accounts is a self-hostable player account service.
game/pkg/online/accounts/pgstoreРуководство APIgithub.com/nsgo-dev/game/pkg/online/accounts is a self-hostable player account service.
game/pkg/online/accounts/sqlitestoreРуководство APIgithub.com/nsgo-dev/game/pkg/online/accounts is a self-hostable player account service.
game/pkg/online/accounts/sqlstoreРуководство APIgithub.com/nsgo-dev/game/pkg/online/accounts is a self-hostable player account service.
game/pkg/online/accounts/storetestРуководство APIAchievements declared in versioned YAML, monotonic progress persisted in core.Storage, and reporting to Game Center and Play Games
game/pkg/online/achievementsРуководство APIOperator access for the self-hosted services: operators.yaml with roles and argon2id passwords, TOTP, session cookies with CSRF checks and admin bearer tokens, and an audit record of every operator call
game/pkg/online/adminРуководство APIadmin gives the self-hosted services an operator door of their own: who the operators are, what each may do, how they sign in, and an audit record of every operator call that changes something.
game/pkg/online/admin/consoleРуководство APIMainland China minor play windows and spending caps by age band, on the server's clock and holiday calendar
game/pkg/online/antiaddictionРуководство APIAppend-only JSON Lines audit log of a server's administrative events: one file per UTC day, a non-blocking queue with a drop counter, retention
game/pkg/online/auditРуководство APIOne embeddable http.Handler that mounts the online services under their prefixes and serves authenticated, compiled game RPCs at POST /v1/rpc/{name}
game/pkg/online/backendРуководство APISelf-hosted cloud saves behind liveops.CloudSync: per-account slots over HTTPS, conditional writes that turn concurrent saves into conflicts, size limits, kept versions with restore, SQLite (cloudsave/sqlitestore) and Postgres (cloudsave/pgstore) stores
game/pkg/online/cloudsaveРуководство APIgithub.com/nsgo-dev/game/pkg/online/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
game/pkg/online/cloudsave/pgstoreРуководство APIgithub.com/nsgo-dev/game/pkg/online/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
game/pkg/online/cloudsave/sqlitestoreРуководство APIgithub.com/nsgo-dev/game/pkg/online/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
game/pkg/online/cloudsave/sqlstoreРуководство APIgithub.com/nsgo-dev/game/pkg/online/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
game/pkg/online/cloudsave/storetestРуководство APIServer-owned wallets: currencies with balance caps declared in a versioned config, and grants, spends and exchanges applied once per idempotency key
game/pkg/online/economyРуководство APIEpic Online Services boundary: exchange-code login, achievements, leaderboards and rich presence over an injected asynchronous driver, results on the engine goroutine
game/pkg/online/eosРуководство APIHeadless fixed-step Runner for dedicated servers: several matches at their own rates, overrun reports and bounded signal shutdown
game/pkg/online/gameserverРуководство APILAN game advertisements with validated player counts and deterministic TXT metadata for discovery
game/pkg/online/lanРуководство APIBoards declared once in YAML, scores submitted and native boards shown through Game Center or Play Games
game/pkg/online/leaderboardРуководство APISelf-hosted cross-platform leaderboards: all-time, daily and weekly boards with kept past periods, scores authenticated by account tokens and optionally signed by the game server, top-N, around-me and friends queries
game/pkg/online/leaderboard/selfhostРуководство APIleaderboard/selfhost is a self-hostable leaderboard service for games that run on several platforms or on platforms without a game service (the web, Windows, Linux).
game/pkg/online/leaderboard/selfhost/pgstoreРуководство APIleaderboard/selfhost is a self-hostable leaderboard service for games that run on several platforms or on platforms without a game service (the web, Windows, Linux).
game/pkg/online/leaderboard/selfhost/sqlitestoreРуководство APIleaderboard/selfhost is a self-hostable leaderboard service for games that run on several platforms or on platforms without a game service (the web, Windows, Linux).
game/pkg/online/leaderboard/selfhost/sqlstoreРуководство APIProvider-agnostic crash reports, consent-gated analytics, the CloudSync interface and in-app purchases credited into the save
game/pkg/online/liveopsРуководство APIliveops.Portal provides a provider-neutral seam for Poki and CrazyGames web SDKs.
game/pkg/online/liveops/crashreportРуководство APICross-target WebSocket/UDP/loopback transports, delta replication and lockstep/rollback netcode
game/pkg/online/netplayРуководство APIgame/online/netplay provides cross-target multiplayer networking for NSGo games: a unified Transport across WebTransport (HTTP/3 QUIC, native + WebAssembly), WebSocket (native + WebAssembly), native UDP, and simulated loopback; server-authoritative delta snapshot replication with client prediction and interpolation; and deterministic lockstep and rollback netcode.
game/pkg/online/netplay/roomstateРуководство APIgame/pkg/online/netplay/wire defines the YAML wire message schema format used by pkg/online/netplay and game-specific binary payloads (such as typed EntityState.Props), pure-integer float quantization helpers, MSB-first bit packing, and a deterministic zero-allocation Go codec generator driven by game wire.
game/pkg/online/netplay/wireРуководство APIGateway port-mapping contract for player-hosted servers, with providers for UPnP, NAT-PMP or PCP plugged in per target
game/pkg/online/portmapРуководство APIRich presence on Steam (ISteamFriends via purego) and Discord (pure Go local IPC v1) behind a provider-neutral Activity and Manager
game/pkg/online/presenceРуководство APINotifications to accounts: live delivery to online subscribers and persistent history kept while offline
game/pkg/online/realtimeРуководство APIServer-authoritative JSON records per owner, collection and key: optimistic versions, read permissions and all-or-nothing transactions
game/pkg/online/recordsРуководство APIDeployment endpoints of online services: /healthz, /readyz with a database ping and Prometheus /metrics, requests by route and status with latency
game/pkg/online/servicehealthРуководство APIServer-side social cores: friend and block graph, groups with roles, parties with leader handover, and chat channels with moderation and retention
game/pkg/online/socialРуководство APIInjectable Steamworks boundary for achievements, stats, leaderboard scores and rich presence; games supply the native Driver
game/pkg/online/steamРуководство APIOne process-wide Steamworks client (purego): init, the per-frame manual-dispatch callback pump, overlay, join and lobby events, +connect launch joins, Web API auth tickets and Steam Deck text input, shared by presence and modding
game/pkg/online/steamworksРуководство APIliveops.Portal provides a provider-neutral seam for Poki and CrazyGames web SDKs.
game/pkg/online/storeverify/wechatpayРуководство APIPlain WebSocket client for third-party servers, with the same API on native and web targets
game/pkg/online/wsclientРуководство APIai cover points generated from the colliders of a physics3d world on the XZ plane
game/pkg/ai/cover3dРуководство APIai perception for 3D agents on math3d.Vec3, with physics3d line of sight
game/pkg/ai/perception3dРуководство API3D pose state machines, 1D/2D blend spaces, bone-masked/additive layers, clip events, IK and root motion
game/pkg/anim3dРуководство APIPure-Go glTF 2.0 and GLB loader: typed accessors, node hierarchy, PBR materials, skins, morph targets, animations and Draco/meshopt compression
game/pkg/gltfРуководство APIKTX2 texture container encoding and decoding, mipmap chains, Basis Universal ETC1S and UASTC codecs and transcoding to BC, ETC2 and ASTC blocks
game/pkg/ktx2Руководство API3D vectors, matrices, quaternions, transforms, bounds, rays, frustums and conventions
game/pkg/math3dРуководство APIgame/mcp exposes a running game's scenes, layers, entities, components, fixed-step loop controls, game-coordinate input injection, tunables, debug console, loaded asset groups and hot reload controls to coding agents over MCP through NSGo's github.com/nsgo-dev/nsgo/automation package.
game/pkg/mcp/mcp3dРуководство APIMulti-level 3D NavMesh with areas, off-mesh links and reusable queries, NavAgent groups, and tiled meshes with dynamic obstacles that stream with world3d chunks
game/pkg/pathfind3dРуководство APINavigation meshes baked from glTF, terrain, GridMap and physics level geometry per agent type, saved as YAML a scene names, with debug drawing and game navmesh
game/pkg/pathfind3d/navbake3dРуководство APIDeterministic 3D collision detection, raycasts, rigid-body dynamics and a kinematic character controller
game/pkg/physics3dРуководство APIGPU mesh buffers, textures and samplers, camera uniforms, CPU frustum culling, draw sorting, 0-alloc instancing, LOD hysteresis, debug draw/gizmos, billboards, 3D ribbon trails and GPU budgets
game/pkg/render3dРуководство API3D node tree, sockets/attachments, dynamic fat-AABB/SAH BVH, Orbit/FPS/ThirdPerson cameras and picking
game/pkg/scene3dРуководство APIScene file objects drawn in 3D: built-in primitives and glTF models with material overrides, built into a scene3d tree with bounds and drawn by a lit, textured renderer
game/pkg/scenemodelРуководство APIRaycast cars on physics3d: wheel suspension, tire friction and a car controller, race checkpoints and laps, and YAML car files and lap ghosts
game/pkg/vehicle3dРуководство APIChunked 3D voxel worlds with greedy meshing, cross-chunk culling and AO, dirty-chunk editing, DDA raycasting and YAML saves
game/pkg/voxelРуководство APIHeightmap terrain, 3D GridMap, scattered foliage and floating-origin chunk streaming
game/pkg/world3dРуководство API