For today, I added the flee state of the AI as well as a damage system into the game so that each ship can take a certain amount of damage. This ties into the flee state because we check for a certain amount of health to make enemy run away. During this flee state, enemies will slowly regenerate health. Once a certain health level has been reached, the enemy will go back into the explore state to look for the player ship.
In class, we showed our alpha version of the game and today, marks the end of our first semester of work.
Thursday, December 9, 2010
Tuesday, December 7, 2010
Second to last class of semester
For today, I created a basic framework for the AI system. Our AI is a state machine that transitions from state to state given a certain criteria. For example, an enemy in the chase state would transition to the flee/evade state when its health reaches a certain hp. For this sprint and the remaining two days, we will focus on creating the high level parts of the AI system. This will give the enemy basic functions such as exploring space by itself for example. Eventually we'll expand on this so that we have a think and react AI system where the high level will perform the thinking and base on what the enemy observes, will react in more sophisticated manners such as deciding the best maneuver to use when fleeing from the player or chasing the player. For the upcoming thursday, I will continue to add to the basic framework and try to help James with adding the final touches for the demo on Thursday.
Friday, December 3, 2010
Task for final sprint of the semester assigned
So in class we talked about how to split up the remaining tasks we had to have by next thursday. Most notably, we discussed how to split up AI so that we can all work on it without it being too dependent on each other. On the highest level, we have divided AI up into three parts, chase state, evade state, explore state. James and I will be working on the chase state. This chase state deals with chasing the enemy as well as the AI on how to attack the player as well.
Subscribe to:
Comments (Atom)