{"modulePath":"github.com/weakpixel/engine","version":"v0.0.0-20261205071607-94fff0387040","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/weakpixel/engine","name":"engine","synopsis":"Package engine is the root of the Weakpixel Engine module: a small 2D game engine built on the ecs module and Ebiten.","isRedistributable":true},{"path":"github.com/weakpixel/engine/anim","name":"anim","synopsis":"Package anim plays sprite animations from Aseprite exports.","isRedistributable":true},{"path":"github.com/weakpixel/engine/anim/animbody","name":"animbody","synopsis":"Package animbody keeps animated colliders in step with their animation: an entity whose collision.Collider has the shape collision.ShapeAnimBody takes its Offset and Size from the Body of the clip its gfx.Animator plays.","isRedistributable":true},{"path":"github.com/weakpixel/engine/anim/animfile","name":"animfile","synopsis":"Package animfile reads and checks the file formats package anim loads, without Ebiten, the ECS or any GPU work: the Aseprite sprite sheet export (DecodeSheet) and the *.anim.json animation definition (Decode, Encode, Resolve).","isRedistributable":true},{"path":"github.com/weakpixel/engine/asset/library","name":"library","synopsis":"Package library is the opt-in standard asset library: every top folder of the asset root is a package (a collection of assets that loads, mounts and packs together), loaded into an asset.Scope the caller owns, with a catalog for file systems that cannot list directories and zip packs that are mounted while a scope that loaded them holds them.","isRedistributable":true},{"path":"github.com/weakpixel/engine/assetkind","name":"assetkind","synopsis":"Package assetkind is the registry of asset kinds: the names a component field carries in its +game:asset:kind=...","isRedistributable":true},{"path":"github.com/weakpixel/engine/camera","name":"camera","synopsis":"Package camera is a quick-start follow camera: mark an entity with a Target, pick a FollowMode in a Rig and run the System in the camera stage; it moves the render.Camera after the target every tick.","isRedistributable":true},{"path":"github.com/weakpixel/engine/collision","name":"collision","synopsis":"+game:group:name=collision","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor","name":"editor","synopsis":"Package editor is the core of the Weakpixel level editor: a game.Tool that edits one GOD level of a running game.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/animedit","name":"animedit","synopsis":"Package animedit is the \"anim\" tool of wpix-editor: an editor for *.anim.json animation definitions (doc/guide/engine/animation.md).","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/bridge","name":"bridge","synopsis":"Package bridge connects an editor.Session to a host over JSON messages: the VSCode extension (through the webview, see transport_js.go) or, in tests, a fake.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/camzoom","name":"camzoom","synopsis":"Package camzoom is the wheel zoom of the editors' cameras: each wheel unit scales the zoom by a fixed factor (so a trackpad's small deltas zoom slowly and a mouse notch a little), and the camera eases toward the target zoom around the cursor instead of jumping.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/filekind","name":"filekind","synopsis":"Package filekind is the one list of the file kinds wpix-editor opens: the name suffixes of each kind, whether it is edited or previewed and whether it has sound.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/fxedit","name":"fxedit","synopsis":"Package fxedit is the \"fx\" tool of wpix-editor: it makes a particle effect, an *.fx.json file (package particles), without knowing which components are involved.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/host","name":"host","synopsis":"Package host is the entry point of a game's editor build.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/hostlink","name":"hostlink","synopsis":"Package hostlink is what a game or tool that runs under an editor host shares with that host, whichever protocol it speaks: the protocol version, the transport interface, the connection to the host page of a browser build, and the settings the host passes (stage, first file, whether it is untitled, asset root, file index).","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/sheetedit","name":"sheetedit","synopsis":"Package sheetedit is the \"sheet\" tool of wpix-editor: an editor for *.sheet.json grid sheets (doc/guide/engine/asset-kinds.md#grid-sheet).","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/shotproto","name":"shotproto","synopsis":"Package shotproto is the screenshot message pair both editor protocols share, the level editor's bridge and the tool shell: a host asks for a capture with a \"screenshot\" request, the game answers with a \"screenshot\" message that carries the PNG.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/toolshell","name":"toolshell","synopsis":"Package toolshell is the shell the wpix-editor tools run on: a game.Tool on an engine with no game systems, so assets load through the engine's asset server and the content is drawn by the engine's renderer.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/toolshell/debugpanel","name":"debugpanel","synopsis":"Package debugpanel draws a toolshell.Panel with debugui, in the native window of wpix-editor.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/viewer","name":"viewer","synopsis":"Package viewer is the \"view\" tool of wpix-editor: it previews every file kind of package filekind that is not edited, with the engine's own loaders.","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/viewkit","name":"viewkit","synopsis":"Package viewkit holds what the wpix-editor tools that show a texture share: the texture sprite kept on screen (Texture), the frames over it with hover, selection, labels and a list to pick from (Frames), and the overlay text in window pixels (Labels).","isRedistributable":true},{"path":"github.com/weakpixel/engine/editor/voiceview","name":"voiceview","synopsis":"Package voiceview is the voice and dialogue previewer of wpix-editor, routed by package viewer: a read-only preview with sound of the files of package speech.","isRedistributable":true},{"path":"github.com/weakpixel/engine/extract","name":"extract","synopsis":"Package extract connects the ecs World to the renderer.","isRedistributable":true},{"path":"github.com/weakpixel/engine/game","name":"game","synopsis":"Package game is the high-level entry point of the engine: an Engine implements ebiten.Game and owns the plumbing that every game otherwise wires by hand (World, asset server and loaders, renderer, camera, the extract schedule, audio, GOD resolver, level loading).","isRedistributable":true},{"path":"github.com/weakpixel/engine/game/gametest","name":"gametest","synopsis":"Package gametest runs a game headless and steps it tick by tick, for tests that must give the same result on every machine.","isRedistributable":true},{"path":"github.com/weakpixel/engine/gfx","name":"gfx","synopsis":"+game:group:name=gfx","isRedistributable":true},{"path":"github.com/weakpixel/engine/god","name":"god","synopsis":"","isRedistributable":true},{"path":"github.com/weakpixel/engine/goscript","name":"goscript","synopsis":"Package goscript is the core of goscript, the scripting language of the Weakpixel engine: a small, dynamically typed language with Go syntax, compiled to bytecode and run on a register VM.","isRedistributable":true},{"path":"github.com/weakpixel/engine/hierarchy","name":"hierarchy","synopsis":"+game:group:name=hierarchy","isRedistributable":true},{"path":"github.com/weakpixel/engine/input","name":"input","synopsis":"Package input turns keyboard, mouse, gamepad and touch input into named actions.","isRedistributable":true},{"path":"github.com/weakpixel/engine/input/ebiteninput","name":"ebiteninput","synopsis":"Package ebiteninput is the Ebiten input.Source: it reads keyboard, mouse, gamepads and touches through ebiten and inpututil into an input.Frame once per tick.","isRedistributable":true},{"path":"github.com/weakpixel/engine/input/inputsys","name":"inputsys","synopsis":"Package inputsys connects an input.Router to an ecs World: InputSystem updates the router once per tick and publishes it as a resource, and TouchControlsExtract draws the virtual touch controls.","isRedistributable":true},{"path":"github.com/weakpixel/engine/internal/marker","name":"marker","synopsis":"Package marker parses controller-tools style markers, `+name` comments on Go declarations, into user-defined structs.","isRedistributable":true},{"path":"github.com/weakpixel/engine/internal/marker/enum","name":"enum","synopsis":"Package enum lists the constants of a Go enum type: the exported package-level constants of exactly one named integer type.","isRedistributable":true},{"path":"github.com/weakpixel/engine/internal/shaderparam","name":"shaderparam","synopsis":"Package shaderparam reads the `+shader:param` markers of a Kage shader: the labelled controls (a slider, a toggle, an angle, a color) that tell an editor what each slot of a sprite's Params array means.","isRedistributable":true},{"path":"github.com/weakpixel/engine/jsonedit","name":"jsonedit","synopsis":"Package jsonedit makes minimal text edits to a JSON document: it finds the value at a path and replaces, inserts or deletes it while every other byte of the document stays as it was, including indentation, key order and line ends.","isRedistributable":true},{"path":"github.com/weakpixel/engine/particles","name":"particles","synopsis":"Package particles loads particle effects (*.fx.json files), simulates them and draws them.","isRedistributable":true},{"path":"github.com/weakpixel/engine/particles/fxfile","name":"fxfile","synopsis":"Package fxfile reads, checks and writes the *.fx.json particle effect file, without Ebiten, the ECS runtime or any GPU work: the authored emitters (Emitter, Spec), Decode and Encode.","isRedistributable":true},{"path":"github.com/weakpixel/engine/physics","name":"physics","synopsis":"+game:group:name=physics","isRedistributable":true},{"path":"github.com/weakpixel/engine/prefab","name":"prefab","synopsis":"Package prefab makes prefabs (pre-defined Game Objects, `*.prefab.json`) assets of the engine.","isRedistributable":true},{"path":"github.com/weakpixel/engine/project","name":"project","synopsis":"Package project loads .weakpixel.json, the project settings file that gives the tools (`wpix gen`, `wpix doc`, `wpix mcp`, `wpix-editor`) and editor hosts their defaults.","isRedistributable":true},{"path":"github.com/weakpixel/engine/render","name":"render","synopsis":"Package render draws a queue of plain draw items with Ebiten.","isRedistributable":true},{"path":"github.com/weakpixel/engine/resolver","name":"resolver","synopsis":"Package resolver connects Game Object data to the asset system.","isRedistributable":true},{"path":"github.com/weakpixel/engine/room","name":"room","synopsis":"+game:group:name=room","isRedistributable":true},{"path":"github.com/weakpixel/engine/script","name":"script","synopsis":"+game:group:name=script","isRedistributable":true},{"path":"github.com/weakpixel/engine/sheetfile","name":"sheetfile","synopsis":"Package sheetfile is the grid sheet format, *.sheet.json: fixed-size cells over one image (doc/guide/engine/asset-kinds.md#grid-sheet).","isRedistributable":true},{"path":"github.com/weakpixel/engine/sound","name":"sound","synopsis":"Package sound plays sound effects and music.","isRedistributable":true},{"path":"github.com/weakpixel/engine/speech","name":"speech","synopsis":"+game:group:name=speech","isRedistributable":true},{"path":"github.com/weakpixel/engine/tiled","name":"tiled","synopsis":"Package tiled reads the Tiled JSON formats (https://doc.mapeditor.org/en/stable/reference/json-map-format/): maps (*.tmj, DecodeMap), external tilesets (*.tsj, DecodeTileset) and worlds (*.world, DecodeWorld).","isRedistributable":true},{"path":"github.com/weakpixel/engine/tilemap","name":"tilemap","synopsis":"Package tilemap loads Tiled maps as assets and draws their tile and image layers through the render queue.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/anim","name":"anim","synopsis":"Package anim implements `wpix anim`.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/assets","name":"assets","synopsis":"Package assets implements `wpix assets`.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/cli","name":"cli","synopsis":"Package cli is what the Cobra command trees of the wpix binaries share: the exit codes (0 ok, 1 failure, 2 usage), the error type that means a usage error, and the version command.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/devserver","name":"devserver","synopsis":"Package devserver implements `wpix serve`: a static file server for a browser game's development build that pushes asset changes to the open page.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/framelog","name":"framelog","synopsis":"Package framelog implements `wpix framelog`.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/gen","name":"gen","synopsis":"Package gen implements `wpix gen`.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/goddoc","name":"goddoc","synopsis":"Package goddoc implements `wpix doc`.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/mcp","name":"mcp","synopsis":"Package mcp is a small Model Context Protocol server over stdio: JSON-RPC 2.0 framing (one message per line), the lifecycle of the protocol revisions 2026-07-28 (stateless, server/discover) and 2025-11-25 (initialize handshake), and a registry of tools.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/mcpserver","name":"mcpserver","synopsis":"Package mcpserver implements `wpix mcp`: an MCP server over stdio that lets an AI agent read and edit a weakpixel game project (components, object types, assets, levels and prefabs).","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/newgame","name":"newgame","synopsis":"Package newgame implements \"wpix new\": it creates a game module that runs, tests, regenerates, builds for the browser and opens in the VSCode level editor (doc/guide/tools.md#new).","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/schema","name":"schema","synopsis":"Package schema implements `wpix schema`.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/internal/tileset","name":"tileset","synopsis":"Package tileset implements `wpix tileset`: tools that turn images into Tiled tilesets the engine loads (doc/guide/engine/tilemaps.md).","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/wpix","name":"main","synopsis":"Command wpix is the single command-line entry point of the engine's tools.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/wpix-editor","name":"main","synopsis":"Command wpix-editor runs the visual editors of the engine on a shared shell:","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/wpix-editor/cmd","name":"cmd","synopsis":"Package cmd is the command line of wpix-editor: one command that opens a file in the tool of its kind (editorapp.Kinds).","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/wpix-editor/internal/editorapp","name":"editorapp","synopsis":"Package editorapp is what the native and the js/wasm wpix-editor share: the kind table and the resolution of a file to its asset root and key.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/wpix-editor/internal/native","name":"native","synopsis":"Package native is the wpix-editor window: the tool's panel drawn by debugui in an Ebiten window.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tools/wpix/cmd","name":"cmd","synopsis":"Package cmd is the command line of wpix: one subcommand per tool in tools/internal.","isRedistributable":true},{"path":"github.com/weakpixel/engine/tween","name":"tween","synopsis":"Package tween animates component fields over time: \"move this enemy to (120, 40) with OutBack in 0.4 seconds\", \"pulse this coin forever\", \"ease the HP bar to the new value\".","isRedistributable":true},{"path":"github.com/weakpixel/engine/xmath","name":"xmath","synopsis":"Package xmath is the float32 math a 2D game needs: Vec2 and Rect, scalar helpers (clamp, lerp, remap, wrap, snap), angles, frame-rate independent smoothing and springs, and the Penner easing curves.","isRedistributable":true}],"total":71}}
