Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 261 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 261 Bytes

tmx

Parses json formatted Tiled maps.

Example

package main

import (
  "fmt"
  "github.com/drakbar/tmx"
)

func main() {
  
  m, err := tmx.LoadTileMap("path/to/mapfile.json")
  
  if err != nil {
    panic(err)
  }

  fmt.Printf("%+v\n", m)
}