下载 > 资源分类 >  开发技术 >  C++ > 《游戏编程精粹》光盘源代码

《游戏编程精粹》光盘源代码

2004-06-25 上传大小:6.83MB

《游戏编程精粹》光盘源代码Author: Steve Rabin
E-mail: stevera@noa.nintendo.com
Last revised: 5-20-00

This MS Visual C++ project is the AI engine described in the book Game 
Programming Gems within the articl
e "Designing a General Robust AI Engine". 
Please refer to the book for a full explanation of the implementation. 
Comments within the code also provide additional information.

The state machine language uses a few custom keywords that should be 
highlighted by Visual C++ in order to make the state machine more 
readable. You can get Visual C++ to highlight these words by placing the 
file "usertype.dat" (included in this directory) into the same directory 
as Msdev.exe (C:Program FilesMicrosoft Visual StudioCommonMSDev98Bin). 
The file "usertype.dat" is simply a text file listing the state machine 
keywords.

Here is a brief overview of the state machine structure.

Each game object can point to a state machine. When that game object 
receives a message, it gets routed to it s state machine. The state machine 
can execute any code on behalf of the game object and can send additional 
messages, delayed messages (timers), can change state, or can destroy 
itself. Actually, each state machine can execute any code within your 
game. It is completely general.

The state machine language was designed to provide a simple, consistent, 
robust, and general implementation of a state machine to every game 
object. The language itself consists solely of macros that have been 
carefully crafted to fit together like puzzle pieces. You can see an 
example in the file "fsm_drone.cpp". The macro language can be found in 
the file "fsmmacros.h".

The AI engine provided was ported from C++ to C in order to show that it 
doesn t rely on any object-oriented techniques and that its generally 
applicable (also for legal reasons). I would highly advise porting it back 
to C++ so that it can take advantage of object-oriented techniques (even 
though it doesn t require them).

Good Luck!
...展开收缩
综合评分:4.1(118位用户评分)
开通VIP C币充值 立即下载

评论共有12条

u0122348662017-06-22 19:40:04
不错,慢些消化哈,太多了
guocheng782016-08-10 10:25:34
代码好像不全,不管怎么样
kmpop20002015-03-11 17:22:24
是个好东西,多谢分享

登录后才能评论

 

相关推荐

游戏编程精粹1-7光盘源代码.part05 立即下载
积分/C币:3
游戏编程精粹1-7光盘源代码.part03 立即下载
积分/C币:3
Game Programming Gems 6 (游戏编程精粹6)光盘代码.part03 立即下载
积分/C币:3
Game Programming Gems IV (游戏编程精粹4)光盘代码.part4 立即下载
积分/C币:3
游戏编程精粹8+源代码.part4 立即下载
积分/C币:3
游戏编程精粹7+源代码.part2 立即下载
积分/C币:3
游戏编程精粹6+源代码 立即下载
积分/C币:3
游戏编程精粹1+源代码 立即下载
积分/C币:3
《PC游戏编程(网络游戏篇)》光盘源代码 立即下载
积分/C币:5
游戏编程精粹3.(Game.Programming.Gems.3).Dante.Treglia.扫描版.pdf 立即下载
积分/C币:2
游戏编程精粹5.(GAME.Programming.Gems.5).(美).Kim.Pallister.扫描版.pdf 立即下载
积分/C币:2
游戏编程精粹6.(GAME.Programming.Gems.6).(美)Mike.Dickheiser.扫描版.pdf 立即下载
积分/C币:2
游戏编程精粹1.Game.Programming.Gems.1.扫描版.pdf 立即下载
积分/C币:3
游戏编程精粹5.(GAME.Programming.Gems.5).(美).Kim.Pallister.扫描版.part1 立即下载
积分/C币:5
游戏编程精粹5.(GAME.Programming.Gems.5).(美).Kim.Pallister.扫描版.part2 立即下载
积分/C币:3
游戏编程精粹2 立即下载
积分/C币:10
游戏编程精粹2.(Game.Programming.Gems.2).(美)Mark.A.Deloura.扫描版.pdf 立即下载
积分/C币:2
游戏编程精粹1.(Game.Programming.Gems.1).(美)Mark.DeLoura.扫描版.pdf 立即下载
积分/C币:2
游戏编程精粹7 立即下载
积分/C币:3
游戏编程精粹 立即下载
积分/C币:0

热门专辑

VIP会员动态

关闭
img

spring mvc+mybatis+mysql+maven+bootstrap 整合实现增删查改简单实例.zip

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
扫码关注并点击右下角获取下载码
输入下载码
为了良好体验,不建议使用迅雷下载
img

《游戏编程精粹》光盘源代码

会员到期时间: 剩余下载个数: 剩余C币:593 剩余积分:0
为了良好体验,不建议使用迅雷下载
VIP下载
您今日下载次数已达上限(为了良好下载体验及使用,每位用户24小时之内最多可下载20个资源)

积分不足!

资源所需积分/C币 当前拥有积分
您可以选择
开通VIP
4000万
程序员的必选
600万
绿色安全资源
现在开通
立省522元
或者
购买C币兑换积分 C币抽奖
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
(仅够下载10个资源)
为了良好体验,不建议使用迅雷下载
确认下载
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 0 0
为了良好体验,不建议使用迅雷下载
C币充值 开通VIP
img

资源所需积分/C币 当前拥有积分 当前拥有C币
5 4 45
您的积分不足,将扣除 10 C币
为了良好体验,不建议使用迅雷下载
确认下载
下载

兑换成功

你当前的下载分为234开始下载资源
你还不是VIP会员
开通VIP会员权限,免积分下载
立即开通

你下载资源过于频繁,请输入验证码

您因违反CSDN下载频道规则而被锁定帐户,如有疑问,请联络:webmaster@csdn.net!

举报

若举报审核通过,可奖励5下载分

  • 举报人:
  • 被举报人:
  • 举报的资源分:
  • *类型:
  • *详细原因: