Directories
¶
| Path | Synopsis |
|---|---|
|
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.
|
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. |
|
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.
|
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. |
|
Package atlaspack packs a folder of PNG images into sprite atlas pages and TexturePacker JSON-hash metadata that sprite.LoadAtlas reads directly.
|
Package atlaspack packs a folder of PNG images into sprite atlas pages and TexturePacker JSON-hash metadata that sprite.LoadAtlas reads directly. |
|
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.
|
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. |
|
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.
|
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. |
|
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.
|
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. |
|
Package devstate saves and restores the running game scene, fixed-step loop clock, and serialized state across Go rebuilds during development.
|
Package devstate saves and restores the running game scene, fixed-step loop clock, and serialized state across Go rebuilds during development. |
|
Package gamedebug 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.
|
Package gamedebug 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. |
|
Package hotreload watches game assets on disk during development and delivers reloads on the NSGo engine goroutine without restarting the app.
|
Package hotreload watches game assets on disk during development and delivers reloads on the NSGo engine goroutine without restarting the app. |
|
Package library finds shared asset packs, editor plugin packs and templates in a library and installs them into a game project.
|
Package library finds shared asset packs, editor plugin packs and templates in a library and installs them into a game project. |
|
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.
|
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. |
|
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).
|
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). |
|
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.
|
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. |
|
Package sizecheck measures a built package (a WebAssembly binary, an Android AAB or APK, or an iOS IPA) and checks it against a size budget, the checks behind `game size`.
|
Package sizecheck measures a built package (a WebAssembly binary, an Android AAB or APK, or an iOS IPA) and checks it against a size budget, the checks behind `game size`. |
Click to show internal directories.
Click to hide internal directories.