Decision Trees: If Player Near, Attack
๐ Instructions
Real game AI makes DECISIONS: 'If the player is close, attack. Otherwise, wander.' This is called a decision tree.
Build an enemy that picks different actions based on the situation.
Real game AI makes DECISIONS: 'If the player is close, attack. Otherwise, wander.' This is called a decision tree.
Build an enemy that picks different actions based on the situation.