Okay, so, a couple things:
1. I really prefer source - then - target. However, I also think that being able to quickly check other corners is appropriate! So, I made it so we can have it both ways. The process is:
a. Select the tool.
b. Select the source token (the attacker, in 4E parlance). Click near one of its corners, as usual.
c. Select the target. You'll get the LOS lines and shaded box.
d. Now, if you go back to the source and click near another corner, the LOS lines will change their origin corner.
2. I've noticed an ugly graphics flicker when I use it on my computer here at work (lunch break time!) - when you first select the tool, and try to click on a source token, the whole screen flickers once. It will then work normally, but that first token has an ugly flicker. HOWEVER, this doesn't happen on my home computer - there, there's no flicker or anything. I've discovered that there isn't
a flicker if I follow these steps:
1) click the tool to activate it.
2) click on the map anywhere except on a token
3) then click the token
So there's something about component focus and it varies by computer but beyond that, I don't know - it could be a Java version thing, or a graphics driver thing, or...anything. I hope to resolve it programmatically but I'm not sure there is
a solution. Any thoughts, anyone? Here's the current code:
rumble_lostool_december3.txt [11.01 KiB]
Downloaded 8 times
Two color lines ftw.
I also noted and loved the spyglass icon right off.
As for target or source first i would vote source personally if i had to choose but both would be handy. Would it be possible to have something like the template drawing tool where you get some secondary options to the right of the tool buttons and this would let you toggle between the two?
Actually, I was thinking about doing a tool type and then sub-tools, but the subtools would be 4E-style LOS and then just Center-to-Center LOS. I can't think of any other options beyond those (how many types of LOS are there, excluding ones that involve elevation too?). But I'm open to ideas!