I have fooled around with hexagons as well, and they have to be, either;
1. Hexagonal SVG widgets,
or
2, Hexagons embedded in transparent squares as PGN images - with the
inevitable consequence that if you start using INTERSECT you must be
very careful
to set a transparency "trap" a bit like this:
*if intersect(img "firstHEX",img "secondHEX",5) then*
Richmond.
On 25.06.2018 12:46, David V Glasgow via use-livecode wrote:
Quite a few old school (and a few newer) games use a tessellated hexagonal
grid. Remember Railway Rivals, anyone?
I just started to play around with the idea of a grid using Livecode polygons.
Specifically, a map that can grow organically by sprouting hexes at the edges.
I was surprised and disappointed to see how tricky it looks to be to do 'on
the fly’ i.e. creating and then aligning hexes.
Has anyone else played around with this? Any advice? It seems to me that the
line of least resistance is to have a huge grid of ready tessellated invisible
hexes which can be shown as required.
Best Wishes,
David Glasgow
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode