Skip to content

Conversation

@Aizu4
Copy link

@Aizu4 Aizu4 commented Aug 2, 2025

I've been playing with an idea of being able to set a fixed rotation for the map to be generated (useful especially for cities which are built on a grid which does not align with cardinal directions). There are still some issues with how the world is generated, but the rotation seems to be working fine. Putting it here in case it can help in any way

@Aizu4 Aizu4 changed the title Rotation poc WIP: Rotation POC Aug 2, 2025
@Aizu4
Copy link
Author

Aizu4 commented Aug 2, 2025

Known issues/TODO for this branch:

  • missing i18n for the new input
  • the generation still happens within the original rectangle
  • missing tests for rotation

@louis-e
Copy link
Owner

louis-e commented Aug 20, 2025

Thanks a lot for your contribution! Supporting rotation is a feature which we've been looking for for some time now, so this will be very helpful. I'll focus on finishing some other features for the next release and pick this up as soon as I'll get to it! :)

@p1337
Copy link

p1337 commented Aug 28, 2025

Thank you for working in this !!

@XianlinSheng
Copy link
Contributor

Didn't realize you are working on this too and in fact I have finished most of it including rotating elements, region of generation (XZBBox), elevation data. The rotation requires changes on many data structures not only the element coordinates so basing it on the map transformation architecture will be more organized, modular, and complete. Maybe you can go to my dev-xzpoly branch to see the implementation. There are further works needed to make rotation perfect like snapping to grid as mentioned in Issue #97. If you are interested we can work on those together and try to avoid repeated efforts.

@13raur0
Copy link

13raur0 commented Sep 14, 2025

Hi!
I've published PR #571 on how to apply rotation to world generation.
If you’re interested in rotation, you might find it useful!

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.

5 participants