Crazy AI stuffs

Apprentice
Posts: 19
Joined: 2005.06
Post: #5
If I were going to make something like that I'd probably have an array for different types of movement. IE MovementTypeOne[] = ["left", "left", "left", "left", "down", "right", "right", "right", "right", "up"];
then have a switch statement for each direction and move all the units in that direction. at the start of each loop move the max hight down by one.

I'm also very naïve, so I'm probably suggesting something horribly wrong.
Quote this message in a reply
Post Reply 


Messages In This Thread
Crazy AI stuffs - Coin - Oct 12, 2005, 10:25 PM
Crazy AI stuffs - aarku - Oct 12, 2005, 11:01 PM
Crazy AI stuffs - Coin - Oct 13, 2005, 12:12 PM
Crazy AI stuffs - Andrew - Oct 16, 2005, 04:54 PM
Crazy AI stuffs - frozendevil - Oct 16, 2005 06:16 PM
Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  I'm going CRAZY!!! Random crashes without reason akb825 3 3,134 Aug 18, 2005 03:46 PM
Last Post: akb825