# quadtree-map-compressor

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

Latest version **1.0.0** (published 2016-05-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install quadtree-map-compressor
pnpm add quadtree-map-compressor
yarn add quadtree-map-compressor
bun add quadtree-map-compressor
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-05-04 |
| First published | 2016-05-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | zubry |
| Keywords | immutable, quadtree, quadtrees, game, map, functional, compression |

## Links

- npm: https://www.npmjs.com/package/quadtree-map-compressor
- Repository: https://github.com/Zubry/quadtree-map-compression
- Homepage: https://github.com/Zubry/quadtree-map-compression#readme
- Issues: https://github.com/Zubry/immutable-quadtree/issues
- npm.io page: https://npm.io/package/quadtree-map-compressor

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-05-04

## README

# 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

---
_Source: https://npm.io/package/quadtree-map-compressor · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
