We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpPrograms › how to get 2 different flocks to interract
Page Index Toggle Pages: 1
how to get 2 different flocks to interract (Read 215 times)
how to get 2 different flocks to interract
Dec 28th, 2008, 8:33am
 
So I'm teaching myself this stuff, and just started tinkering by copying and pasting, and messing with values. I'm the epitome of a newbie, as I know nothing about programming anything (my learn processing book is in the mail). But you gota start somewhere. I have been messing with this guy's flocking program and successfully got 2 different flocks going at once (I changed their color and size to tell them apart for now), but the way they're in brackets makes it so that each class doesn't interact with the other. How do I get them to interract? I'm hoping to get one type to be slow and more cohesive, and the other type to be fast and loose. Eventually I'd like to have more than just 2 types. Anyway Some guidance would be nice, otherwise hopefully I'll stumble across it.

The code was too long so i posted it here:

http://blog.myspace.com/index.cfm?fuseaction=blog&friendID=28096396
Page Index Toggle Pages: 1