Towncraft II is real time strategy game with Warcraft 3, AoE & Minecraft as biggest inspirations. In the game, you start out as a small village and need to develop it in order to don't get destroyed by the monsters that may show up at night. There are 5 resources in Towncraft: Food (that keeps population alive), wood (that is used to build almost everything), iron (needed to train all the military units), gold (used to buy resources) and glory (used to buy upgrades for your town). As your town level up, new buildings get unlocked, and you'll need to face tougher challenges too. There are 11 buildings to construct: houses, fences, farms, lumbermills, roads, towers, barracks, magic schools, markets, walls & mines.

Report RSS Week #5 - Map mask, scanlines and AI improvements

Howdy, dear followers! This week I made some good things. The first, is that I created a kind of map mask, that way actors don't get into forbidden places (so no crashs).

Posted by on

Howdy, dear followers! This week I made some good things. The first, is that I created a kind of map mask, that way actors don't get into forbidden places (so no crashs).


I'm testing some scanlines for the game, they look cool imo, but not in everyone's, so I'm making it possible to deactivate it if you wish.


I'm working in the village development AI too. A debug image:


The red rectangle shows where the AI is trying to place a building, it goes around the village main building and go getting far until it finds a free place.I'm setting things up like actors/buildings database and it's nothing I can actually show in screenshots, but lots of progress were made.

Post comment Comments
ZeroBits
ZeroBits - - 131 comments

great work, oh, and I thought I was the only one who thought scan-lines were cool.

Reply Good karma Bad karma+1 vote
Afrobear Author
Afrobear - - 36 comments

Haha, thanks! xD

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: