Sunday, June 3, 2007

Formations Part 2!

I’ve changed a lot of code to make it work well with the formations. This includes the building code (for entering buildings), the attack code and the rotate code. The rotate code used to rotate each unit individually, now it rotates the whole formation. The first part of the video shows how rotating a formation works.

Today I added some randomness to the formation waypoints. This lets the units move more naturally and less like robots. In the video you’ll see the movement lines aren’t straight anymore.


No comments: