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

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

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.

Chiaki Nanami!

🍒Did you like the game? A demo is available for free on Steam.

✌️ Thanks for playing IndieGameiacs!

⚙️ Free Demo: http://bit.ly/UniDuni

📺 Full Video: https://youtu.be/5qEbVXg7GaQ

#steam #uniduni #clops #screenshotsaturday

Today I was setting up the location of the first boss. His name is "Father" and he is the first of the Patagonians. His task is to guard the road to the House.🛡🗡 Bookmark pre-launch page🔖🔖🔖

https://www.kickstarter.com/projects/rdvindiegame/the-patagonian…

I-Buki

Mio-Da!

Ibuki Mioda!

Path of Kami, running around the shrine area

New Teasers!