[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (TFT) Online Melee
- To: tft@brainiac.com
- Subject: Re: (TFT) Online Melee
- From: Lloyd Weber <laweber3@yahoo.com>
- Date: Mon, 16 Oct 2006 19:01:12 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=T6FaLNh64hOfx+LtJyYCrhLkeEnlWn9LmcXuXzERoEyqAtL6d8NZAjKjPCSmg4dmgqivyE1mL5bedJgO4Eq0/JHeZtywOCIGAWLoeT8sXHbD4fjwElLMntBdFeDN3GMUUDTWeB6fRVVEhOU1weOBfiwjvXm+rXzVcpDXnhFRFpM= ;
- Reply-to: tft@brainiac.com
- Sender: tft-admin@brainiac.com
There are good ideas in there for line of sight. I've done my hexes
differently though, and I'm hoping to be able to continue to use Java's
graphics 2D package for calculating line/hex intersections. If I run into
trouble with it then I'll probably rewrite the whole hex board part, but for
now I think its ok, and even seems pretty easy to work with.
Thanks again!
----- Original Message ----
From: Christopher Fuhrman <fuhrman8or@yahoo.com>
To: tft@brainiac.com
Sent: Monday, October 16, 2006 10:46:27 AM
Subject: Re:
(TFT) Online Melee
--- Lloyd Weber <laweber3@yahoo.com> wrote:
> This is
excellent information, thanks.
I found another useful link, relating to how
to implement the
targeting and line of site (rolling to miss intervening
targets,
etc.). This assumes you use hex coordinates that are not orthogonal:
http://www-cs-students.stanford.edu/~amitp/Articles/HexLOS.html
These
calculations are not trivial, but the code has already been
worked out - just
requires some application of it :-)
__________________________________________________
Do You Yahoo!?
Tired of
spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
=====
Post to the entire list by writing to tft@brainiac.com.
Unsubscribe by
mailing to majordomo@brainiac.com with the message body
"unsubscribe tft"
=====
Post to the entire list by writing to tft@brainiac.com.
Unsubscribe by mailing to majordomo@brainiac.com with the message body
"unsubscribe tft"