搜索资源列表
a_game_road_find
- A*算法是一个求最短路径的函数,为许多即时战略游戏所用刀(或许人家大型的即时战略游戏笔者算法更好,不管它)。它由两个函数组成,一个是评估函数,也就是确定人物移动的下一个位置必须离目标位置最近,评估函数评估的结果越精确,则寻径的速度越快;另一个就是寻径函数,也就根据评估的结果做出响应,然后从新位置继续评估下一个位置,若无路可走(四周都是障碍什么的),那么折回一个路径节点,尝试其他方向,这个算法有个缺点,随着游戏中人物增多,相应的处理节点就增多了,会影响处理速度,而且占用大量的内存。 有兴
butt
- 完整的刚体碰撞测试程序,程序中的算法值得学习,一切尽在不言中,下吧-Complete rigid-body collision test procedures, procedures to learn of the algorithm, all尽在不言中, under the right
AStar
- 基于向量实现的AStar算法,给出了原理分析和必要注释,已经测试通过。-AStar vector-based algorithm to achieve, given the principle of analysis and notes the need to have the test.
MFC-Snake
- MFC平台贪吃蛇游戏 用面向对象程序设计思想编写 和简单的一款游戏 算法测试 没有太多可玩性-Snake MFC platform design using object-oriented program written and simple algorithm for testing a game is not much playability
as3Pastar
- as3版A*寻路优化算法,代码短小精悍。附有测试程序。可用于Flex, as3 游戏开发-as3 version of A* pathfinding optimization algorithm, code dapper. With the test procedures. Can be used in Flex, as3 game development