Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Work in progress AI code - Box2D

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
7,185
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 19, 2009

Ok, so I added box2D to my engine, so that I could use it for seperation forces for my AI guys. The red circles around the characters are the box2d shapes. Obviously I made them a bit too big for demo purposes. Notice how the characters seperate out when I add more of them? Thats nice.

White guys are called Whitey, green guys are zombies. zombies do melee attacks when they are close enough to a whitey. Whitey right now doesnt take any damage. In fact I'm not sure he should. Zombies arent known for thier intelligence after all.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (zoombapup)

  • Are those like neurological connections???

    I'm also guessing the white blocks stores the information and the yellow blocks performs the logic of the brain???

    I'm also working on a very extensive "artificial social AI" for a game project.

  • @cirusMEDIA No, theyre individual agents. The blue links are paths to a particular point or another agent. The yellow ones are zombies (well, in the abstract sense theyre there to attack the whities). White box guys are seeking a particular resource (which doesnt exist in this scene). But I like your view of it instead!

  • @zoombapup At that point I didnt have any avoidance in at all, so the things look a bit strange. It was really a test to see what would happen if Box2D were used as a way of keeping agents apart. In the end, I've replaced box2d with physx and the project is quite quite different (after a meeting with sony about the idea), but hopefully still interesting.

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • Is for Android or PC? Great job!

  • "The yellow ones are zombies (well, in the abstract sense theyre there to attack the whities)." - that just cracked me up, I just saw some video by a "white supremacist" nutter talking about a "white genocide" - and here you are, programming yellow zombies to attack Whity!!! XD

    Joking aside: Interesting concept videos! :)

  • @zoombapup i think its cool! ..Your vids are similar to an observation city i'm working on for my test subjects/objects. -->these are objects that interact + record reactions from their environment.

    What you could do to add a more natural [individual] feel to the zombie chase pattern is to: add a new controller that (slightly) randomly 'adds' and 'subtracts' an object's ROTATION.

    -->the box then sorta drifts from side to side but its projected path is basically da same!!

  • Looks sweet. Nice swarms!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more