java游戏打地鼠源码

上传者: gao200720110208 | 上传时间: 2023-12-20 07:02:30 | 文件大小: 3.21MB | 文件类型: RAR
打地鼠 一个逻辑简单,实现方法简单的小游戏. 此版本为初版,没有道具系统,游戏过程中也不能暂停,纯粹考验玩家的反应和眼手协调能力,得高分靠的不是RP,是实力! 游戏规则: 玩家控制锤子去敲打每一只从洞里冒出的老鼠,打死一只获得相应分数,漏掉一只减去一点生命. 老鼠分大中小三种,近大远小,大的移动慢,目标大,一只10分.最小的移动快,目标小,一只30分.中等大小的介于两者之间. 游戏以300分为一个关卡,当玩家得分达到300的倍数时,游戏等级会提高:游戏速度提高一级,生命点数加5. 游戏结束条件:玩家的生命值为0或玩家主动按下停止键. 如果玩家得分够高,游戏将提示玩家输入用户名并记录成绩到排行榜. 实现: 1.老鼠近大远小的实现 2.老鼠从洞里钻出钻入的实现 3.游戏主线逻辑的实现 次要:锤子的实现,火花效果实现-_-|||

文件下载

资源详情

[{"title":"( 152 个子文件 3.21MB ) java游戏打地鼠源码","children":[{"title":"GameController.class <span style='color:#111;'> 8.34KB </span>","children":null,"spread":false},{"title":"Win.class <span style='color:#111;'> 6.06KB </span>","children":null,"spread":false},{"title":"MovingObjects.class <span style='color:#111;'> 4.57KB </span>","children":null,"spread":false},{"title":"Images.class <span style='color:#111;'> 2.25KB </span>","children":null,"spread":false},{"title":"HighScoreBoard.class <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false},{"title":"MovingObjects$2.class <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"MovingObjects$1.class <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"Record.class <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"MovingObjects$4.class <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"MovingObjects$3.class <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"Win$2.class <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"Win$1.class <span style='color:#111;'> 970B </span>","children":null,"spread":false},{"title":"Win$7.class <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"Win$5.class <span style='color:#111;'> 959B </span>","children":null,"spread":false},{"title":"GameController$1.class <span style='color:#111;'> 952B </span>","children":null,"spread":false},{"title":"Little_Mouse.class <span style='color:#111;'> 911B </span>","children":null,"spread":false},{"title":"Mid_Mouse.class <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"Big_Mouse.class <span style='color:#111;'> 896B </span>","children":null,"spread":false},{"title":"Win$4.class <span style='color:#111;'> 858B </span>","children":null,"spread":false},{"title":"Win$3.class <span style='color:#111;'> 844B </span>","children":null,"spread":false},{"title":"Win$6.class <span style='color:#111;'> 782B </span>","children":null,"spread":false},{"title":"RunGame.class <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"GameObject.class <span style='color:#111;'> 153B </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 295B </span>","children":null,"spread":false},{"title":"KickMouse.jar <span style='color:#111;'> 1.08MB </span>","children":null,"spread":false},{"title":"GameController.java <span style='color:#111;'> 5.96KB </span>","children":null,"spread":false},{"title":"Win.java <span style='color:#111;'> 5.42KB </span>","children":null,"spread":false},{"title":"MovingObjects.java <span style='color:#111;'> 4.59KB </span>","children":null,"spread":false},{"title":"Images.java <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"HighScoreBoard.java <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"Record.java <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"Little_Mouse.java <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"Big_Mouse.java <span style='color:#111;'> 386B </span>","children":null,"spread":false},{"title":"Mid_Mouse.java <span style='color:#111;'> 385B </span>","children":null,"spread":false},{"title":"RunGame.java <span style='color:#111;'> 139B </span>","children":null,"spread":false},{"title":"GameObject.java <span style='color:#111;'> 85B </span>","children":null,"spread":false},{"title":"di.png <span style='color:#111;'> 188.57KB </span>","children":null,"spread":false},{"title":"di.png <span style='color:#111;'> 188.57KB </span>","children":null,"spread":false},{"title":"sky.png <span style='color:#111;'> 115.60KB </span>","children":null,"spread":false},{"title":"sky.png <span style='color:#111;'> 115.60KB </span>","children":null,"spread":false},{"title":"mid_down.png <span style='color:#111;'> 70.80KB </span>","children":null,"spread":false},{"title":"mid_down.png <span style='color:#111;'> 70.80KB </span>","children":null,"spread":false},{"title":"mid_up.png <span style='color:#111;'> 59.27KB </span>","children":null,"spread":false},{"title":"mid_up.png <span style='color:#111;'> 59.27KB </span>","children":null,"spread":false},{"title":"top.png <span style='color:#111;'> 57.12KB </span>","children":null,"spread":false},{"title":"top.png <span style='color:#111;'> 57.12KB </span>","children":null,"spread":false},{"title":"bottom.png <span style='color:#111;'> 49.24KB </span>","children":null,"spread":false},{"title":"bottom.png <span style='color:#111;'> 49.24KB </span>","children":null,"spread":false},{"title":"32.png <span style='color:#111;'> 32.24KB </span>","children":null,"spread":false},{"title":"32.png <span style='color:#111;'> 32.24KB </span>","children":null,"spread":false},{"title":"31.png <span style='color:#111;'> 31.29KB </span>","children":null,"spread":false},{"title":"31.png <span style='color:#111;'> 31.29KB </span>","children":null,"spread":false},{"title":"30.png <span style='color:#111;'> 29.55KB </span>","children":null,"spread":false},{"title":"30.png <span style='color:#111;'> 29.55KB </span>","children":null,"spread":false},{"title":"29.png <span style='color:#111;'> 27.94KB </span>","children":null,"spread":false},{"title":"29.png <span style='color:#111;'> 27.94KB </span>","children":null,"spread":false},{"title":"28.png <span style='color:#111;'> 26.10KB </span>","children":null,"spread":false},{"title":"28.png <span style='color:#111;'> 26.10KB </span>","children":null,"spread":false},{"title":"33.png <span style='color:#111;'> 25.86KB </span>","children":null,"spread":false},{"title":"33.png <span style='color:#111;'> 25.86KB </span>","children":null,"spread":false},{"title":"27.png <span style='color:#111;'> 24.25KB </span>","children":null,"spread":false},{"title":"27.png <span style='color:#111;'> 24.25KB </span>","children":null,"spread":false},{"title":"26.png <span style='color:#111;'> 22.06KB </span>","children":null,"spread":false},{"title":"26.png <span style='color:#111;'> 22.06KB </span>","children":null,"spread":false},{"title":"25.png <span style='color:#111;'> 20.33KB </span>","children":null,"spread":false},{"title":"25.png <span style='color:#111;'> 20.33KB </span>","children":null,"spread":false},{"title":"24.png <span style='color:#111;'> 18.68KB </span>","children":null,"spread":false},{"title":"24.png <span style='color:#111;'> 18.68KB </span>","children":null,"spread":false},{"title":"big_mouse.png <span style='color:#111;'> 18.42KB </span>","children":null,"spread":false},{"title":"big_mouse.png <span style='color:#111;'> 18.42KB </span>","children":null,"spread":false},{"title":"23.png <span style='color:#111;'> 17.01KB </span>","children":null,"spread":false},{"title":"23.png <span style='color:#111;'> 17.01KB </span>","children":null,"spread":false},{"title":"22.png <span style='color:#111;'> 15.42KB </span>","children":null,"spread":false},{"title":"22.png <span style='color:#111;'> 15.42KB </span>","children":null,"spread":false},{"title":"21.png <span style='color:#111;'> 13.97KB </span>","children":null,"spread":false},{"title":"21.png <span style='color:#111;'> 13.97KB </span>","children":null,"spread":false},{"title":"big_mouse_die.png <span style='color:#111;'> 13.63KB </span>","children":null,"spread":false},{"title":"big_mouse_die.png <span style='color:#111;'> 13.63KB </span>","children":null,"spread":false},{"title":"20.png <span style='color:#111;'> 12.54KB </span>","children":null,"spread":false},{"title":"20.png <span style='color:#111;'> 12.54KB </span>","children":null,"spread":false},{"title":"mid_mouse.png <span style='color:#111;'> 12.02KB </span>","children":null,"spread":false},{"title":"mid_mouse.png <span style='color:#111;'> 12.02KB </span>","children":null,"spread":false},{"title":"19.png <span style='color:#111;'> 11.31KB </span>","children":null,"spread":false},{"title":"19.png <span style='color:#111;'> 11.31KB </span>","children":null,"spread":false},{"title":"mid_mouse_die.png <span style='color:#111;'> 10.83KB </span>","children":null,"spread":false},{"title":"mid_mouse_die.png <span style='color:#111;'> 10.83KB </span>","children":null,"spread":false},{"title":"hammer.png <span style='color:#111;'> 10.26KB </span>","children":null,"spread":false},{"title":"hammer.png <span style='color:#111;'> 10.26KB </span>","children":null,"spread":false},{"title":"18.png <span style='color:#111;'> 10.23KB </span>","children":null,"spread":false},{"title":"18.png <span style='color:#111;'> 10.23KB </span>","children":null,"spread":false},{"title":"little_mouse.png <span style='color:#111;'> 9.93KB </span>","children":null,"spread":false},{"title":"little_mouse.png <span style='color:#111;'> 9.93KB </span>","children":null,"spread":false},{"title":"hammer_down.png <span style='color:#111;'> 9.32KB </span>","children":null,"spread":false},{"title":"hammer_down.png <span style='color:#111;'> 9.32KB </span>","children":null,"spread":false},{"title":"17.png <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"17.png <span style='color:#111;'> 9.28KB </span>","children":null,"spread":false},{"title":"little_mouse_die.png <span style='color:#111;'> 9.16KB </span>","children":null,"spread":false},{"title":"little_mouse_die.png <span style='color:#111;'> 9.16KB </span>","children":null,"spread":false},{"title":"16.png <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"16.png <span style='color:#111;'> 8.38KB </span>","children":null,"spread":false},{"title":"......","children":null,"spread":false},{"title":"<span style='color:steelblue;'>文件过多,未全部展示</span>","children":null,"spread":false}],"spread":true}]

评论信息

免责申明

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