Skip to content

API Reference

The framework is published as quantum-forge (core) and quantum-forge-engine (engine) on npm, each with subpath exports. Each feature has its own entry point.

Package Exports

ExportImport PathPrimary Exports
Enginequantum-forge/engineEngine
Eventsquantum-forge/eventsEventBus
Loggingquantum-forge/loggingLogger, LoggerInterface
Operationsquantum-forge/operationsOperationRegistry, OperationExecutor
Quantumquantum-forge/quantumQuantumPropertyManager, QuantumRecorder, ensureLoaded, startBackgroundLoad
Renderingquantum-forge/renderingPixiRenderer, CanvasRenderer, GameLoop, Camera
Inputquantum-forge/inputInputManager, LocalMultiplayerManager, GamepadButtons, GamepadAxes
Collisionquantum-forge/collisionSpatialGrid, checkCollision
Audioquantum-forge/audioAudioManager
Particlesquantum-forge/particlesParticleSystem
Entitiesquantum-forge/entitiesEntityManager
Animationquantum-forge/animationTween, easing functions
State Machinequantum-forge/state-machineStateMachine
Timerquantum-forge/timerGameTimer
Savequantum-forge/saveSaveManager
Scenesquantum-forge/scenesSceneManager
Vite Pluginquantum-forge/vite-pluginquantumForgeVitePlugin

Dependencies

Installed automatically for consumers:

  • eventemitter3: event system
  • pixi.js: WebGL/WebGPU rendering
  • howler: audio

Detailed References

Powered by Quantum Forge