Home > kag-map-renderer

kag-map-renderer

Kag-map-renderer is a project mainly written in Python, it's free.

Renders a pixel map for the game King Arthur's Gold <kag2d.com>

Executable HOWTO

usage: renderer.py [-h] [-s] [-b] [-bdelta X] [-path PATH] [-f FORMAT] [-o PATH] source

Render a blueprint map for the game King Arthurs Gold.

positional arguments: source Pixel map.

optional arguments: -h, --help show this help message and exit -s Disable shadow layer. -b Disable background layer. -bdelta X, --bdelta X Shift the background layer X pixels. up=-X; down=+X. Default: 0 -path PATH, --path PATH Path to KAG installation. (no trailing slash). Default: . -f FORMAT, --f FORMAT Format for the rendered map (JPEG, PNG). Default: PNG -o PATH, --o PATH Path to save rendered map at. Default: source + ".out"

Module Info

The module's quite dependent on the CLI interface for the time being, so I do not recommend its use as such.

NOTE: Sprite files are included with this package because the game's constant updates break the sprite sheets. They belong to Michal Marcinkowski <mm.soldat.pl> and Max 'Geti' Cahil http://www.1bardesign.com/.

Previous:demo_app