Game
Towncraft II
11 years ago

Week #4 - new FOW, and AI villages' development


Sorry if I haven’t posted Week #3 news, I didn’t because I simply did nothing to the game that week, lol. But this week I worked a lot on it. I made a new fog of war system:

5d0c46e924b25.png

I’m also working on two things, one is very important, a new movement system, and the other is very cool, the AI villages development. Their AI work like this, in order of priority:

  1. Pop. capacity exceeded? Build a house.

  2. Food production < Food consumption? Build farm.

  3. No villagers for building requests? Train villager.

  4. Order idle villagers to work on mines/lumbermills if possible.

  5. Build mine/lumbermill when nothing is really needed.

Each village has its action_delay variable, which defines the time between these checks above. The faster the checks, the faster they raise. Difficulty defines their action delay, added to some random number. I need to add more things like make them build markets, barracks, etc, also making them train warriors when in need of protection and make they plan attacks (mwahaha) against the others, of course, but it’s already very nice and grateful to see them raising their own villages, hehe.



3 comments

Loading...

Next up

Bandana Dee the Dream Friend

Chiaki Nanami!

Enemies can also suddenly spawn through Realm Rifts. These Rift Spawns are going to be stronger than the ones wandering around. TBD on the enemies... #screenshotsaturday #godstear #madewithunity

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

Showing off player 2 😎

What do you think?

Why walk when you can jump?

We're glad to announce that Baby Dino Adventures 🦖 is now available in Early Access here on GameJolt! Link: https://gamejolt.com/games/babydinoadventures/508121 Walk, run, and jump as a baby t-rex in this cute platformer Free demo available #IndieGame | #GameDev | #PixelArt

"Day to Day" (also check spud out here he's a great guy and writer: https://soundcloud.com/spudward)

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

Ladies & gentlemen.. The Blender logo factory! I had a ton of un making this animation. I'll be making a short tutorial on picking up/dropping object in Blender for animations next week! What do you think?