@jts-studios/web-game-engine
v0.1.0
Published
This package is a core game-framework layer built on top of `@jts-studios/engine`.
Downloads
4
Readme
web-game-engine
This package is a core game-framework layer built on top of @jts-studios/engine.
@jts-studios/engine remains the rendering engine and GPU/rendering foundation.
@jts-studios/web-game-engine provides reusable gameplay/runtime systems that compose that renderer.
Structure
src/core/*: reusable library systems (input, camera, state, loop).src/adapters/*: integration glue to concrete runtimes (for example, browser runtime adapter).src/index.js: public library entrypoint.src/app/*: compatibility wrappers for older import paths.
Included Game Systems
- Follow-camera controller with smoothing and dead-zone behavior.
- Optional world-bounds clamping for camera movement.
- Scene/state loop scaffolding intended for game-level orchestration.
- Snapshot store and input profile catalog for runtime workflows.
Public API
GameRuntimeCameraControllerInputControllerInputProfileCatalogUpdateLoopFixedStepClockInputReplayTimelineRuntimeBridgeSceneManagerSceneSnapshotStoreAssetManifestLoader
Commands
npm installnpm run devnpm run buildnpm run verifynpm run release:verify
Separation Rule
- Put rendering primitives and GPU systems in
web-engine. - Put reusable gameplay/entity/physics/combat/quest systems in
web-game-engine. - Put domain-specific implementations (for example, chess rules and chess assets) in their own sibling project folders, such as
chess.
