Just a simple flocking demo

Previous topic - Next topic

kaotiklabs

Hi mates,

First of all, nice to meet you all.
I´ve recently discovered this great sdk for high speed developing and Im quite amazed.
My greetings to the developers.

Just one to show you a small demo about flocking behaviours.
The code is quite dirty, did it in 2 hours while I was learning the environtment.

Maybe I will use it in some kind of game, I think it looks cool.

mouse button 1 : atraction
mouse button 2 : repulsion

Give your opinion. Any ideas will be valorated.
See ya!


[attachment deleted by admin]
Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!

Kitty Hello

Very nice. In flocking demos, fishes have a velocity that can never be 0. Thus, the fish won't stay on one spot. Apart from thtat, ace work.

Quentin

looks nice. =)
but the fishies are flickering when not using the mouse. Perhaps you can make them moving around slowly in this case.

kaotiklabs

hehehe I know, I know.
I'm not trying to straightly simulate fish flocks, just a generic algorithm implementation.

Either way rules' weights are not well balanced and that results in an ugly flickering.

I'll follow you're advice.
Thanks!

Vote Cthulhu! Because the stars are right!!!!
Ia Ia Cthulhu F' tang!