Socket
Book a DemoInstallSign in
Socket

quadtree-map-compressor

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quadtree-map-compressor

Compresses a game map (from tiled editor) using a quadtree

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

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

Keywords

immutable

FAQs

Package last updated on 04 May 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts