Monday, March 31, 2014

Base Cutie AI completed

Finally Finished AI scripting in unity for Base Cutie AI. They run in fear when the demon gets close and seek safety locations if they find one close enough to them. learning C# from the ground up is challenging but I am feeling pretty good about what I have learned so far.

Steps Accomplished so far:

Made the demon character follow input from the mouse position on the NavMesh.

Created script to leap to targeted location by calculating the needed velocity.

made logic for when leap can be used.

destroy the cutie on contact add to score board.

calculate life, kill count, escaped count.

spawn cutie AI randomly across the world onto the navmesh.

created wander logic for cutie to wander aimlessly near themselves.

Much more to come