pkg/

directory
v0.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2026 License: LGPL-3.0

Directories

Path Synopsis
Package box2d is a native Go port of Box2D v3.2.0, the 2D physics engine by Erin Catto (https://github.com/erincatto/box2d).
Package box2d is a native Go port of Box2D v3.2.0, the 2D physics engine by Erin Catto (https://github.com/erincatto/box2d).
Package cardinal runs a World Engine game shard.
Package cardinal runs a World Engine game shard.
Package immutable holds value types that keep their storage private, so nothing outside this package can reach into one.
Package immutable holds value types that keep their storage private, so nothing outside this package can reach into one.
plugin
data
Package data is a Cardinal plugin that loads JSON configuration into a world-owned catalog at world init.
Package data is a Cardinal plugin that loads JSON configuration into a world-owned catalog at world init.
data/component
Package component holds the Cardinal components the data plugin owns.
Package component holds the Cardinal components the data plugin owns.
data/gen
Code generated by world sdk generate.
Code generated by world sdk generate.
lobby
Package lobby provides a flexible lobby/party system for Cardinal worlds.
Package lobby provides a flexible lobby/party system for Cardinal worlds.
lobby/gen
Code generated by world sdk generate.
Code generated by world sdk generate.
physics2d
Package physics2d is a Box2D-backed 2D physics plugin for Cardinal (pure-Go Box2D port in pkg/box2d).
Package physics2d is a Box2D-backed 2D physics plugin for Cardinal (pure-Go Box2D port in pkg/box2d).
physics2d/gen
Code generated by world sdk generate.
Code generated by world sdk generate.
physics2d/query
Package query declares the request, result, and filter types for the physics2d query API (raycast, AABB overlap, circle sweep).
Package query declares the request, result, and filter types for the physics2d query API (raycast, AABB overlap, circle sweep).
physics2d/test/e2e/cmd/physics2d-e2e command
Command game is the physics2d test game: a Cardinal world whose only job is to exercise the physics2d plugin and report anything that does not behave the way Box2D does.
Command game is the physics2d test game: a Cardinal world whose only job is to exercise the physics2d plugin and report anything that does not behave the way Box2D does.
physics2d/test/e2e/internal/probe
Package probe holds the ECS components this test game adds on top of the physics2d plugin's own Transform2D / Velocity2D / PhysicsBody2D.
Package probe holds the ECS components this test game adds on top of the physics2d plugin's own Transform2D / Velocity2D / PhysicsBody2D.
physics2d/test/e2e/internal/restore
Package restore drives the crash-restore check: snapshot a running world, rebuild it in a fresh one, and compare.
Package restore drives the crash-restore check: snapshot a running world, rebuild it in a fresh one, and compare.
physics2d/test/e2e/internal/scenario
Package scenario holds the individual physics2d test scenarios.
Package scenario holds the individual physics2d test scenarios.
trace
Package trace is a light wrapper over the OpenTelemetry tracing API, modeled on Sourcegraph's internal/trace: one constructor bound to the global tracer provider and a Trace type that adds error helpers to the span.
Package trace is a light wrapper over the OpenTelemetry tracing API, modeled on Sourcegraph's internal/trace: one constructor bound to the global tracer provider and a Trace type that adds error helpers to the span.
template
basic/shards/game/gen
Code generated by world sdk generate.
Code generated by world sdk generate.
multi-shard/shards/chat/gen
Code generated by world sdk generate.
Code generated by world sdk generate.
multi-shard/shards/game/gen
Code generated by world sdk generate.
Code generated by world sdk generate.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL