[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Limited Range?



Jake b wrote:
An alternative is having a lifetime. Bullets could self-destruct after .5
seconds of life.

You should probably do both. A tower shouldn't try
to shoot at a target that's out of range, and a
bullet shouldn't hit a target that moves out of
range after the shot is fired.

--
Greg