Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 620 Bytes

File metadata and controls

16 lines (10 loc) · 620 Bytes

Mapping Tools

Tools to support development of maps and graphs using .tmx files created with the Tiled Map Editor.

generate_navigation.py

A navigation graph generator that parses a graph from an object layer in a .tmx file.

  • Requires a tile layer named "Map" containing tiles with the property "collision=1" if they are not passable
  • Requires an object layer named "Navigation" containing the navigation points.
  • A .plist file will be created that joins each point up to its nearest neighbours where possible.

usage: python generate_navigation.py input.tmx output.plist