Game
Cmd & Kill
11 years ago

Working with AI


I finally added basic AI to the enemies and the players units. It is still quite simple but here is what they can do: Goto, attack, follow and die.

5d0c49ee7d457.gif

(Red squares mean collision area for pathfinding.)

Here is a unity editor view with Gizmos. Red circle is the attack radius, green is the awareess radius and the inner blue radius is the collision radius.

5d0c49f078087.gif

For the values of each unit I am actually loading in the values from a online spreadhseet in realtime

5d0c49f38eb4c.jpg

So when I want to balance and tweak some units I can easily do that from within the spreadsheet without copy and pasting values into my code.



4 comments

Loading...

Next up

Placing enemies on the map This is more a smal update but I started placing enemies on the map so that I can start writing their Ai I might change the enemy color at a later time but for now they are green.

Unit Movement part 2 Some basic unit movement has now been added. Right now units can be selected and moved accross the screen. Each unit has its own collision radius and makes sure that no other unit moves into the same position as another unit.

Crowd movement Today I managed to get a bunch of soldiers running. The special thing is that they do not intersect each other and nicely pay attention to each other as a group. Planning to add some sample vehicles soon as well

This Satuday we invite to watch another #speedpainting of our artist Daniel Faiad.

How great is this scene of #Pecaminosa?

#ScreenShotSaturday | #IndieDev | #DigitalArt

Shoobies leave a sticky trail of mucus in their wake, which can impede movement for any creature that steps in it.

Path of Kami: The Evolution of the Lore

Quantum precognition is one of the most powerful cards. End game cards & equipment. Demo/alpha build boss is no match for this deck.

Back in my art school days I used to ride the 710 COPSA line from Parque Del Plata to Montevideo almost everyday. This is the Marcopolo Viaggio G4 Mercedes Benz model from the late 80s, one of the older bus models that was running on the line.

Made my first ever animation.