首页> 中文期刊> 《计算机工程与应用》 >基于Silverlight网页游戏的寻径优化算法

基于Silverlight网页游戏的寻径优化算法

         

摘要

Aimed to the problems of A* algorithm search in Silverlight web games, such as the path optimization problem and the time-consuming problem, this paper associates the light across algorithm with the A* algorithm search that uses the light across algorithm and the parent node pointer, and proposes an advanced algorithm search in Silverlight web games. The algorithm is based on the existing research results and uses the light across algorithm to reduce the A* algorithm search scale. Meanwhile, it introduces the dynamic critical point technique that combined with the light across algorithm to optimize the path. The experiment in the grid map that used in Silverlight web games proves that this algorithm can effectively find out an optimal practical path, according to the prevailing conditions set by the system. It can raise the search efficiency and reduce the complexity of the planning issue and improve the playability.%为了解决A*路径搜索算法在Silverlight网页游戏中的搜索费时和路径曲折等问题,在结合光线跨越算法和引入父结点指针的二叉堆存储开启列表的A*算法的基础上,提出了一种基于Silverlight网页游戏的寻径优化算法.该算法在现有研究的基础上使用光线跨越算法减小A*算法搜索规模,同时将动态关键点技术与光线跨越算法结合来优化算法返回的路径.将该算法在游戏所使用的网格地图中进行实验,实验结果表明,该算法能够有效地根据系统设定的通行条件寻找出一条最优的实际可行的路径,同时缩短寻路的时间消耗和所寻的路径长度,提高游戏的可玩性.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号