登录
首页 » Java » 小游戏源码

小游戏源码

于 2020-10-02 发布
0 166
下载积分: 1 下载次数: 0

代码说明:

说明:  飞机大战 首先对这个游戏分析,在屏幕上的物体都是飞行物,我们可以把建一个类,让其他飞行物继承这个类.游戏中应有英雄机(也就是自己控制的飞机)、敌人。而敌人应该分为打死给分的飞机(就是普通飞机),另一种就是打死有奖励的敌人。他们都应该是飞行物的子类,我们也可以为普通飞机和给奖励的敌人设一个接口让他们去实现接口,这样有利于以后的扩展,我在这里给的简化版的飞机大战,主要是为了让大家了解面向对象。(First of all, analyze the game. The objects on the screen are flying objects. We can build a class and let other flying objects inherit this class. There should be hero planes (i.e., planes controlled by ourselves) and enemies in the game. And the enemy should be divided into killing the aircraft (that is, ordinary aircraft), the other is to kill the enemy with reward. They should be subclasses of flying objects. We can also set an interface for ordinary aircraft and reward enemies to implement the interface, which is conducive to future expansion. The simplified version of aircraft War I gave here is mainly to let you understand object-oriented.)

文件列表:

Shoot\.classpath, 301 , 2019-11-25
Shoot\.project, 381 , 2019-11-25
Shoot\.settings\org.eclipse.core.resources.prefs, 57 , 2019-11-25
Shoot\.settings\org.eclipse.jdt.core.prefs, 598 , 2019-11-25
Shoot\bin\cn\tedu\shoot\Airplane.class, 1049 , 2019-11-28
Shoot\bin\cn\tedu\shoot\airplane.png, 3575 , 2019-11-25
Shoot\bin\cn\tedu\shoot\Aoo.class, 357 , 2019-11-28
Shoot\bin\cn\tedu\shoot\Award.class, 212 , 2019-11-28
Shoot\bin\cn\tedu\shoot\background.png, 26709 , 2019-11-25
Shoot\bin\cn\tedu\shoot\Bee.class, 1186 , 2019-11-28
Shoot\bin\cn\tedu\shoot\bee.png, 6405 , 2019-11-25
Shoot\bin\cn\tedu\shoot\Boo.class, 268 , 2019-11-28
Shoot\bin\cn\tedu\shoot\Bullet.class, 856 , 2019-11-28
Shoot\bin\cn\tedu\shoot\bullet.png, 408 , 2019-11-25
Shoot\bin\cn\tedu\shoot\Enemy.class, 130 , 2019-11-28
Shoot\bin\cn\tedu\shoot\FlyingObject.class, 882 , 2019-11-28
Shoot\bin\cn\tedu\shoot\gameover.png, 20220 , 2019-11-25
Shoot\bin\cn\tedu\shoot\Hero.class, 2302 , 2019-11-28
Shoot\bin\cn\tedu\shoot\hero0.png, 12280 , 2019-11-25
Shoot\bin\cn\tedu\shoot\hero1.png, 16243 , 2019-11-25
Shoot\bin\cn\tedu\shoot\pause.png, 14902 , 2019-11-25
Shoot\bin\cn\tedu\shoot\ShootGame$1.class, 1811 , 2019-11-28
Shoot\bin\cn\tedu\shoot\ShootGame$2.class, 925 , 2019-11-28
Shoot\bin\cn\tedu\shoot\ShootGame.class, 8482 , 2019-11-28
Shoot\bin\cn\tedu\shoot\start.png, 43132 , 2019-11-25
Shoot\bin\cn\tedu\shoot\Test.class, 448 , 2019-11-28
Shoot\src\cn\tedu\shoot\Airplane.java, 896 , 2019-11-25
Shoot\src\cn\tedu\shoot\airplane.png, 3575 , 2019-11-25
Shoot\src\cn\tedu\shoot\Award.java, 204 , 2019-11-25
Shoot\src\cn\tedu\shoot\background.png, 26709 , 2019-11-25
Shoot\src\cn\tedu\shoot\Bee.java, 1324 , 2019-11-25
Shoot\src\cn\tedu\shoot\bee.png, 6405 , 2019-11-25
Shoot\src\cn\tedu\shoot\Bullet.java, 642 , 2019-11-25
Shoot\src\cn\tedu\shoot\bullet.png, 408 , 2019-11-25
Shoot\src\cn\tedu\shoot\Enemy.java, 112 , 2019-11-25
Shoot\src\cn\tedu\shoot\FlyingObject.java, 915 , 2019-11-25
Shoot\src\cn\tedu\shoot\gameover.png, 20220 , 2019-11-25
Shoot\src\cn\tedu\shoot\Hero.java, 3252 , 2019-11-25
Shoot\src\cn\tedu\shoot\hero0.png, 12280 , 2019-11-25
Shoot\src\cn\tedu\shoot\hero1.png, 16243 , 2019-11-25
Shoot\src\cn\tedu\shoot\pause.png, 14902 , 2019-11-25
Shoot\src\cn\tedu\shoot\ShootGame.java, 12272 , 2019-11-25
Shoot\src\cn\tedu\shoot\start.png, 43132 , 2019-11-25
Shoot\src\cn\tedu\shoot\Test.java, 1082 , 2019-11-25
Shoot\bin\cn\tedu\shoot, 0 , 2019-11-28
Shoot\src\cn\tedu\shoot, 0 , 2019-11-25
Shoot\bin\cn\tedu, 0 , 2019-11-28
Shoot\src\cn\tedu, 0 , 2019-11-25
Shoot\bin\cn, 0 , 2019-11-28
Shoot\src\cn, 0 , 2019-11-25
Shoot\.settings, 0 , 2019-11-25
Shoot\bin, 0 , 2019-11-28
Shoot\src, 0 , 2019-11-27
Shoot, 0 , 2019-11-25

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MPFS21 - Java
    说明:  Module for Microchip TCP/IP Stack
    2020-06-22 10:20:02下载
    积分:1
  • CoreJava
    经典的Java学习材料电子版,Core Java 2 Volume II。Prentice Hall公司出版的(Classic electronic version of Java learning materials, Core Java 2 Volume II. Published by Prentice Hall Inc.)
    2008-04-10 23:46:23下载
    积分:1
  • 第五大道商城源码
    说明:  第五大道商城有购物车的增加删除修改和订单详情,MySQL数据库,能有数据库表(Fifth Avenue Mall has shopping cart addition, deletion, modification and order details, MySQL database, can have database tables)
    2020-06-19 07:00:01下载
    积分:1
  • Address-book-written-in-Java-
    Java编写的通讯录 1.添加联系人2.修改联系人3.删除联系人4.查询联系人5.退出(Address book written in Java 1. Add contacts 2 to modify contact 3 delete the contact 4. Contacter 5 exit)
    2011-06-30 22:34:48下载
    积分:1
  • Baozoumanhua
    Java swing暴走漫画网站内容按照日期进行下载。添加浏览功能(Baozoumanhua comic downloads and browsing)
    2013-08-30 17:21:31下载
    积分:1
  • DMtree
    c4.5完整代码,可运行实现。!!!!!!!!!!!!!(C4.5 complete code, can be run to achieve.!!!!!!!!!!!!!!)
    2018-09-14 13:58:58下载
    积分:1
  • RepairFactoryManagement-System
    基于java swing的汽修厂管理系统,可用于毕业设计,于初学者快速学习(Based on java swing garages management system can be used for graduation design, rapid learning for beginners)
    2014-04-08 14:41:55下载
    积分:1
  • Calculator-master
    The concrete implementation of the ANN algorithm, written by itself, may have some minor problems, but the overall problem should be small.
    2018-05-06 10:51:35下载
    积分:1
  • 勇敢的猪
    说明:  实现"勇敢的猪"这款游戏的最基本功能,如游戏界面,操作控制,游戏设置,玩家排行榜与帮助等(To achieve the most basic functions of the "brave pig" game, such as game interface, operation control, game settings, player ranking and help, etc.)
    2020-06-19 15:00:01下载
    积分:1
  • jce-1_2_2
    JCE的jar,密钥分配,技术的特点和基础(JCE jar, this is some key assignment.)
    2011-06-12 15:21:35下载
    积分:1
  • 696518资源总数
  • 105877会员总数
  • 14今日下载