silverua / slay-the-spire-map-in-unity

Implementation of the Slay the Spire Map in Unity3d
MIT License
288 stars 68 forks source link

Circular/Round style map? #29

Open jmeyer1980 opened 7 months ago

jmeyer1980 commented 7 months ago

Would you guys consider adding a round-style map? Imagine something like sectors on a galactic map, solar system, maelstrom, or anything where you would want a round map... like a 2D globe.

silverua commented 7 months ago

Hi @jmeyer1980 !

I am not considering this at the moment, but I have seen this resource in the past that did something similar: https://www.reddit.com/r/proceduralgeneration/comments/fbxymb/procedural_map_generation_inspired_by_slay_the/ They have a repo on GitHub, although it's in JS, so not compatible with Unity, but can be used for inspiration at least: https://github.com/yurkth/stsmapgen

Personally, I like the visual element of it looking as a circle, at least initially, but gotta keep in mind that the resulting map in their case does not have the same amount of nodes in each path.

jmeyer1980 commented 7 months ago

Hmm... I'm one of those guys using Google Gemini to help with coding. I tried to do it myself last night without luck. Thank you for replying so quickly. I wonder if there is a way to warp the map in a circle... maybe iterating through the nodes and rearrange them so it maps out in a circle? IDK. I will try things. I like experimenting.