文档详情

游戏坦克大战软件的开发 毕业论文.doc

发布:2018-08-06约5.64万字共78页下载文档
文本预览下载声明
游戏(坦克大战)软件的开发 ——游戏过程一 Games (Battle ——Game Process One 专 业:计算机科学与技术 班 级:软件064班 学 号:2 学生姓名: 指导教师: 2010年 6 PAGE 69 摘要 本论文第一章是介绍国内外游戏的发展状况,第二章介绍一些游戏编程的技术和原理,第三章开始是坦克大战的总体设计,对游戏有一个总体的设计,第四章介绍了详细设计,游戏具体实现都在这章,第五章是介绍了本程序的设计创新之处,最后总结。 坦克大战用VC实现起来不难,先准备各种图片,然后用计时器把这些图片在屏幕上一直重画。通过键盘的输入来改变控制坦克;子弹打中敌人,敌人爆炸,同样敌人也能移动,也能放子弹,敌人子弹打中我方坦克也会爆炸消失;敌人坦克数为0打完进入下一关,己方坦克数为0游戏结束,并有打分统计;最后加入了游戏声音。这个游戏主要是图片的显示问题,因为一直在刷新,必然会导致“闪屏”现象,用“双缓冲”可以解决这个问题。设置透明色可以让图形显示更美观。 关键词: 坦克大战; 游戏; 计时器; 双缓冲 Abstract This thesis’ first chapter describes the development of domestic and international games, chapter II describes some game programming techniques and principles, Chapter 3 start is the overall design of the battle, the game has an overall design, Chapter 4 describes the detailed design, game specific implementations in this chapter, chapter v is describes the programs design innovations, concluded. Battle with VC it, prepare a variety of pictures, and then use a timer to these pictures on the screen has been repainted. The input through the keyboard to change the control tanks; the bullet hit the enemy, the enemy of the explosion, the same enemies move or be placed bullet, enemy bullet our tank will disappear; the enemy tank explosion is the number 0 when enter the next level, self number 0 tank game over, and scoring statistics; and finally joined the game sound. This game is the display problem, as has been refreshed, the quot;splash screenquot; phenomenon, quot;withquot; double buffering can solve this problem. Set transparent color can make graphic display more beautiful. Key words: Tank Battle; game; timer; double buffering 目 录 TOC \o 1-3 \h \z \u HYPERLINK \l _Toc 摘要 PAGEREF _Toc \h I HYPERLINK \l _Toc Abstract PAGEREF _Toc \h II HYPERLINK \l _Toc 目 录 PAGEREF _Toc \h III HYPERLINK \l _Toc 1章 游戏的发展状况 PAGEREF _Toc \h 1 HYPERLINK \l _Toc 1.1 背景 PAGEREF _Toc \h 1 HYPERLINK \l _Toc 1.2 著名的游戏公司简介 PAGEREF _Toc \h 3 HYPERLINK \l _Toc 1.3 国外游戏发展状况 P
显示全部
相似文档