jeheydorn / nortantis

Nortantis is a fantasy map generator. It uses a simple tectonic plate simulation to create islands and continents with trees, rivers, and mountains. The result has the appearance of an old-fashioned hand-drawn map.
GNU Affero General Public License v3.0
70 stars 19 forks source link

Feature Proposal: Checkbox for automatic preview on new seed #12

Closed Larathiel closed 6 months ago

Larathiel commented 11 months ago

It would be nice if there was a toggle-able option to allow the automatic creation of the preview image whenever a new seed is entered/randomized.

Failing that, hotkeys for the buttons on the Terrain tab would be a decent alternative.

jeheydorn commented 11 months ago

That preview button has been bugging me for a while. I think the best solution would be to remove it and have the preview always update when you change a setting, although that does raise the question of what to do when somebody changes an image outside of Nortantis that the generator uses, such as a background image, a texture to generate a background image, or an icon. I lean toward saying that doing so would be such a rare workflow that I'm okay making that user flip a setting and then flip it back to get the preview to update, but I could retain the button to manually update the preview. Let me know if you have an opinion on the matter.

As with anything on this project, since this is just a hobby, I can't guarantee any timeline, or that I will ever get around to it.

Larathiel commented 11 months ago

It does seem like a superfluous button, but I can see your point. Perhaps you could implement the auto-preview regen on a detectable settings change, while relabeling the Preview button from "Preview" to "Refresh". That might be the best of both worlds and intuitive for those who get deep into the assets like you're talking.

jeheydorn commented 6 months ago

I reworked the entire UI of Nortantis, and one of those changes fixed this issue by removing the preview button and instead redrawing the map automatically when you make any change.