首页> 中文期刊> 《自动化技术与应用》 >Tank Fighting游戏的设计与开发

Tank Fighting游戏的设计与开发

             

摘要

以软件工程理论为指导,以Visual C++6.0为开发平台,以C++为开发语言,使用Win32 API和DirectX技术,设计和开发“Tank Fighting”游戏.游戏有两种模式:单人游戏和双人游戏.每种模式分为三个层次:资源层,处理层和显示层;资源层负责存储和加载图片声音等信息;处理层负责控制游戏中的各种事件流程,主要包括碰撞检测算法和电脑AI算法等;显示层负责显示游戏界面,分为精灵和图层两种显示单元.使用DirectX组件进行输入输出、动画和声音的处理.%"Tank Fighting" is designed and developed,under the guidance of the theory of sottware and engineering,using the Visual C++ 6.0 as the develop platform,utilizing the C++ language,adopting the Win32 API and DirectX technologies.The game has the two models:single player game and double player game.Every model is divided the three layers:resource layer,processing layer and display layer.Resource layer is responsible to the storage and loading of the information for graphics and sounds.Processing layer is responsible to the process for all kinds of events,it includes the algorithms of collision detection and computer AI.Display layer implements the display of the game interfaces,it includes the two units of the spirit and graphics.In the course of the game development,the DirectX components is used to process the input,output,animation and sounds.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号