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.

Successful landing

#screenshotsaturday

Here's a peaceful little forest scene for this #screenshotsaturday, from the beginning of the game.

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

A house I've built a while ago. :)

It nicely separates the snowy biome from the grassy one.

It's built with painted Ebonstone.

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

I worked so hard to get all four of them to the end safely, but then...

Our menu, gathered a huge feedback and positive comments among foreign audience, what you say? Game Steam: https://store.steampowered.com/app/1543090/LiBER/