Game progress: week 52 of 52
Week 15 - NPC and Combat mode
2011-05-05

Adam already got friends...it's time to make some enemies!

This week I created a new "training room" and started coding the basic AI for the enemy NPC. Right now the NPC still cannot attack, but can "see" the player and seek him using a line-of-sight technique similar to what already used for the party members follow behaviour. Also, I'm testing a very cheap collision avoidance technique using 2 "feelers" to sense a near obstacle (even a dynamic one).


Adam, run!

Changes

  • Adam has a face!
  • Different soundtrack for Combat mode
  • Yellow/Red circles under PC/NPC (to reduce friend/enemy ambiguity)
  • Show information on mouse over NPC
  • NPC turn head towards the combat target
  • NPC line of sight (raycast, blocked by walls)
  • NPC "feelers"
  • NPC shown as a red dot in the minimap

Enjoy this weekly video changelog and remember to subscribe to the youtube channel!

Welcome

You've found the place where I try to keep everyone up to date about the progress and experiments, rant about the bad weather and talk about making great games.

Be sure to subscribe to the RSS feed to get all the latest news!

Email updates

Enter your email address:

On Twitter