![]() |
![]() |
#221 |
Join Date: Dec 2017
|
![]()
[QUOTE=Shadekeep;2281321]Glad you like it, and thanks for the suggestions. Can you explain a bit further what this particular item might look like?
Well, you know how when megahexes are shown they have the black border around them? I would like an option to place a border on any hex I want, on any side of the hex I want. Also, I noticed you do not have an option for the dot in the middle of the hex. Basically, I just want a way to draw (or drag and drop) megahex patterns. |
![]() |
![]() |
![]() |
#222 |
Join Date: Aug 2018
Location: Aerlith
|
![]()
Gotcha. There have been a few requests for functionality like that. It's a bit tricky as in my coding module each hex renders itself, but I am investigating into some jiggery-pokery to get around that. ^_^
__________________
Shadekeep - TFT Tools & Adventures |
![]() |
![]() |
![]() |
#223 | |
Join Date: Dec 2013
Location: Piscataway, NJ
|
![]() Quote:
__________________
~~The Illuminati is your friend~~ |
|
![]() |
![]() |
![]() |
#224 | |
Join Date: Aug 2018
Location: Aerlith
|
![]() Quote:
Apology that there haven't been more updates on this recently, I've been spending a lot of time lately on writing. I do intend to pick this back up and give it further improvement.
__________________
Shadekeep - TFT Tools & Adventures |
|
![]() |
![]() |
![]() |
#225 | |
Join Date: Dec 2013
Location: Piscataway, NJ
|
![]() Quote:
__________________
~~The Illuminati is your friend~~ |
|
![]() |
![]() |
![]() |
#227 |
Join Date: Aug 2018
Location: Aerlith
|
![]()
Razza-frazza. I've integrated the SVG drawing code and it works beautifully. The only downside is a deeply geeky technical issue. Basically, drawing from the SVG files "taints" the map canvas and breaks the CORS security. So you can't export the map as an image after you draw an SVG graphic on it. That makes the new functionality much less useful.
Here's a related article on the security setting if you want to bore yourself. The convoluted "solution" suggested there still doesn't help with Shamat, since that uses local files, which are ALWAYS "tainted" in the CORS model. https://developer.mozilla.org/en-US/..._enabled_image I understand the need for internet security, but man alive I've been running into a lot of problems with CORS lately, both at home and at work. It's rapidly moving towards the kind of security typified by the "we can eliminate crime by killing everyone" mindset.* * Known as "The Dark Judges Solution" to Judge Dredd fans.
__________________
Shadekeep - TFT Tools & Adventures |
![]() |
![]() |
![]() |
#228 |
Join Date: Aug 2019
|
![]()
Ignorant question: I haven't looked at your code, nor have I worked with SVG outside of Inkscape and such, but it sounds like you are using saved SVG files? Is that correct? Since SVG is an XML format, would loading the SVG map elements via code (classes?) work? You wouldn't have to load any local image files. Like I said, ignorant question.
I haven't worked on my 3D virtual tabletop, mostly because Bradley Shepherd's Battle Map Studio looks so good. But if SVG isn't practical for Shamat, I might try to create a utility that imports the Shamat format and exports printable SVG maps, via Node.js. My "optimism" is only based on the fact that Inkscape can be installed in Node.js and run via command line verbs. Folks should only read this is they want to be REALLY bored lol: https://how-to.fandom.com/wiki/How_t.../List_of_verbs Again, I might be ignorant, this time in relation to CORS and Node.js Inkscape. My motivation would be the ability to export multiple-page PDFs to print and tape or otherwise connect together. |
![]() |
![]() |
![]() |
#229 | |
Join Date: Aug 2018
Location: Aerlith
|
![]() Quote:
__________________
Shadekeep - TFT Tools & Adventures |
|
![]() |
![]() |
![]() |
#230 |
Join Date: Aug 2019
|
![]()
Shadekeep, just letting you know I've finally started (really restarted) my idea for a 3D virtual tabletop that uses the Shamat format to load maps: https://www.megahex.me/ I plan to keep it simple, as my intention is only to display combat arenas, not labyrinths or outdoor maps, so I'm only going to import base layers and megahex outlines (haven't done that part yet). Definitely skipping partial hexes. :P
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|