Wednesday, April 29, 2009
Wednesday, April 22, 2009
Monday, April 20, 2009
Monday, April 13, 2009
Working on an AIMaster class. This class will essentially be another unit on the playing ground, but it has the unique job of giving the other units under it's authority orders. Upon death of the AIMaster all units revert to their default behavior, which typically makes taking out the monsters easier.
Monday, April 6, 2009
Wednesday, April 1, 2009
Monday, March 30, 2009
Trying to implement a crude (?) AI system.
Effectively, the various objects will add AIModule subclasses to a vector of AIModules, and each module will take some action each time. For instance, the AIChase module chases a target and tries to get to a certain spot around them. The AIAttack module waits until the target is within range and attacks.
Looks like it might be working so far, although AIChase seems to not want to get on the right side of the target.
Effectively, the various objects will add AIModule subclasses to a vector of AIModules, and each module will take some action each time. For instance, the AIChase module chases a target and tries to get to a certain spot around them. The AIAttack module waits until the target is within range and attacks.
Looks like it might be working so far, although AIChase seems to not want to get on the right side of the target.
Subscribe to:
Posts (Atom)