mapcheck

command
v0.0.0-...-0d4233e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

mapcheck Verify the tile layer data from a .tmx file. The XML might look like this:

<layer name="foo" width="12" height="24">
	<data encoding="base64" compression="zlib">
		eJxjZGBgYBzFo3gUj+IBwACO3gEh
	</data>
</layer>

When decoded and decompressed, this data turns into a vector of 1s which represent tiles. No structure data is encoded, so the game engine must read from the layer metadata to determine structure. All we can verify at this stage is that the number of tiles is correctly determined.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL