Boids

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
anhtuan445
Prole
Posts: 12
Joined: Sun Sep 12, 2010 1:51 pm
Location: Estonia
Contact:

Re: Boids

Post by anhtuan445 »

Hi its me again! I would really appreciate if I could get the boids file. I have been wanting to do it in c++ for a long time, but your work could help me play around with it in LÖVE. Hope its not in your old PC so you can get it ;)
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Boids

Post by Robin »

Hi :3

Unfortunately, with this one it's the same story.

If you are looking to implement boids yourself, Frock is probably a better place to start anyway.
Help us help you: attach a .love.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Boids

Post by vrld »

I have one, it's rather old though.
Black triangles are regular boids. The green ones try to follow the mouse. Place attractors with a left-click, repulsors with a right-click. Spawn new boids with your scroll-wheel.
Attachments
boids.love
(1.85 KiB) Downloaded 117 times
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
anhtuan445
Prole
Posts: 12
Joined: Sun Sep 12, 2010 1:51 pm
Location: Estonia
Contact:

Re: Boids

Post by anhtuan445 »

Thanks, will look at it later :)

The Frock is for older version of Löve, so I need to make it work - now it runs, but many things still crash it. I hope I get the general idea from it though.

Anhtuan
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Boids

Post by Robin »

Looks nice, although it seems to be more swarming than flocking -- and the repulsors don't seem to repulse them very much. ;)
Help us help you: attach a .love.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Boids

Post by vrld »

Robin wrote:Looks nice, although it seems to be more swarming than flocking
I think that's because I did not implement the third flocking rule (try to keep at the same speed as the others). It servers well as starting point nonetheless :roll:
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Boids

Post by Robin »

True.
Help us help you: attach a .love.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest