基于 Java 的雷电游戏摘 要 电脑游戏,是指在计算机上能够运转的游戏软件。这种软件具有较强的娱乐性。电脑游戏的创新和进展与硬件、软件的进展紧密相关。它能够给玩家提供一个虚拟的环境,使游戏带给了人们很多的享受和欢乐。雷电游戏因为操作简单,节奏明快,一直是纵轴射击游戏的经典之作。常常能够在手机或者计算机中见到这款游戏,深得广阔玩家的喜爱,可以说是妇孺皆知的一款益智类游戏。 本游戏基于 Eclipse 开发平台,以 java 作为编程语言,整个项目开发旨在模拟雷电游戏的飞机射击游戏。游戏界面的下部是玩家的飞机,可以根据按键控制子弹的发射,上部为敌方飞机,在界面中随机出现。在游戏过程当中,用户飞机的移动是被电脑键盘的方向键所控制的,在整个游戏过程当中,假如用户飞机的子弹与敌方飞机发生相撞时,敌方飞机就会有爆炸的效果产生。游戏中使用到的飞机、子弹均采纳对应的类实现。 关键词:雷电;电脑游戏;java;Eclipse;Lightning Game based on JavaAbstract A computer game is a game software that can run on a computer. This software has a strong entertainment function. Computer game innovation and development and hardware, software development is closely related. It can give players a virtual environment, so that the game brought a lot of people enjoy and joy. Lighting game because of simple operation, rhythmic, has been the vertical axis shooting game classic. Often in the phone or computer to see this game, won the majority of players love, can be said the all to see this game, won the majority of players love, can be said that all ages a puzzle game.This game is a java-based lighting game, the use of Eclipse platform to achieve classic lighting games.The entire project development is to simulate the lighting game of the aircraft shooting game, the bottom is the player’s plane, able to control the launch of the bullet, the top is a random enemy aircraft. Players can control the movement of their own aircraft through the arrow...