npm.io
0.0.8 • Published 3d ago

@starweb-libs/engine

Licence
MIT
Version
0.0.8
Deps
0
Size
47 kB
Vulns
0
Weekly
0

Starweb Engine

A lightweight 2D game engine for the browser, built with TypeScript and the Web Audio / Canvas APIs.

CI Library Version License: MIT

Tech Stack

Modules

Module Description
canvas Fullscreen canvas setup with resize handling
update Fixed or variable timestep game loop
assets Image loading and tinting
input/keyboard Per-frame keyboard state
input/pointer Per-frame pointer/mouse state with canvas scaling
validate JSON validation helpers and error collector
bootstrap Canvas, keyboard, pointer setup in one call

Installation

npm install github:starweb-libs/engine

License

MIT License - see LICENSE for details.

Keywords