首页 | 本学科首页   官方微博 | 高级检索  
     

基于最优路径存储的游戏寻径算法
引用本文:宋广涛,马跃,廉东本,孙咏.基于最优路径存储的游戏寻径算法[J].计算机系统应用,2013,22(2):96-99.
作者姓名:宋广涛  马跃  廉东本  孙咏
作者单位:中国科学院 研究生院, 北京 100049;中国科学院 沈阳计算技术研究所, 沈阳 110168;中国科学院 沈阳计算技术研究所, 沈阳 110168;中国科学院 沈阳计算技术研究所, 沈阳 110168;中国科学院 沈阳计算技术研究所, 沈阳 110168
基金项目:国家水体污染控制与治理科技重大专项(2012ZX07505003)
摘    要:研究了应用于游戏中的多个路径搜寻算法, 以及游戏路径搜寻的一些特点, 提出了基于最优路径存储的寻径算法. 主要是通过最优路径矩阵存储部分的最优路径, 减少大量路径的重复计算, 提高游戏中的路径计算效率. 针对游戏场景角色的移动引起路径点通行状态的变化导致当前的最优路径失效, 提出了路径更新算法, 更新最优路径矩阵当中的最优路径. 另外, 针对地图路径点规模增大的情况, 提出了地图路径点分块处理的策略, 然后对每一子块分别使用最优路径矩阵进行路径存储.

关 键 词:最优路径  路径更新  游戏寻径  分块处理
收稿时间:7/6/2012 12:00:00 AM
修稿时间:2012/9/10 0:00:00

Game Path Finding Algorithm Based on the Optimal Path Storage
SONG Guang-Tao,MA Yue,LIAN Dong-Ben and SUN Yong.Game Path Finding Algorithm Based on the Optimal Path Storage[J].Computer Systems& Applications,2013,22(2):96-99.
Authors:SONG Guang-Tao  MA Yue  LIAN Dong-Ben and SUN Yong
Affiliation:Graduate School, Chinese Academy of Sciences, Beijing 100049, China;Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China;Shenyang Institute of Computing Technology, Chinese Academy of Sciences, Shenyang 110168, China
Abstract:Researching some path finding algorithms used in the game, as well as some of the features of game path finding, and giving the routing algorithm based on the optimal path storage. Storing part of the optimal path through the optimal matrix to reduce the large number of repeated path computation, and improve the efficiency of path computation in the game. For the role movement in game scenes changing the state of path points to pass lead to the optimal path of the optimal path matrix invalid. Path update algorithm is given to update the optimal path of the optimal path matrix. As map path points become larger and larger, map paths are divided; then paths are stored for each sub-block using the optimal path matrix.
Keywords:optimal path  path update  game path finding  block processin
点击此处可从《计算机系统应用》浏览原始摘要信息
点击此处可从《计算机系统应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号