go-tiled-server

command module
v0.0.0-...-da425db Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2020 License: MIT Imports: 10 Imported by: 0

README

Go Tiled Development Server

I find this useful for quickly prototyping new levels in web based games, instead of having to re-export to .png constantly.

Setup

Place all .tmx map files in the /maps directory. The development server will serve these as static assets. Given any file /maps/my_map.tmx, requests for /maps/my_map.png will return the proper .png encoding of that map file. Ensure that the Accept header in these cases is set to image/png.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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