Package Exports
- magic-framework
- magic-framework/index.ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (magic-framework) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Magic Framework
A collection of utils and implementations for web games, with the goal of making web games concerned about speed and bundle size easy. some parts are ported from my private Zig engine.
Written in Typescript (mostly)
New magic project
npx magic-framework
Current roster
- Data driven per instance state machine
- Input (keyboard, mouse, mobile touch, controllers (Xbox))
- Binary static asset bundler
- Math stuff (WIP)
- Audio (WIP)
TODOs:
- GYRO input support
- Build step version if stateInstancer
- Audio: volume, pitch
- MOF: Magic 3D Object Format
- Mesh and material builder