毕业设计(论文)-基于Java的飞机大战游戏开发
毕 业 设 计(论 文)
题目 基于Java的飞机大战游戏开发
摘 要
简单的java游戏代码飞机大战是电脑游戏发展史中早期最为经典的游戏之一,无论是在电脑端、移动端、还是游戏机上,都能见到与飞机相关的射击类游戏。不过,最初常见的飞机大战游戏是二维平面上的,并且大多以黑白的形式出现,而如今,在电脑上,不仅机型多,而且五颜六,3D视觉冲击强。
Java自面世后就非常流行,发展迅速,对C++语言形成了有力冲击,Java技术具有卓越的通用性、高效性、平台移植性和安全性,广泛应用于个人PC、数据中心、游戏控制台、科学超级计算机、移动电话和互联网,同时拥有了全球最大的开发者专业社。在全球云计算和移动互联网的产业环境下,Java更具备了显著优势和广阔前景。
因此,本论文主要阐述以面向对象的程序开发语言Java及Eclipse为开发工具的飞机大战游戏。首先简要介绍课题的研究背景、目的及意义,Java的发展历程、当前国内外的发展现状。然后介绍Eclipse平台开发环境及环境搭建,最后讲述了基于Java飞机大战游戏功能的实现。其功能模块如下:主界面模块,Hero模块,Enemy模块,Bullet的类模块,检测子弹与敌机碰撞模块检测,相信其基于Java的飞机大战游戏将会受到更大的欢迎。
关键词:飞机大战,游戏,Java ,Eclips
I
Abstract
Plane War is the one of the most classic games in the early history of the development of computer games. We can always see aircraft-related shooting game whether it is on a computer teminal or mobile terminal. However, the first common plane war game is a two-dimensional plane, and mostly appears in the form of black and white, but now, on the computer, not just models and more colorful, 3D strong visual impact.
Java is very popular with developers since it appeared, formed the powerful shock for the rapid evelopment of the C++ language. Java technology has excellent versatility, efficiency, platform portability, and security and is widely used in personal PC, data center, game consoles, scientific supercomputers, cell phones and the Internet. What’s more, Java has
the world's largest developer of professional community. In the global cloud computing and mobile Internet industry environment, Java has more significant advantages and broad prospects.
Therefore, this paper describes the development of object-oriented programming language Java and Eclipse development tools for aircraft war game. Firstly, it introduces research background, purpose and meaning, and telled Java development process and the current development status at home and abroad. Then introduces the Eclipse platform development environment and built environment, and finally tells the Java-based aircraft war game features implementation. Its function modules are as follows: the main i
nterface module,Hero module,Enemy module,Bullet module, and the detection module detecting a collision with the enemy bullets. We believes its Java-based aircraft war game would be welcomed greater.
KeyWords: lightning,Game,Java,Eclipse
II
前 言 .......................................................................................................................................... 1
第一章 开发技术和开发平台 .............................................................................................. 3 1.1 Java语言特性 .......................................................................................................... 3 1.2 Java技术在游戏开发中的应用 .............................................................................. 4
1.2.1 绘图技术 ........................................................................................................ 4
1.2.2 游戏开发中的交互 ........................................................................................ 4
1.2.3 基于AWT及SWING的游戏界面开发 ...................................................... 5

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。