上QQ阅读APP看书,第一时间看更新
Summary
What we demonstrated here is how you can create an Enemy AI that pursues a player or another AI. This type of behavior can be used to create a challenge and provide the player with feedback, which results in a better gameplay experience. AI can definitely be more complicated, but this should only be done if it is needed to improve the play experience. In the next chapter, we will add randomness and probability to our AI character to make it behave in a more interesting way.