https://github.com/starweb-libs/engine
A lightweight 2D game engine for the browser
https://github.com/starweb-libs/engine
2d browser canvas game-engine starweb typescript
Last synced: 1 day ago
JSON representation
A lightweight 2D game engine for the browser
- Host: GitHub
- URL: https://github.com/starweb-libs/engine
- Owner: starweb-libs
- License: mit
- Created: 2026-05-06T02:22:34.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-06-27T23:07:23.000Z (2 days ago)
- Last Synced: 2026-06-28T00:11:02.111Z (1 day ago)
- Topics: 2d, browser, canvas, game-engine, starweb, typescript
- Language: TypeScript
- Homepage: https://npmjs.com/package/@starweb-libs/engine
- Size: 83 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Starweb Engine
A lightweight 2D game engine for the browser, built with TypeScript and the Web Audio / Canvas APIs.
## 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 |
## Installation
```bash
npm install github:starweb-libs/engine
```
## License
MIT License - see [LICENSE](./LICENSE) for details.