npm

Need private packages and team management tools?Check out npm Orgs. »

quadtree-map-compressor

1.0.0 • Public • Published

Quadtree Map Compression

This module takes a .tmx file from Tiled and compresses it using a quadtree. Essentially, the algorithm groups empty spaces in the map together to produce a file that's smaller than the original. The real benefit is that the map is now easier to use with quadtrees on the client.

Issues

  • Because of the nature of this compression, it isn't as efficient as it could be
  • It only operates on the first layer of the tmx file and discards the rest
  • Don't actually use this

install

npm i quadtree-map-compressor

Downloadsweekly downloads

2

version

1.0.0

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability