GitHubНачать

Справочник API

Каждый пакет игрового слоя, собранный из doc-комментариев в исходном коде, с якорем для каждого экспортированного идентификатора. Агенты могут читать тот же справочник в JSON по адресу api.json.

Пакеты

game
Package game is a game layer for NSGo apps: a fixed-step loop, input actions, sprites, tilemaps, scenes and sound, built on NSGo's public API only, so an app that does not import it links none of it.
a11y
Package a11y adds game accessibility primitives built on NSGo's public API: live captions for dialogue and sound effects, color-blind-safe palettes with CVD simulation and WCAG contrast helpers, persistent assist options, and screen-reader-ready native menus.
ability
Package ability runs gameplay abilities with costs, cooldowns, charges, cast and channel times and conditions, activated by input actions and advanced one fixed game.Loop step at a time.
accounts
Package accounts is a self-hostable player account service: guest accounts that upgrade to email sign-in or to a linked OAuth or platform identity (Game Center, Play Games, Steam), and short-lived tokens a game server verifies offline.
achievements
Package achievements declares a game's achievements once, in a versioned YAML file, tracks each player's progress toward them, and reports that progress through NSGo's platform game services: Game Center on macOS, iOS and tvOS, and Google Play Games Services on Android.
ai
Package ai provides deterministic game AI building blocks: grid A* pathfinding (with line-of-sight smoothing, bounded expansion budgets, partial paths, incremental searches, and budgeted request queues), HPA* hierarchical pathfinding with incremental cluster updates, Jump Point Search (JPS) for uniform-cost grids, generic graph A*/Dijkstra/range search with hex tilemap adapters and 2D/3D waypoint graphs, 2D navigation meshes with funnel smoothing, polygon areas/filters, and path-corridor navigation agents, steering behaviors, velocity-based local avoidance (ORCA) in 2D and 3D XZ, behavior trees, utility AI scoring, goal-oriented action planning (GOAP), attack token pools, engagement slot assignment, squad coordination, spatial influence maps, tactical position queries with cover points, and perception with sight, hearing and memory.
anim3d
Package anim3d provides 3D skeletal animation playback for glTF 2.0 models, state machines, 1D/2D blend spaces with foot-phase synchronization, layered bone-masked and additive blending, timed animation events, inverse kinematics solvers, and root motion extraction for NSGo 3D games.
animclip
Package animclip plays animation clips, the resource files of type animation that key any registered property of scene objects on a timeline, as Godot's AnimationPlayer does.
assets
Package assets loads a game's atlases, sounds, images and custom data asynchronously without blocking display frames, organizes them into named per-scene groups with reactive progress, releases them when a scene ends, and provides a loading screen component.
bullets
Package bullets spawns, moves and draws the bullet patterns of shooters: rings, spirals and aimed bursts defined in versioned YAML.
cards
Package cards drags cards between the slots of a board in the game view and lays them out as fanned hands, decks, piles and grids, animating every move with game/tween on game.Loop's fixed steps.
cloudsave
Package cloudsave is a self-hostable cloud save service: per-account save slots over HTTPS, kept in versions so that concurrent writes from two devices are refused rather than silently overwritten, slots over a size limit are rejected, and the last few versions of each slot can be listed and restored.
cutscene
Package cutscene plays video and in-engine timeline cutscenes in a game: in a scene or between scenes, skippable by a press, a key or back, and calling the game back when one ends or is skipped.
debug
Package debug holds development-only tooling and overlays for NSGo games: a frame-time graph, collision and sprite-bounds wireframes, a live scene inspector, a behavior tree and state machine inspector with steering guides, an interactive dev console with typed tunables, named timing scopes with Chrome/Perfetto trace export, an asset memory tracker with budgets, and a GC/allocation monitor.
editor
Package editor implements the NSGo Scene Editor over pkg/sceneformat.
effects
Package effects draws a game's frame through a chain of shader passes, in order, with uniforms animated on the platform's frame clock.
entities
Package entities provides 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.
fighting
Package fighting buffers per-step fighting-game input and recognizes motion inputs (quarter circles, dragon punches, charges, double taps), button presses and combos from YAML move sets.
flow
Package flow holds gameplay flow primitives driven by a game.Loop's fixed steps: game-clock timers, finite and hierarchical state machines, step sequences, a typed event bus and a branching dialogue runtime.
fog
Package fog tracks fog of war for strategy games: which cells of an orthogonal, isometric, staggered or hexagonal tile grid each team has explored and which it can see right now.
framedata
Package framedata gives fighting games per-frame hitboxes, hurtboxes and hit properties for their moves, authored as versioned YAML and resolved deterministically once per fixed step.
gametest
Package gametest provides deterministic software rendering of nsgo Canvas draw operations, golden PNG comparison, and visual diff generation for tests.
gameui
Package gameui provides stylized in-canvas menus, spatial focus navigation, virtual-resolution scaling, and world-anchored native NSGo overlays.
gltf
Package gltf implements a pure-Go glTF 2.0 (.gltf) and binary GLB (.glb) asset loader using only the Go standard library and pkg/math3d.
idle
Package idle provides the arithmetic idle and incremental games need: a Number that holds values far beyond float64's range, progress earned while the game was closed, and formatting of very large numbers in short (1.23K, 4.5万), letter, scientific (1.23e45), engineering and full forms.
input
Package input turns touch regions, mouse buttons, relative mouse motion under a pointer lock, keyboard keys, game controller buttons and sticks, and device motion sensors into named actions and axes sampled once per game.Loop step, saves bindings in core.Storage across launches, and plays haptic and rumble feedback.
inventory
Package inventory holds gameplay items: item definitions read from versioned YAML, slot-based containers of item stacks, typed equipment slots, and snapshots that round-trip through a game/save Store.
l10n
Package l10n provides localization for NSGo games: versioned YAML and JSON string tables with BCP-47 locale fallback, interpolation, and CLDR pluralization; per-language asset resolution, fs.FS discovery, versioned YAML asset manifests, runtime locale switching, and missing-variant auditing; Unicode script detection and per-script/per-locale font selection; and right-to-left text reordering and HUD layout mirroring.
leaderboard
Package leaderboard submits scores to and shows the platform's leaderboards, Game Center on Apple platforms and Play Games Services on Android, through NSGo's gameservices package.
lights2d
Package lights2d implements 2D lighting for NSGo games: point and spot lights composited over ambient darkness, exact 2D visibility-polygon shadows from occluders, and tangent-space normal-mapped sprite shading.
liveops
Package liveops holds provider-agnostic live operations primitives for NSGo games: crash reports, consent-gated analytics, a cloud-save sync interface and in-app purchases credited into the save.
loaderr
Package loaderr is the error that every loader and validator in this module returns for a file it cannot use: which file, which line and column, which field, what was wrong, what was expected and how to fix it, so a person or an agent reading the message can act on it without opening the loader's source.
loot
Package loot rolls nested weighted drop tables with guaranteed drops and pity counters on the deterministic streams of package random.
math2d
Package math2d provides small, zero-allocation 2D value types shared by game packages: vectors (Vec2), axis-aligned rectangles (Rect), circles (Circle), and 3×2 affine transforms (Affine).
math3d
Package math3d provides 3D linear algebra, rotations, transforms, and spatial primitives for NSGo 3D games using pure Go float32 types with zero external dependencies.
mcp
Package mcp exposes a running NSGo game's state to coding agents over MCP through github.com/nsgo-dev/nsgo/automation.
modding
Package modding loads and runs sandboxed TSX/JS game mods on top of NSGo's tsx runtime.
navbake
Package navbake bakes 2D navigation meshes for game/ai from level geometry: an outline with concave obstacles and holes, or a tilemap's solid cells, shrunk by an agent's radius and divided into the convex polygons ai.NavMesh searches.
navbake3d
Package navbake3d bakes 3D navigation meshes from level geometry, as Recast, Godot's NavigationRegion3D and Unity's NavMeshSurface do, so a 3D game no longer authors world3d.NavMesh polygons by hand.
net
Package net provides cross-target multiplayer primitives for NSGo games:
particles
Package particles provides a deterministic 2D particle emitter stepped by game.Loop and drawn through sprite.Batch.
perf
Package perf provides allocation-free game-loop performance primitives built on NSGo's public core types and the game sprite package:
physics
physics3d
Package physics3d provides compact, deterministic 3D collision detection, raycasting, rigid-body dynamics, and a kinematic character controller in pure Go.
pixelfx
Package pixelfx is a Go port of pixelfx (https://github.com/patch-gg/pixelfx), a library of pixel art effects and animations, each a small procedural program: fire, explosions, magic, weather, UI, pickups, transitions, critters, and character moves acted out with wind-up, hit-stop and recovery.
placeholder
Package placeholder is a small asset pack for prototypes, tutorials and the examples, dedicated to the public domain under CC0 1.0 (License): sprite sheets, a tileset with a Tiled tileset and a sample level, a pixel font, sound effects and a music loop, and three glTF models.
platformer
Package platformer provides a platformer character controller on top of physics.CharacterBody: coyote time, jump buffering, variable jump height, wall slides and wall jumps, each with its own tunable timing.
playtest
Package playtest defines playtest.yaml (bots, seeded headless runs, metrics and goals), a metrics collection API for games, a deterministic headless playtest runner with replay recordings and YAML reports, and built-in bot profiles (platformer-runner, topdown-explorer, shooter, puzzle-solver, and card-ai).
presence
Package presence reports what the player is doing (level, game mode, party size, timestamps, artwork, and custom localization tokens) to Steam and Discord friend lists through a single provider-neutral API.
procgen
Package procgen generates seeded, deterministic 2D levels on a tile grid: BSP rooms joined by corridors, cellular-automata caves, wave function collapse over a YAML rule set, and hand-made room templates placed on a dungeon layout graph.
project
Package project reads, validates, writes and applies game.yaml, the one project file at the root of a game that holds its settings.
quality
Package quality picks a game's low, medium or high quality preset (resolution scale, particle budget, effects and shadows) from the device it runs on and the frame times it measures, and lets the player override the choice in settings.
quest
Package quest runs quests with objectives (collect, reach, defeat, talk), quest states and rewards, defined in a versioned YAML Book and advanced by game events.
random
Package random provides deterministic, cross-platform pseudo-random streams, procedural noise generators, and helpers for verifying simulation determinism.
refs
Package refs keeps the references between a game project's files working when files are renamed or moved: it finds every reference, rewrites the ones a move breaks, and finds a file again after it was moved without the tools.
render3d
Package render3d provides the GPU-agnostic pure-Go 3D render-queue pipeline and developer tools for NSGo 3D games.
replay
Package replay records per-step game input to versioned YAML text files and plays it back deterministically for debugging and automated tests.
resource
Package resource reads, validates and writes shared resource files: reusable data that scenes and code reference by path instead of repeating it, as Godot's .tres files are.
rhythm
Package rhythm keeps a rhythm game in time with its music: a beat map read from YAML, a music clock that reads the track's position and beat at any engine time, and a calibration of each device's audio and video latency.
rooms
Package rooms splits a 2D world into rooms with their own camera bounds and moves a tilemap.Camera between them with a cut, slide or fade transition, as metroidvania platformers do.
rts
Package rts provides the unit-control layer of a real-time strategy game: whole-grid and HPA* sector-limited flow fields that steer many units toward a goal over an ai.Grid, a Crowd that moves those units with push-apart separation or ORCA local avoidance and wall sliding, formations defined in versioned YAML, box and click selection, and numbered control groups.
save
Package save stores a game's save slots as versioned JSON in either the app's key-value storage (core.Storage) or files in a directory such as cx.DataDir.
scene
Package scene organizes a game into ordered world- and screen-space layers, hit-tests sprites and custom shapes in view coordinates, and manages scene lifecycles, stacks, and transitions.
scene3d
Package scene3d provides a 3D scene graph, named socket attachments, a dynamic AABB Bounding Volume Hierarchy (BVH), BVH-accelerated spatial queries, perspective and orthographic cameras, camera controllers (orbit, first-person, third-person follow), screen-space picking, and box-projected 3D decals (Decal, DecalPool, GPUDecalRenderer) built on math3d.
sceneformat
Package sceneformat reads, validates, encodes and builds versioned YAML scene documents for NSGo games.
scenemodel
Package scenemodel gives the objects of a scene file their 3D look: the built-in primitive an object names in mesh, or the glTF 2.0 model it names in model, optionally narrowed to one node (modelNode) or one mesh (modelMesh), with the material file it names in material replacing the model's materials (sceneformat.ObjectDoc).
screen
Package screen maps a game's virtual canvas onto any window size, converts pointer input between view and virtual coordinates, keeps HUD layers inside the platform's safe area, and applies a player's video settings (full screen, display and frame cap) with Video.
server
Package server runs one or more matches of a game at fixed tick rates in a plain Go process, without an NSGo app, window or core.Scope.
skeletal
Package skeletal loads, saves and animates 2D skeletal rigs drawn through sprite.Batch.
sound
sprite
statedump
Package statedump runs a game headless for a fixed number of steps and writes its entities, components and scene state as deterministic YAML, so an agent or a test can diff one run against another.
stats
Package stats holds gameplay stats: named base values changed by additive, multiplicative and override modifiers that come from sources such as equipment and buffs, with timed modifiers counted in fixed steps.
text
Package text draws bitmap fonts (AngelCode BMFont) through sprite batches, signed-distance-field fonts that stay sharp at any size on the screen or in 3D world space (SDFFont, WorldText), and platform-rendered text through core.Drawing.
tilemap
Package tilemap draws tiled worlds, queries tile flags and rays against them, loads Tiled maps, and moves a 2D camera over the world.
tileshape
Package tileshape derives collision and lighting geometry from a tilemap: a View that physics.MoveAndSlide, physics.CharacterBody, the platformer controller and physics.World take as their physics.TileGrid, the physics.Slope segments of slanted and partial tiles, the merged outline of solid cells and tile shapes, static boxes, and lights2d occluders.
tween
Package tween animates values, timelines, and tilemap cameras deterministically on fixed game.Loop steps using NSGo easing curves.
undo
Package undo records the reversible moves of puzzle and turn-based games, with unlimited undo and redo.
vehicle
Package vehicle simulates raycast cars on a physics3d.World: wheel colliders cast from the chassis, spring-damper suspension, longitudinal and lateral tire friction inside a friction circle, and engine, brake, steering and handbrake input.
vn
Package vn presents dialogue scripts as a visual novel: character portraits with expressions standing in stage slots, a text box with name plates and a typewriter, choices, a backlog, auto and skip modes, and voice lines.
voxel
Package voxel provides chunked 3D voxel worlds with greedy meshing, cross-chunk face culling, incremental per-voxel sky and block light propagation, incremental dirty-chunk remeshing, DDA voxel raycasting, and deterministic versioned YAML persistence.
world3d
Package world3d provides 3D world-building primitives for NSGo 3D games: heightmap terrain, 3D navigation meshes and path-corridor navigation agents, 3D GridMaps of modular mesh tiles, procedural foliage/scattered instance fields, and large-world chunk streaming with floating-origin rebasing.
worldmap
Package worldmap keeps track of which rooms of a game world the player has discovered and draws them as a minimap of the current area and a world map, with markers.

accounts

accounts/pgstore
Package pgstore opens an accounts.Store in a Postgres database with the github.com/jackc/pgx/v5 driver.
accounts/sqlitestoreТолько на linux, macos, windows, android, ios
Package sqlitestore opens an accounts.Store in a SQLite database file, with the pure-Go modernc.org/sqlite driver (no cgo).
accounts/sqlstore
Package sqlstore is an accounts.Store over database/sql, shared by the SQLite (package sqlitestore) and Postgres (package pgstore) stores.
accounts/storetest
Package storetest checks an accounts.Store implementation against the Store contract.
accounts/token
Package token issues and verifies the short-lived player tokens of the accounts service.

ai

ai/perception3d
Package perception3d is ai's perception for agents in a 3D world: sight cones around a forward vector, hearing and per-stimulus memory on math3d.Vec3, with line of sight through physics3d raycasts or a game's own check.

cloudsave

cloudsave/sqlstore
Package sqlstore is a cloudsave.Store over database/sql, for SQLite (OpenSQLite, with the pure-Go modernc.org/sqlite driver) and Postgres (OpenPostgres, with github.com/jackc/pgx/v5).
cloudsave/storetest
Package storetest checks a cloudsave.Store against the contract the service relies on.

editor

editor/editorcmd
Package editorcmd is the scene editor's command line, which `go tool game editor` runs and which a game's own editor command runs with the game's component types and editor plugins built in.
editor/editormcp
Package editormcp is the NSGo Game Editor's MCP server: an agent reads and edits the project open in the editor through it, with the same editor commands the inspector, scene tree and viewport use, so every edit is an undo step the person sees and can take back.

leaderboard

leaderboard/selfhost
Package selfhost is a self-hostable leaderboard service, for cross-platform games and games on platforms without a game service: one board ranks the scores a player's devices submit from every platform, keyed by the account the accounts package signs in.

pixelfx

pixelfx/arcane
Package arcane is pixelfx's arcane category: arcane beam, arcane missiles, arcane orb, blink in, blink out, magic circle cast, mana burst, portal, rune circle, spell charge, star fall and time stop, each a pixelfx.Effect registered as "arcane/<name>" when the package is imported.
pixelfx/critters
Package critters is pixelfx's critters category: bat, bird, butterfly, eyeball, fish school, flying skull, frog, ghost, jellyfish, slime, snake and wisp, each a pixelfx.Effect registered as "critters/<name>" when the package is imported.
pixelfx/explosions
Package explosions is pixelfx's explosions category: barrel explosion, big explosion, cartoon POW, dirt explosion, firework burst, firework rocket, grenade, implosion, nuke, plasma explosion, small explosion and smoke bomb, each a pixelfx.Effect registered as "explosions/<name>" when the package is imported.
pixelfx/fire
Package fire is pixelfx's fire category: brazier, campfire, candle, fire breath, fire ring, fire tornado, fireball, flame pillar, flamethrower, meteor, spirit flame and torch, each a pixelfx.Effect registered as "fire/<name>" when the package is imported.
pixelfx/holy
Package holy is pixelfx's holy category: blessings, divine shields, feather bursts, halos, heals and healing rings, holy pillars, resurrections, smites and sunbursts, each a pixelfx.Effect registered as "holy/<name>" when the package is imported.
pixelfx/ice
Package ice is pixelfx's ice category: blizzard vortex, freeze, frost breath, frost nova, ice crystal, ice lance, ice shatter, ice spikes, icicle fall and snowflake burst, each a pixelfx.Effect registered as "ice/<name>" when the package is imported.
pixelfx/impacts
Package impacts is pixelfx's impacts category: blunt hits, bullet impacts, critical hits, ground slams, heavy landings, hit flashes, hit sparks, anime impact frames, parries, ricochets and shield blocks, each a pixelfx.Effect registered as "impacts/<name>" when the package is imported.
pixelfx/lightning
Package lightning is pixelfx's lightning category: ball lightning, chain lightning, charge up, electrified, lightning strike, plasma ball, spark arc, storm cloud, tesla coil, thunderclap and zap hit, each a pixelfx.Effect registered as "lightning/<name>" when the package is imported.
pixelfx/melee
Package melee is pixelfx's melee category: claw swipe, dagger flurry, double slash, hammer smash, heavy cleave, scythe reap, spear sweep, spin slash, sword slash, thrust, uppercut and whip crack, each a pixelfx.Effect a character acts out (pixelfx.Perform), registered as "melee/<name>" when the package is imported.
pixelfx/moves
Package moves is pixelfx's moves category: whole attacks, wind-up to recovery, chained from the effects of the other categories and acted out by a character (pixelfx.Perform), each a pixelfx.Effect registered as "moves/<name>" when the package is imported.
pixelfx/nature
Package nature is pixelfx's nature category: acid splashes, boulders, earth spikes, healing blooms, leaf storms, poison clouds, quakes, root snares, spore bursts, thorns, tornadoes, toxic puddles and vine whips, each a pixelfx.Effect registered as "nature/<name>" when the package is imported.
pixelfx/pickups
Package pickups is pixelfx's pickups category: coins, gems, crystals, hearts, keys, potions, power stars, XP orbs, loot beams, collect bursts and treasure chests, each a pixelfx.Effect registered as "pickups/<name>" when the package is imported.
pixelfx/projectiles
Package projectiles is pixelfx's projectiles category: arrows, tracers, cannon shots, energy discs, signal flares, homing missiles, laser bolts, magic missiles, muzzle flashes, plasma shots and rockets, each a pixelfx.Effect registered as "projectiles/<name>" when the package is imported.
pixelfx/scifi
Package scifi is pixelfx's sci-fi category: EMP blasts, energy cores, force fields, glitches, holograms, jetpacks, laser grids, scanners, teleporter pads, tractor beams and warp beams, each a pixelfx.Effect registered as "scifi/<name>" when the package is imported.
pixelfx/shadow
Package shadow is pixelfx's shadow category: black holes, curses, dark explosions, eclipses, grasping hands, hex sigils, life steal, necro skulls, shadow flames, shadow tendrils, soul drain and void orbs, each a pixelfx.Effect registered as "shadow/<name>" when the package is imported.
pixelfx/spawn
Package spawn is pixelfx's spawn and death category: coin drops, disintegration, dissolve burn, egg hatching, cartoon poofs, respawn beams, ice shatter deaths, rising souls, spawn portals and summoning rises, each a pixelfx.Effect registered as "spawn/<name>" when the package is imported.
pixelfx/status
Package status is pixelfx's status category: bleeding, burning, charmed, confused, cursed, frozen, haste, petrified, poisoned, rage, sleep, slowed and stunned, each a pixelfx.Effect registered as "status/<name>" when the package is imported.
pixelfx/transitions
Package transitions is pixelfx's transitions category: full-screen 320 x 180 wipes, irises, dissolves, blinds, CRT switch, glitch, burn and glass shatter effects, each a pixelfx.Effect registered as "transitions/<name>" when the package is imported.
pixelfx/ui
Package ui is pixelfx's UI category: damage and crit numbers, combo counters, countdowns, coin counters, health bars, hearts, alerts, achievements, level-up banners and confetti, each a pixelfx.Effect registered as "ui/<name>" when the package is imported.
pixelfx/water
Package water is pixelfx's water category: bubbles, drips, fountains, geysers, rain splashes, ripples, splashes, water jets, water orbs, waterfalls, crashing waves and whirlpools, each a pixelfx.Effect registered as "water/<name>" when the package is imported.
pixelfx/weather
Package weather is pixelfx's weather category: aurora, blizzard, cherry blossoms, clouds, falling leaves, fireflies, fog, god rays, rain, shooting stars, snow and storm, each a pixelfx.Effect registered as "weather/<name>" when the package is imported.

Инструменты

tooling/apiref
Package apiref 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.
tooling/assetbuild
Package assetbuild builds a game's assets from the assets section of its game.yaml, which package project defines: it packs sprite atlases, encodes KTX2 textures, converts audio, bakes TrueType and OpenType fonts into AngelCode BMFonts, packs glTF models into single GLB files and generates the Go asset manifest, applying the import settings sidecar beside each image, sound, font or model that package importsettings reads, and keeps a text cache of what each output was built from so a later run rebuilds only the targets whose inputs, sidecars or settings changed.
tooling/assetcheck
Package assetcheck checks a game's scene files, Tiled and LDtk maps and sprite atlases, and the references between them, and reports each problem with the file and line that holds it.
tooling/audioconv
Package audioconv 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.
tooling/bench
Package bench keeps Go benchmark baselines in a versioned YAML text file, reads the results `go test -bench` and `nsgo test -bench` print, and reports the benchmarks that regressed past the baseline's limits.
tooling/credits
Package credits lists who made each of a game's assets and under what license, from the credit section of the import settings sidecar beside each one (package importsettings), and writes the list as the credits file a release ships with.
tooling/datatable
Package datatable loads typed game data tables (enemies, items, levels, quests) from CSV, JSON, and YAML with rich per-cell error reporting and live hot reload.
tooling/devstate
Package devstate saves and restores the running game scene, fixed-step loop clock, and serialized state across Go rebuilds during development.
tooling/hotreload
Package hotreload watches game assets on disk during development and delivers reloads on the NSGo engine goroutine without restarting the app.
tooling/importsettings
Package importsettings reads and writes import settings sidecars: a small YAML file beside an image, a sound, a font or a model, named after it with ".import.yaml" appended (Path), that says how game assets imports it, as Godot's .import files do.
tooling/jsonschema
Package jsonschema builds JSON Schemas (draft-07) from Go types and checks decoded YAML or JSON values against them, so editors and AI tools can complete and validate the YAML files a game's author writes.
tooling/ktx2
Package ktx2 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).
tooling/library
Package library finds shared asset packs, editor plugin packs and templates in a library and installs them into a game project.
tooling/manifest
Package manifest 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.
tooling/pack
Package pack packs a folder of PNG images into sprite atlas pages and TexturePacker JSON-hash metadata that sprite.LoadAtlas reads directly.