terrpixel

0.0.3 • Public • Published

Destructible pixel terrain

Library works on binary data (e.g. from getImageData from Canvas). It doesn't contain any renderer. This is a new library so treat it as WIP.

It allows you to create game level from pixels. Terrain fragments will fall if there's nothing under them. Look into example.html (notice that this example needs some kind of server to run. You can run server on localhost via python3 -m http.server

Readme

Keywords

none

Package Sidebar

Install

npm i terrpixel

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

11.3 kB

Total Files

7

Last publish

Collaborators

  • hex13