Presently trying to do some scriptable path-editing (in GM at the moment), and was wondering how I'm gonna pull something off...
I've got some intricate webs of paths in mind, and was going to use a trimming system, in conjunction with variables like moving platforms and/or pattern-based critters, by removing certain paths and setting a preferred rotation direction, and then having their movements based on the remaining paths; but I'm a bit stuck on how to pull that off.
For instance:
+-+-+-+-+
| | | | |
+-+-+-+-+
| | | | |
+-+-+-+-+
| | | | |
+-+-+-+-+
(fig. 1)
+-+ +-+-+
| | | | |
+-+ +-+-+
| | | |
+-+ +-+-+
| | | | |
+-+ +-+-+
(fig.2)
Figure 1 illustrates the initial path-web; which begins with an object of interest (critter, platform, etc.) in corners, that travel in a primary direction (clockwise or counterclockwise). 5 sub-paths are then removed (randomly) to produce figure 2. The effect I'm hoping to achieve is for the object(s) of interest to then travel around the perimeter - so the things on the left will cycle around in a square kind of pattern, where the things on the right would "trace around the reversed C."
Anybody know how I might implement this kind of effect?
There's a few other kinds of verticies as well, such as 45-degree angles and interconnected circular pathways in more sophisticated patterns as well. (Like, take the "5" pattern on a die, make the circles fuller and evenly spaced, and interconnect the edges vertically and horizontally with each other, as well as diagonally through the central circle.)