Ourobor / Hex-Size-Support

A Foundry VTT add on module that allows the use of alternative snapping logic for hex tiles of a size greater than one hex.
MIT License
9 stars 12 forks source link

[FEATURE REQUEST] GURPS Hex sizes #29

Open Scimon opened 2 years ago

Scimon commented 2 years ago

This is less a feature request and more a would you be interested in this?

If you're OK with it I'll pop through the code and work out how to do it (GURPS has lots of different options for different size things). I'd also want to take a look at the rotation, so if I've got a 3x1 token (a horse for example) when that rotates it should rotate the hexes.

Anyway if you're cool with it I'll start noodling about and get a PR in.

Scimon commented 2 years ago

I've forked the Repo and taken a look at the code. I think it might be easier if I do the GURPS stuff as a standalone module. Do you mind if I use this as a base (with credit of course).

Ourobor commented 2 years ago

I apologize on taking a while to get back to you. Life hasn't been kind to me and I've been unable to find time or motivation to do anything extraneous.

You are, of course, absolutely welcome to fork and make your own module. I licensed this as MIT because I wanted people to be able to freely use what I wrote with no restrictions. I'd personally prefer the future where everything is included in one main module, but I'm aware that my inconsistency with updating this module makes that perhaps.. unrealistic.

I've thought about how to do rotation for shapes that have more than 2 orientations. I think the best way to get it to play nice with how the grid snapping works is to make dummy border definitions for other rotations and then switch between them. I have an idea of what I'd do, but it's hard for me to explain for some reason.

I'll be attempting to find time and scrounge enough energy to make an update soon and who knows. Different token sizes and orientations are definitely on my list of things I want to better support and I will at least look into this.

I've mentioned before that it always surprises me how many different systems use bestagons. The existing sizes are picked simply because those are the only defined sizes provided by the system Lancer and I didn't know of anything else that really used them.

Scimon commented 2 years ago

Hey there, I know all about finding the time. I hope life picks up (the last few years especially haven't been great). The GURPS tokens are slight different in that they move and rotate about the head.

(Also knowing what you'd do but not being able to explain? Totally with you on that one).

Be well, thanks for the great work. I'll be keeping an attribution in whatever I end up with.