143 paquets. N’importez que l’essentiel.
Des sprites aux serveurs dédiés, chaque paquet a son guide et est marqué stable ou expérimental.
Loop, the fixed-step loop every package shares
Async per-scene asset groups, reactive progress and LoadingScreen
A small, zero-reflection entity-component-system (ECS) for NSGo games: generational entities, typed sparse-set components, allocation-free queries, topologically ordered systems, prefabs and JSON world snapshots integrated with game/save.
Named actions and axes from touch regions, mouse buttons, keyboard keys, pointer-lock mouselook and game controllers, persisted in core.Storage
Every loader and validator in this module returns the same error type when a file cannot be used: *loaderr.Error from github.com/nsgo-dev/game/pkg/loaderr.
Shared 2D Vec2, Rect, Circle and Affine types with lossless core conversions
Box/Circle overlaps, MoveAndSlide tile resolution and World queries
A 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.yaml, the one project file: window, virtual resolution, input map, audio buses, autoloads and export presets, kept in step with nsgo.yaml
A deterministic simulation produces the exact same state from the same starting seed and inputs on every run, across macOS, iOS, Windows, Linux, Android and the web.
- refsCœurExpérimental
Stable file IDs, the project index and moves that rewrite every reference to a file, behind game mv, game index and game check
Shared YAML resource files (materials, curves, gradients, animation clips, UI themes, bus layouts, physics materials) and a Library that shares and reloads them
Versioned JSON save slots, schema migrations and atomic backup recovery
World/screen layers, hit testing, scene stacks and animated transitions
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.
Virtual resolution Viewport scaling, pixel snapping, safe-area rectangles and video settings
The Mixer, its effects and music
Atlases, frames, animations, sprites and batches drawn into a Canvas
- textCœurExpérimental
AngelCode BMFont bitmap fonts, signed-distance-field fonts in 2D and 3D world space, and platform text via DrawPlatform
2D Camera, culled tilemaps, Tiled .tmj loader, animated tiles and raycasts
Tilemap collision and lighting geometry: a physics TileGrid view, slopes from per-tile shapes, merged outlines and lights2d occluders
- abilityGameplayExpérimental
YAML ability sets and a per-step Caster: costs, cooldowns, charges, cast and channel times and conditions driven by input actions
Grid AStar, 2D NavMesh, steering behaviors, behavior trees and perception
- animclipGameplayExpérimental
Animation clips that key any registered property, played on scene objects through tween.Timeline
- bulletsGameplayExpérimental
Shooter bullet patterns (rings, spirals, aimed bursts) from YAML, pooled and drawn through a sprite batch
- cardsGameplayExpérimental
Drag and drop between board slots with snap and return, fanned hands, decks, piles and grids, and YAML board files
- cutsceneGameplayExpérimental
Skippable video cutscenes over the game's view, in a scene or between scenes, from YAML files
- fightingGameplayExpérimental
Per-step input buffer, numpad motion inputs, charges, double taps, chords and combos from YAML move sets
Game-clock Timers, Machine[S], Seq/Parallel/Race and typed event Bus
- framedataGameplayExpérimental
Fighting game hitboxes, hurtboxes, hitstun and cancel windows per frame in YAML, resolved deterministically each step
- idleGameplayExpérimental
Number past float64's range, capped offline progress and short/scientific/locale formatting of large numbers
- inventoryGameplayExpérimental
Item definitions in YAML, stacking slot containers, typed equipment slots and save snapshots
- lootGameplayExpérimental
Nested weighted drop tables in YAML with guaranteed drops and hard/soft pity counters on seeded streams
- navbakeGameplayExpérimental
Bakes ai.NavMesh polygons from concave obstacles or a tilemap's solid cells for each agent radius, saved as versioned YAML, with a debug overlay
- particlesGameplayExpérimental
Seeded deterministic 2D Emitter, spawn shapes, bursts and lifetime curves
- platformerGameplayExpérimental
Platformer Controller on CharacterBody: coyote time, jump buffer, variable jump height, wall slide and wall jump from a YAML config
- playtestGameplayExpérimental
Define automated playtests in playtest.yaml, run bots headless across seeded runs with deterministic input recordings, and check measured metrics against the game's goals.
- procgenGameplayExpérimental
Seeded BSP rooms, cellular-automata caves and wave function collapse from YAML rules, with connectivity checks and tilemap painting
- questGameplayExpérimental
YAML quest books with collect/reach/defeat/talk objectives, prerequisites and rewards, advanced by bus events and saved as snapshots
- rhythmGameplayExpérimental
YAML beat maps with tempo and meter changes, a music clock on the audio clock, and per-device audio/video latency calibration
- roomsGameplayExpérimental
Room maps with per-room camera bounds and cut, slide or fade transitions between them
- rtsGameplayExpérimental
Flow fields, a Crowd of many units with separation, YAML formations, box/click selection and control groups
- skeletalGameplayExpérimental
2D skeletal rigs, forward kinematics, skins, keyframe animation and crossfade blending, drawn into a core.Drawing through sprite.Batch.
- statsGameplayExpérimental
Base stats with add/mul/override modifiers from sources, recomputed on change, timed modifiers on the fixed step and a YAML stats file
Fixed-step Tween, Timeline and camera choreography helpers
- undoGameplayExpérimental
Reversible moves with unlimited undo, redo and Seek, saved as a YAML Log
- vnGameplayExpérimental
Visual novel presenter: YAML cast of portraits and expressions, name plates, typewriter text box, choices, backlog, auto/skip modes and voice lines
- vn/cmd/vnsampleGameplayExpérimental
github.com/nsgo-dev/game/pkg/vn plays a dialogue script as a visual novel: character portraits with expressions, a text box with name plates and a typewriter, choices, a backlog, auto and skip modes, and voice lines.
game/pkg/vn/cmd/vnsampleGuide - a11yGraphismes et UIExpérimental
Live captions, color-blind palettes and CVD simulation, persisted assist options and accessible menus
- effectsGraphismes et UIExpérimental
Kage shader passes chained over the game's frame in one draw, uniforms on the frame clock and CPU reference pictures
- fogGraphismes et UIExpérimental
Per-team fog of war: shadowcast vision sources, explored versus visible cells, map overlay and JSON saves
- gameuiGraphismes et UIExpérimental
In-canvas box-layout menus, virtual-resolution scaling, spatial focus nav and world-anchored views
- l10nGraphismes et UIExpérimental
JSON string tables with CLDR plurals, script FontSet, RTL visual ordering and per-language asset catalogs
- lights2dGraphismes et UIExpérimental
2D ambient darkness, point/cone lights, visibility-polygon shadows and normal-mapped sprites
- pixelfxGraphismes et UIExpérimental
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
- pixelfx/arcaneGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/crittersGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/explosionsGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/fireGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/holyGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/iceGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/impactsGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/lightningGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/meleeGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/movesGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/natureGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/pickupsGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/projectilesGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/scifiGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/shadowGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/spawnGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/statusGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/transitionsGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/uiGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/waterGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- pixelfx/weatherGraphismes et UIExpérimental
game/pixelfx is a Go port of pixelfx, a library of pixel art effects and animations under the MIT license.
- qualityGraphismes et UIExpérimental
Low, medium and high presets picked from the device class and measured frame times, overridable in settings
- worldmapGraphismes et UIExpérimental
YAML room maps, saved room discovery and markers, a minimap of the current area and a world map
- cmd/editorOutilsExpérimental
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/editorGuide - cmd/gameOutilsExpérimental
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, play input recordings headless, check benchmarks against a stored baseline, create projects, 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/gameGuide - cmd/gameapiOutilsExpérimental
Writes the exported API of a Go module's packages, read from their source and doc comments, as the JSON of package apiref: the reference the website renders as its API pages and publishes at /api.json for agents.
game/cmd/gameapi github.com/nsgo-dev/game/pkg/project reads, checks, writes and applies game.yaml, the one file at a game's root that holds its settings: its name, id and version, its window and virtual resolution, its input map, its audio buses, the scenes and resources it loads at startup, its export presets per platform, the editor plugins it turns on, its asset pipeline and the library packs installed into it.
game/cmd/gameprojectGuideEvery file a game's author writes is YAML text, and each format has a JSON Schema so editors and AI tools can complete keys, show each field's description on hover and flag mistakes while the file is being written, before the game loads it.
game/cmd/gameschemaGuidegame 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, play input recordings headless, check benchmarks against a stored baseline, create projects, 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-gameGuidesizecheck 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/cmd/sizecheckGuidesizecheck 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/cmd/wasmprobeGuide- debugOutilsExpérimental
Frame-time graph, wireframe shapes, scene inspector and -tags release stripping
- editorOutilsExpérimental
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.
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/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.
- gametestOutilsExpérimental
Provides deterministic software rendering of nsgo Canvas draw operations, golden PNG comparison, and visual diff generation for tests.
game/pkg/gametestAPI - mcpOutilsExpérimental
MCP tools registered through nsgo/automation to inspect running scenes, layers, entities and components
- moddingOutilsExpérimental
Capability-sandboxed TSX "game" modding API and mod.yaml dependency/lifecycle manager
- perfOutilsExpérimental
Zero-alloc Pool/Arena/SlicePool, SpatialHash, Quadtree and CullBatch
- replayOutilsExpérimental
Input Recorder/Player with editable YAML recordings and deterministic test assertions
- statedumpOutilsExpérimental
Headless runs dumped as deterministic YAML (entities, components, scene stack, values) and a line Diff between runs
Reads the exported API of a Go module's packages from their source and doc comments, as go doc shows it, into a Reference: the JSON the website renders as its API pages and publishes for agents.
game/pkg/tooling/apirefAPIgame 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, play input recordings headless, check benchmarks against a stored baseline, create projects, 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 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, play input recordings headless, check benchmarks against a stored baseline, create projects, 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.
Decodes, processes, and encodes game audio assets in pure Go, with optional AAC and MP3 conversion via ffmpeg or macOS afconvert when present on PATH.
game/pkg/tooling/audioconvAPIgame 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, play input recordings headless, check benchmarks against a stored baseline, create projects, 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 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, play input recordings headless, check benchmarks against a stored baseline, create projects, 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.
Typed data tables in versioned YAML (and CSV/JSON) with cell-level errors, deterministic saves and hot reload
game/pkg/tooling/datatableAPISaves and restores the running game scene, fixed-step loop clock, and serialized state across Go rebuilds during development.
game/pkg/tooling/devstateAPIWatches game assets on disk during development and delivers reloads on the NSGo engine goroutine without restarting the app.
game/pkg/tooling/hotreloadAPIgame 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, play input recordings headless, check benchmarks against a stored baseline, create projects, 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.
JSON Schemas built from Go types for editors and AI tools, the published scene schema and validation with JSON Pointer paths
- tooling/ktx2OutilsExpérimental
Provides a pure-Go KTX2 v2.0 texture container encoder, decoder, supercompression decoder (BasisLZ, Zstandard, ZLIB), mipmap chain generator, Basis Universal ETC1S and UASTC 4x4 codecs, and block texture transcoder (BC1, BC3, BC7, ETC2 RGB8/RGBA8, ASTC 4x4, RGBA8).
game/pkg/tooling/ktx2API 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
Walks an assets directory and generates a typed Go source file referencing every asset, so missing or removed assets fail the build at compile time.
game/pkg/tooling/manifestAPI- tooling/packOutilsExpérimental
Packs a folder of PNG images into sprite atlas pages and TexturePacker JSON-hash metadata that sprite.LoadAtlas reads directly.
game/pkg/tooling/packAPI - accountsEn ligneExpérimental
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
github.com/nsgo-dev/game/pkg/accounts is a self-hostable player account service.
game/pkg/accounts/cmd/accountsdGuide- accounts/pgstoreEn ligneExpérimental
github.com/nsgo-dev/game/pkg/accounts is a self-hostable player account service.
- accounts/sqlitestoreEn ligneExpérimental
github.com/nsgo-dev/game/pkg/accounts is a self-hostable player account service.
- accounts/sqlstoreEn ligneExpérimental
github.com/nsgo-dev/game/pkg/accounts is a self-hostable player account service.
- accounts/storetestEn ligneExpérimental
github.com/nsgo-dev/game/pkg/accounts is a self-hostable player account service.
- accounts/tokenEn ligneExpérimental
github.com/nsgo-dev/game/pkg/accounts is a self-hostable player account service.
- achievementsEn ligneExpérimental
Achievements declared in versioned YAML, monotonic progress persisted in core.Storage, and reporting to Game Center and Play Games
- cloudsaveEn ligneExpérimental
Self-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/Postgres stores
github.com/nsgo-dev/game/pkg/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
game/pkg/cloudsave/cmd/cloudsavedGuide- cloudsave/sqlstoreEn ligneExpérimental
github.com/nsgo-dev/game/pkg/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
- cloudsave/storetestEn ligneExpérimental
github.com/nsgo-dev/game/pkg/cloudsave is a self-hostable cloud save service: each player account has save slots over HTTPS, kept in versions.
- leaderboardEn ligneExpérimental
Boards declared once in YAML, scores submitted and native boards shown through Game Center or Play Games
- leaderboard/selfhostEn ligneExpérimental
Self-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
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/pkg/leaderboard/selfhost/cmd/leaderboarddGuide- liveopsEn ligneExpérimental
liveops holds provider-agnostic live operations primitives for NSGo games.
- netEn ligneExpérimental
Cross-target WebSocket/UDP/loopback transports, delta replication and lockstep/rollback netcode
- presenceEn ligneExpérimental
Rich presence on Steam (ISteamFriends via purego) and Discord (pure Go local IPC v1) behind a provider-neutral Activity and Manager
- serverEn ligneExpérimental
Headless fixed-step Runner for dedicated servers: several matches at their own rates, overrun reports and bounded signal shutdown
github.com/nsgo-dev/game/pkg/server runs a game's fixed-step updates in a plain Go process, without an NSGo app, window, core.Scope or cgo.
game/pkg/server/cmd/dedicatedserverGuideai perception for 3D agents on math3d.Vec3, with physics3d line of sight
3D pose state machines, 1D/2D blend spaces, bone-masked/additive layers, clip events, IK and root motion
Prepare static, skinned, and animated 3D models in Blender 4.x or convert FBX and OBJ assets into glTF 2.0 (.glb/.gltf) matching NSGo's 3D conventions, verified against two committed round-trip sample models.
3D vectors, matrices, quaternions, transforms, bounds, rays, frustums and conventions
Navigation 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
Compact, deterministic 3D collision detection, raycasting, rigid-body dynamics, and a kinematic character controller written in pure Go.
GPU 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
3D node tree, sockets/attachments, dynamic fat-AABB/SAH BVH, Orbit/FPS/ThirdPerson cameras and picking
Scene 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
Raycast cars on physics3d: wheel suspension, tire friction and a car controller, race checkpoints and laps, and YAML car files and lap ghosts
Chunked 3D voxel worlds with greedy meshing, cross-chunk culling and AO, dirty-chunk editing, DDA raycasting and YAML saves
Heightmap terrain, multi-level 3D navmeshes, 3D GridMap, scattered foliage and floating-origin streaming