This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Pursuit algorithm question


Pursuit algorithm question

Postby fzammetti » Jul 25, 2003 @ 5:10am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Pam » Jul 25, 2003 @ 1:11pm

This is probably overkill for what you want, but check out Boids here,

The basic idea being around Steering behavours. You have a behaviour where the zombies steer toward a common goal. What you also need is a behaviour where the zombies steer to avoid eachother.

One way is to check the position a zombie is about to move into and see if there is already a zombie there, or within some proximity. If there is, either don't move at all, or pick a new position in the same general direction, i.e. if x>y then add/subtract a random value to y and repeat the check.

Pam
All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby fzammetti » Jul 25, 2003 @ 2:01pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Pam » Jul 25, 2003 @ 2:46pm

All the easy problems have been solved.
User avatar
Pam
pm Insider
 
Posts: 449
Joined: Jan 24, 2002 @ 10:30pm
Location: Ohio


Postby egarayblas » Jul 25, 2003 @ 4:46pm

-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby fzammetti » Jul 25, 2003 @ 4:49pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum