Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read external setup definition files #22

Closed
digitalsadhu opened this issue Sep 8, 2020 · 0 comments · Fixed by otfbm/maps#34
Closed

Read external setup definition files #22

digitalsadhu opened this issue Sep 8, 2020 · 0 comments · Fixed by otfbm/maps#34
Assignees

Comments

@digitalsadhu
Copy link
Contributor

Is your feature request related to a problem? Please describe.
Being able to predefine map setups for the wider community would be great.

Describe the solution you'd like
Predefining and publishing configuration files and loading preloading them would allow short codes to be generated that can be fed into the app in the same way we do with tokens. Config files could also be used to specify token images by URL and label so that using the label in the app URL automatically loads the token.

Additional context

Example config

Setting up a background

{
  "background": "http://...",
  "offset": {
    "x": 23,
    "y": 43
  },
  "gridsize": 60,
  "grid": "n"
}

Setting up tokens
Using number sequence matching supported

{
  "Urzer": "http://...",
  "Orc#": "http://...",
  "GO#": "http://..."
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants