Creating the Agent
The monster will be a learning Agent. Over time, it will get better at moving around the environment, avoiding rocks, and seeking out food. We've laid the groundwork to make this possible. It is now time to create and configure the Agent. Creating a learning Agent involves three steps:
- Configure behavior parameters: These parameters define what the output of the neural network will look like, among other things.
- Configure the input into the neural network: This is a crucial step. The input of the network can make a huge difference in how quickly our Agent will learn, and even what our Agent will learn.
- Write a script that will handle the output of the neural network: This step converts the output from the network into the Agent's movement.
We'll start by configuring the behavior parameters as the other two steps require this.
Configuring the Agent's behavior
Every learning Agent requires a Behavior Parameters component...