[go: nahoru, domu]

@erikwatson/bramble
TypeScript icon, indicating that this package has built-in type declarations

0.6.0 • Public • Published

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

  1. Change and commit the code
  2. Run a production build with npm run build:prod
  3. Update the version number npm version major npm version minor or npm version patch
  4. npm run release

Package Sidebar

Install

npm i @erikwatson/bramble

Weekly Downloads

0

Version

0.6.0

License

MIT

Unpacked Size

169 kB

Total Files

25

Last publish

Collaborators

  • erikwatson