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

游戏设计中碰撞探测的编程算法
引用本文:张云苑.游戏设计中碰撞探测的编程算法[J].现代计算机,2005(8):84-86.
作者姓名:张云苑
作者单位:苏州工艺美术职业技术学院数字艺术系,苏州215008
摘    要:随着电脑游戏的不断发展,游戏的类型越来越多.除了那些发生在无限空间中的游戏或棋牌类游戏以外,大部分游戏需要确定运动物体和环境之间什么时候发生碰撞.本文论述了游戏实体间的碰撞探测、游戏实体与地板、天花板、墙壁等环境碰撞的碰撞探测的编程算法,并给出了用Java语言编写的主要代码.

关 键 词:游戏  实体  环境  碰撞探测  BSP树
收稿时间:2005-4-13
修稿时间:2005-4-13

Programming Algorithm of Collision Detection in Game Design
ZHANG Yun-yuan.Programming Algorithm of Collision Detection in Game Design[J].Modem Computer,2005(8):84-86.
Authors:ZHANG Yun-yuan
Abstract:Along with the progress of computer games, a considerable variety of game has appeared. Except these computer games which are appeared in the infinite space or bridge-type games, in most computer games, it needs to determine when the collision between the object and the environment will happen. In this paper, the programming algorithm of collision detection between game objects itself, and between game objects and the environmental substances, such as wall, floor, and ceiling is described. Also the main codes by Java language was given.
Keywords:Game  Object  Environment  Collision Detection  BSPTree
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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