I am designing a connect-type puzzle game, and the one thing I am having trouble with is coming up with a simple method to connect boxes with a line and arrow - with automatic connections when the boxes are moved.
A bit like this:
<img src="http://i48.tinypic.com/sfxkdw.jpg" border="0" />
The player would have to be able to simply drag connections between boxes by dragging the arrow head on top of another box. And moving a box would automatically re-draw the existing connections, no matter where it is placed. Connecting/disconnecting would fire up an event.
I initially thought about applying the path finder behaviour, but that seems a bit overkill. There must be a simpler way in Construct, though I need some help uncovering it.
Any suggestions?