Skip to content

Add Difficulty Gradient Map Editor#103

Open
sbodegraven wants to merge 17 commits into
infernoplus:mainfrom
sbodegraven:difficulty-map
Open

Add Difficulty Gradient Map Editor#103
sbodegraven wants to merge 17 commits into
infernoplus:mainfrom
sbodegraven:difficulty-map

Conversation

@sbodegraven

@sbodegraven sbodegraven commented May 17, 2026

Copy link
Copy Markdown

I've created a basic web app that lets you paint colours on the Morrowind map to set difficulty levels, which can be exported to an image or JSON. See README.md for details on how to use it.

Related issue: #51

This could definitely be improved on but it should hopefully do the job. Let me know if I should add/change anything.

image

The exported JSON looks like this (except much longer), where d is the difficulty between 0 and 1:

[
  {
    "x": -28,
    "y": 27,
    "d": 0.6
  },
  {
    "x": -28,
    "y": 26,
    "d": 0.94
  }
]

@sbodegraven

Copy link
Copy Markdown
Author

Known issue: brush shape outlines may be visible when drawing. This happens because the brush erases from the drawing layer before drawing again so that the colours don't compound and cause it to lose transparency. I have not had any luck finding a solution for this, though this should not have any real impact on the difficulty.

image

@sbodegraven sbodegraven changed the title Difficulty map Add Difficulty Gradient Map Editor May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant