@erikwatson/bramble
v0.6.0
Published
A game development library.
Downloads
29
Maintainers
Readme
WARNING: This is not yet a stable API. It is very likely to change between now and 1.0.0, so don't build anything ambitious with it yet.
Bramble
A little JavaScript library for making Video Games.
Features
- Asset Loading
- string
- image
- terrain
- Input Handling
- keyboard
- mouse
- ~~gamepad~~
- Simple Drawing API
- circles
- rectangles
- lines
- images
- animated sprites
- text
- tilesheets that auto-tile
- effects (overlay, dodge, shadow, transparency)
- Collision Detection
- Point vs Rectangle
- Line vs Rectangle
- Rectangle vs Rectangle
- Dynamic Rectangle vs Rectangle
- Line vs Quadratic Bezier curve
- 2D Vectors
- ~~Music and SFX playback~~
- Save/Load
Authors
Package developers only
To publish
- Change and commit the code
- Run a production build with
npm run build:prod
- Update the version number
npm version major
npm version minor
ornpm version patch
npm run release