1 0 Tag Archives: flocking

Papersteer and Updates

UPDATE: This release has been superseded by a new release. Please see this post.

Hi guys,

I’ve been lazy but eventually I managed to upload a new build of PaperSteer to the repository. This revision is a major overhaul of what I did with the port. It is in fact written from scratch. I wanted this port to be oriented towards its C++ parent i.e. the original release from Craig Reynolds and that is the reason why, I was not at all satisfied with my original release.

CHANGES:

- I have now uploaded the documentation, plugins and the new build with lots and LOTS of improvements.
- Bug fixes, stupid errors that I was overlooking.
- AS3 optimizations.
- OOP implementations and strict rules on compilation and AS3 compliance.

However, this build still does not contain the Demo which I initially promised for this build, but bear with me because I am actually working on it. Once that is done, I will be giving Papersteer a turn that the actual Opensteer lacks and that is, dynamic creation and loading of plugins.

Yes, I know that is something very big to tout about but since I love working on personal projects, I will definitely finish this sooner or later. For now, the build is up and I must say again that it is rather a preview for people to look at my work and it is broken. Porting a huge library such as Opensteer can be a severe pain, if it requires changes to the design and core implementations of the classes.

Go check it out already.

Apart from that, I recently tried to keep my artistic side alive by recreating an old scene from one of my favorite games of all time…Metal Slug. A destroyed submerged tank in the deep blue see…I hope you like it.

Regards,
MHAQS

Read full story »

Birds Flocking Behavior

UPDATE: I have released a complete working port of Opensteer for ActionScript 3. Please see this post.

When I was working on the paperwork for this website, I promised that I will share source code and tutorials for people. I have been pretty active working with many projects lately, and I rarely find time to practice my interests. There are so many great examples and pieces of art out there that I take inspirations from. Much of it involves working with Visual Algorithms and I get to have a great time learning them and re implementing them to my pleasure. This serves me education and releasing them in a new form will eventually serve the community.

This time it is the famous Birds Flocking Behavior Algorithm using Boids. I converted it to Action Script 3. This algorithm can be very useful in areas of visual programming and games. Also, I have been busy working with PaperVision 3D for quite some time. I’ll release a PV3D version of this Algorithm soon. So keep an eye out for that too.

The source code is attached below and if you have questions, do ask. Also, if you need to study this algorithm, you may search around the internet and you’ll find many articles about it.

Regards,
M.H.A.Q.S.

flocksimulation.zip

Read full story »