mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 18:11:24 +01:00
Updated URL parameters (markdown)
parent
b0bd3bb499
commit
0b5d3a9321
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
Here is a list of parameters you can add to URL in order to set generator options and/or control its behavior on load. It can be used to share exactly the same generated map without need to save it, or even to show exact place on the map.
|
Here is a list of parameters you can add to URL in order to set generator options and/or control its behavior on load. It can be used to share exactly the same generated map without need to save it, or even to show exact place on the map.
|
||||||
|
|
||||||
## Azgaar's Fantasy Map Generator parameters:
|
## Azgaar's Fantasy Map Generator parameters:
|
||||||
* `maplink` - open .map file from the provided URL, use like [https://azgaar.github.io/Fantasy-Map-Generator/?maplink=https://dl.dropboxusercontent.com/s/xgs3y1awlokio7x/Atlas%20046.map?dl=1](). Due to CORS restrictions, it works only for some servers
|
* `maplink` - open .map file from the provided URL, use like [](https://azgaar.github.io/Fantasy-Map-Generator/?maplink=https://dl.dropboxusercontent.com/s/xgs3y1awlokio7x/Atlas%20046.map?dl=1). Due to CORS restrictions, it works only for some servers
|
||||||
* `seed` - map seed, actual map generation depends not only on seed, but also on options and map size. So to share the same map via a link you need to use it like `http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default`. It will work only if codebase is the same, so till the next generator update. To share exactly the same map you have to send a .map file (e.g. via `maplink`)
|
* `seed` - map seed, actual map generation depends not only on seed, but also on options and map size. So to share the same map via a link you need to use it like `http://azgaar.github.io/Fantasy-Map-Generator/?seed=123456789&width=1536&height=722&options=default`. It will work only if codebase is the same, so till the next generator update. To share exactly the same map you have to send a .map file (e.g. via `maplink`)
|
||||||
* `options` - set to `default` to allow generator to ignore options set by user. It's required for sharing the same map, see above
|
* `options` - set to `default` to allow generator to ignore options set by user. It's required for sharing the same map, see above
|
||||||
* `width`, `height` - map canvas size in pixels
|
* `width`, `height` - map canvas size in pixels
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue