in

This site is all about the amazingly cool stuff you can do with VB.NET.

rar VB.NET XNA Chase and Evade Sample

Downloads: 392 File Size: 235.4kB
Posted By: admin Views: 387
Date Added: 12-02-2007

Chasing and Evading Sample

This sample shows how to implement several simple behaviors for AI, including chasing, evading, and wandering.

Sample Overview

This sample demonstrates chasing and evading behaviors by using three actors—a cat, a mouse, and a tank. The tank and the mouse are controlled by AI, and the cat is controlled by the player. The tank chases the cat, and the mouse runs from the cat. The tank and the mouse wander around the screen when the cat is not nearby. The "turn toward" functionality from the aiming sample makes it very simple to create these behaviors: chase, evade, and wander.

Filed under: , , , , , ,

Comments

No comments exist for this file.

Copyright 2008 - ILoveVB.NET
Powered by Community Server (Commercial Edition), by Telligent Systems