@matematrolii/sketchbook
v0.2.29
Published
3D matematrolii playground built on three.js and cannon.js
Downloads
692
Maintainers
Readme
📒 Matematrolii Sketchbook
Simple web based game engine built on three.js and cannon.js focused on third-person character controls and related gameplay mechanics.
Features
- World
- Three.js scene
- Cannon.js physics
- Variable timescale
- Frame skipping
- FXAA anti-aliasing
- Characters
- Third-person camera
- Raycast character controller with capsule collisions
- General state system
- Character AI
NPM
- Install:
npm i sketchbook
- Import:
import { World } from 'sketchbook';
- Load a glb scene defined in Blender:
const world = new World('scene.glb');
Contributing
- Get latest Node.js
- Fork this repository
- Run
npm install
- Run
npm run dev
- Make changes and test them out at http://localhost:8080
- Commit and make a pull request!