- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
石家庄科技信息职业学院
毕业论文
题目:基于J2SE的坦克大战
学 号:
090124017
李世阳
专业班级:软件技术(游戏方向)09?24班
指导教师: 刘永伟
完成日期: 201L12J8 基于Java的网络版坦克大战游戏设计
摘 要:本设计采用面向对象的设计模式,对游戏中的所有物体赋予对象的 概念和属性。运行程序后允许用户选择执行选项菜单。在开始游戏后,启动服务 器和客户端,对背景的所有物体进行绘图。在主程序运行的线程中,画面刷新将 以一定的频率采用双缓冲技术对屏幕重绘,实时反映整个游戏的进行状态。用户 控制的坦克运行在主线程中,随屏幕刷新的频率而移动。坦克将在游戏开始时进 行初始化,然后将坦克绘制在地图的上层。本设计主耍实现的功能是让坦克移动 并能够智能的打出炮弹,躲避子弹,炸毁对方坦克。能够支持网络对战和单机对 战两种模式。
词:而向对象;坦克大战;网络游戏;Java; Socket类
Java-based Web version of Battle City Game Design
【Abstract】The design of object-oriented design patterns, all the objects on in the game to give the concept of objects and attributes. After running the program allows the user to sclcct the implcmcntation of the Options menu. At the beginning of the game, start the server and client, all objects on the background graphics. Thread running in the main program, the serecn refresh frequcncy will be some double buffer technology to redraw the screen in real time to reflect the state of the game. User-controlled tanks to run in the main thread, with the screen refresh frequency of the movement. Tank will start to initialize the game, and then draw the map of the upper tank Designed to achieve the main function is to allow tanks to move and be able to play smart bombs, dodge bullets, to blow up other tanks. To support online play and single play against two modes.
Key words: Object-oriented; Battle City; online games; Java; Socket class
TOC \o 1-5 \h \z 摘要 1
第1章前言 4
\o Current Document 1.1游戏设计的需求分析 4
\o Current Document 1. 1本系统的现实意义 4
\o Current Document 1. 2本系统和其他开发游戏区別 4
\o Current Document 1.2开发技术概述 5
\o Current Document 1.2. 1 Java、C语言、C++三种主流编程技术比较 5
3 本章力、纟吉 5
\o Current Document 第2章相关技术理论 5
\o Current Document 1系统运行环境 5
\o Current Document 1. 1系统运行的软件环境 5
\o Current Document 1.2系统运行的硬件环境 6
\o Current Document 2.2相关理论 6
\o Current Document 2. 1 关于Eclipse的介绍 6
\o Current Document 2.2.2 J2SE 框架 6
\o Current Document 2.2.3联机通信机制 7
\o Current Document 2. 2. 4 Java图形编程 8
\o Current Docu
原创力文档


文档评论(0)