June 21, 2002
Steering Behaviors - Step 1

As I wrote before I'm currently trying to implement so called "Steering Behaviors" in Flash. Well, I made some progress, but.... hmmm..... I'm not really there yet.

I took the open source Java code from Thomas Feilkas and Christian Schnellhammer and tried to convert all the classes as good as possible into actionscript. There are lots of datastructures in Java that do not exist in Flash, like hashtables, vectors or collections, but for most of them I decided that it is better to go the flash way instead of simulating Java objects.

The first outcome is pretty disappointing. I have a 2Ghz machine and even a simple scene brings it almost to a halt. See yourself:

At least the scene parser already works. The XML file that created this scene looks like this.

I guess to gain more speed I will have to get rid of a lot of the "good" OOP style, e.g. replace all the object.getX() with object.x. Then I will go deeper into the core algorithms and check the biggest slowdowns.

No source for download yet.

Posted at June 21, 2002 06:35 PM | Further reading
Comments

i played around with some of this stuff too...


www.bit-101.com/content/020518.swf

Posted by: BIT-101 on June 21, 2002 08:50 PM
Post a comment
Name:


Email Address:


URL:


Comments:


Remember info?



Thank you!
Most Visited Entries
Sketches, Works & Source Code
Popular on Aviary

Lectures
Contact
Backlog
In Love with
Powered by
Movable Type 2.661

© Copyright Mario Klingemann

Syndicate this site:
RSS 1.0 - RSS 2.0

Quasimondo @ flickr
Quasimondo @ LinkedIn
Quasimondo @ Twitter
Quasimondo @ Facebook
Quasimondo @ MySpace
Quasimondo is a Bright
Citizen of the TRansnational Republic
My other blog in german
Impressum


My family name is written Klingemann,
not Klingelmann, Klingeman, Klingaman, Kingemann,
Kindermann, Killingaman, Klingman, Klingmann, Klingonman
Klingemman, Cleangerman, Klingerman or Kleangerman