Chapter 7. Encountering Enemies and Running Away
The world is full of big and scary things, or so at least our budding hero is about to find out; you'd think someone would have warned him.
At the heart of most RPG-style games are the bad guys. How they think and how they confront and challenge you will mark your game as either too hard or too easy. Sadly, there isn't any real middle ground (you can't please everyone all the time). However, we can ensure a fair system all round and engage the players with systems that will surprise and entertain them as they move around in the big bad world.
The following topics will be covered in this chapter:
- Planning for event systems
- State machines
- Basic AI techniques