render_map 359 B

12345678910111213141516
  1. #!/usr/bin/env python3
  2. import os
  3. import sys
  4. sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../src")))
  5. from fenrispunk_tools.business.map_generator import generate_map_defaults
  6. if __name__ == "__main__":
  7. generate_map_defaults(
  8. gridfile=sys.argv[1],
  9. tilesfile="var/sheet.png",
  10. sprite_length=8,
  11. )