2.0.7 • Published 2 years ago

@kckckc/isleward-map-gen v2.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Isleward map image generator

Generates Isleward map images from spritesheets, map data, and clientConfig

Todo

  • Handle spritesheet downloading (from iwd server automatically?)
  • Handle hiddenRooms/interior hiders

Usage

Programmatic: setClientConfig(clientConfig), renderMap(dataFromOnGetMap, outpath, options)

Manually getting data:

  • Download spritesheets
  • addons.events.on('onGetMap', (e) => console.log(JSON.stringify(e))) then enter map
  • require(['js/system/globals'], (g) => {console.log(JSON.stringify(g.clientConfig))})

Run: yarn && yarn dev

Misc

  • Types generated with json2ts (neat!)
2.0.7

2 years ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.0

2 years ago