App Hub

코드 샘플 세부 정보

Waypoint Navigation

제출됨
2008-09-30
코드 샘플

Description:

This sample demonstrates basic artificial intelligence navigation in 2D, using waypoints


Sample Overview

When programming the AI for your game, you often want your actors to follow a path that you supply. For example, you may want units in your real-time strategy game to follow orders, or perhaps you want to make a mouse navigate a maze.

This sample uses a tank to demonstrate two examples of this waypoint-following behavior. In this sample, you can move the cursor around and add waypoints toward which the tank will move in the order that you add them.



All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

다운로드

프레임워크

GS 4.0

프레임워크

GS 3.1

교육 콘텐츠 찾기
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG