基于Java的飞机大战游戏的设计与实现.zip

上传者: duyuehuang7686 | 上传时间: 2021-04-20 09:03:33 | 文件大小: 4.30MB | 文件类型: ZIP
基于Java的飞机大战游戏主要需要我方飞机和敌方飞机,还有子弹,特殊nPC,开始背景,结束背景,以及背景音乐。我方飞机可以随意移动,敌方飞机无规律出现。游戏玩家通过鼠标移动控制飞机移动,我方飞机在游戏开始时就一直能发射子弹,当我方子弹碰到敌方飞机时,敌方飞机消失。当玩家飞机碰到敌方子弹时,生命值减一,直到玩家飞机生命值为一时,游戏结束。基本模块包括:游戏状态控制功能模块、游戏难度的调整模块、游戏界面绘画功能模块、玩家游戏控制功能模块等。本系统结构如下: (1)游戏状态控制功能模块:游戏的状态控制包括运行及结束游戏,首先进入游戏的开始页面,在游戏进行时,玩家必须躲避或者击落敌方飞机,玩家飞机的生命值降低为0的时候游 戏就会结束,弹出游戏结束界面 (2)游戏难度的调整模块:玩家玩的时间越长游戏的难度越高,敌方飞机的数量越多、敌方飞机出现的频率越高,玩家保证飞机的存活的难度越高,操作难度相应也高。 (3)游戏界面绘画功能模块:左上角会显示玩家飞机当前生命值,游戏时间,当前分数,其他地方用来输出玩家对我方飞机的控制与敌方飞机的动作显示 (4)玩家游戏控制功能模块: 玩家可以通过控制鼠标或者键盘来控制方飞机(Hero airplane)的移动。 数据库:无 使用技术:Java Swing 开发工具:IntelliJ IDEA

文件下载

资源详情

[{"title":"( 52 个子文件 4.30MB ) 基于Java的飞机大战游戏的设计与实现.zip","children":[{"title":"基于Java的飞机大战游戏的设计与实现","children":[{"title":"【一定要读我】(关于基于Java的飞机大战游戏).txt <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":".DS_Store <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"论文等资料","children":[{"title":"基于Java的飞机大战游戏的设计与实现论文.doc <span style='color:#111;'> 413.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"源代码","children":[{"title":"飞机大战3.0","children":[{"title":"bin","children":[{"title":"main","children":[{"title":"Airplane.class <span style='color:#111;'> 1004B </span>","children":null,"spread":false},{"title":"ShootGame$1.class <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"gameover.png <span style='color:#111;'> 19.75KB </span>","children":null,"spread":false},{"title":"FlyingObject.class <span style='color:#111;'> 840B </span>","children":null,"spread":false},{"title":"background.png <span style='color:#111;'> 26.08KB </span>","children":null,"spread":false},{"title":"airplane.png <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"bullet.png <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"game_music.wav <span style='color:#111;'> 1.99MB </span>","children":null,"spread":false},{"title":"ShootGame$2.class <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"Bullet.class <span style='color:#111;'> 820B </span>","children":null,"spread":false},{"title":"hero1.png <span style='color:#111;'> 15.86KB </span>","children":null,"spread":false},{"title":"Enemy.class <span style='color:#111;'> 121B </span>","children":null,"spread":false},{"title":"hero0.png <span style='color:#111;'> 11.99KB </span>","children":null,"spread":false},{"title":"bee.png <span style='color:#111;'> 9.48KB </span>","children":null,"spread":false},{"title":"start.png <span style='color:#111;'> 29.98KB </span>","children":null,"spread":false},{"title":"pause.png <span style='color:#111;'> 14.55KB </span>","children":null,"spread":false},{"title":"Bee.class <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"ShootGame.class <span style='color:#111;'> 8.70KB </span>","children":null,"spread":false},{"title":"icon.jpg <span style='color:#111;'> 114.53KB </span>","children":null,"spread":false},{"title":"Award.class <span style='color:#111;'> 203B </span>","children":null,"spread":false},{"title":"Hero.class <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":".settings","children":[{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 598B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"main","children":[{"title":"ShootGame.java <span style='color:#111;'> 10.00KB </span>","children":null,"spread":false},{"title":"gameover.png <span style='color:#111;'> 19.75KB </span>","children":null,"spread":false},{"title":"Airplane.java <span style='color:#111;'> 645B </span>","children":null,"spread":false},{"title":"Enemy.java <span style='color:#111;'> 83B </span>","children":null,"spread":false},{"title":"background.png <span style='color:#111;'> 26.08KB </span>","children":null,"spread":false},{"title":"Bullet.java <span style='color:#111;'> 445B </span>","children":null,"spread":false},{"title":"airplane.png <span style='color:#111;'> 3.49KB </span>","children":null,"spread":false},{"title":"bullet.png <span style='color:#111;'> 408B </span>","children":null,"spread":false},{"title":"game_music.wav <span style='color:#111;'> 1.99MB </span>","children":null,"spread":false},{"title":"hero1.png <span style='color:#111;'> 15.86KB </span>","children":null,"spread":false},{"title":"Hero.java <span style='color:#111;'> 2.24KB </span>","children":null,"spread":false},{"title":"hero0.png <span style='color:#111;'> 11.99KB </span>","children":null,"spread":false},{"title":"Award.java <span style='color:#111;'> 213B </span>","children":null,"spread":false},{"title":"bee.png <span style='color:#111;'> 9.48KB </span>","children":null,"spread":false},{"title":"start.png <span style='color:#111;'> 29.98KB </span>","children":null,"spread":false},{"title":"pause.png <span style='color:#111;'> 14.55KB </span>","children":null,"spread":false},{"title":"FlyingObject.java <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"icon.jpg <span style='color:#111;'> 114.53KB </span>","children":null,"spread":false},{"title":"Bee.java <span style='color:#111;'> 868B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".project <span style='color:#111;'> 391B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 301B </span>","children":null,"spread":false}],"spread":true},{"title":".DS_Store <span style='color:#111;'> 8.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"项目截图","children":[{"title":"捕获.JPG <span style='color:#111;'> 21.37KB </span>","children":null,"spread":false},{"title":"1.png <span style='color:#111;'> 23.92KB </span>","children":null,"spread":false},{"title":"2.png <span style='color:#111;'> 15.97KB </span>","children":null,"spread":false},{"title":"3.png <span style='color:#111;'> 12.76KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明