Skip to content

hex13/terrpixel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  • test cases: terrpixel.test.js
  • example.html (notice that this example needs some kind of server to run. You can run server on localhost via python3 -m http.server

API is not stable and can change any moment

About

Destructible pixel terrain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published