Welcome Guest
Please login or register
Week 15 - NPC and Combat mode
May 5, 2011

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!

Follow us

Receive blog updates via email

Enter your email address:

©2013 Subvert Games - Contact