Boids tests

Show us your completed creations made in Construct 2

Post » Wed Nov 14, 2012 7:15 am

Yes, boids, they are used for simulating flocks of birds or movement of groups.

Here is my reference:
http://www.kfish.org/boids/pseudocode.html

First attempt:
I basically used the same format as the ref. I think I made a math typo in it somewhere, it's a bit unstable in spots.
https://www.dropbox.com/s/lyolk1o1lzap0 ... .capx?dl=0

2nd:
This is a rewrite from scratch in a typical event fashion. Only eight events and I seem to have fixed the math so its a bit more stable.
https://www.dropbox.com/s/oaybpue9w88yd ... .capx?dl=0

3rd:
This rewrite is based on the idea that it would be cool if vector math could be done directly and not have to do the formulas with the components of the vectors. The result was a lot of the math was hidden in a bunch of reusable vector functions. All the function.calls in the expression kind of counteracted the simplifying of expressions I was going for. Not to mention that it's a bit more tedious writing expressions with my system because errors are just ignored.
https://www.dropbox.com/s/rpqmyaypsxo4u ... .capx?dl=0
Last edited by R0J0hound on Wed Mar 22, 2017 10:19 pm, edited 1 time in total.
B
85
S
27
G
78
Posts: 5,013
Reputation: 54,260

Post » Wed Nov 14, 2012 1:17 pm

thank you for this

nice
B
30
S
6
G
4
Posts: 108
Reputation: 5,602

Post » Wed Nov 14, 2012 1:35 pm

Nice! This is weird, I was wondering if it would be possible to implement the boids algorithm in C2 just this morning when I was feeding the fish. And here it is.
B
55
S
28
G
18
Posts: 1,520
Reputation: 25,285

Post » Tue May 27, 2014 10:21 am

R0J0hound thanks I was looking for something like this. You are star Thanks again
B
226
S
31
G
14
Posts: 1,899
Reputation: 38,302

Post » Tue May 27, 2014 12:19 pm

looks super!
3rd example is beyond me... :(
B
26
S
11
G
2
Posts: 669
Reputation: 5,038

Post » Tue May 27, 2014 2:19 pm

Someone wrote a plugin a while ago: viewtopic.php?t=77775&start=0
ImageImageImage
B
71
S
19
G
167
Posts: 3,428
Reputation: 96,572

Post » Thu Jan 08, 2015 4:23 pm

Boids are awesome.. wait those sample was started in 2012 ? Favor an update then :)
ImageImageImage
B
87
S
41
G
17
Posts: 664
Reputation: 17,972

Post » Wed Mar 22, 2017 9:53 pm

Hey guys.. Im new here. Can anybody help me to find those files? the links are down. Or the plugin of Boid. Sorry about my english :p
B
3
Posts: 1
Reputation: 177

Post » Wed Mar 22, 2017 10:19 pm

Links updated.
B
85
S
27
G
78
Posts: 5,013
Reputation: 54,260


Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 2 guests