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

小游戏源码

于 2020-10-02 发布
0 104
下载积分: 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 个回复

  • weaktight-poster-1.3rc1
    weaktight poster v1.3 is a very useful tool for poker players. using this u can share your hand history via weaktight.com without without loss of time in the browser
    2014-01-27 09:43:13下载
    积分:1
  • 027356-01
    疯狂Java讲义_源码(含Java设计模式CHM).rar(java design chm )
    2013-11-29 12:16:45下载
    积分:1
  • Android_Map
    安卓工程源码,自行车导航源码,GpsTracker源码,百度地图API-定位周边搜索POI源码,百度地图API源码,北京公交线路查询(离线),获取Gps信息的程序源码。(Android project source code, bike navigation source, GpsTracker source, Baidu map API- positioned around the search for POI source, Baidu Maps API source, Beijing bus lines query (offline), to obtain information on Open Source Gps)
    2015-03-30 15:34:05下载
    积分:1
  • 56514988888888888MyCalculation
    实现了windows计算器所有功能,非常之好,非常之妙。当年就靠它了(Calculator has all the features of windows, very good, very wonderful. Then relied on the)
    2009-06-30 18:34:48下载
    积分:1
  • BiTree77
    数据结构 二叉树 前序遍历 中序遍历 后序遍历 结点(Pre-order traversal binary tree data structure in-order traversal post-order traversal node)
    2011-11-22 21:55:21下载
    积分:1
  • UserFolderInfo
    Represents a folder containing shortcuts or apps Source Code for Java Script.
    2014-03-12 20:31:25下载
    积分:1
  • mybatis03
    java系列编程中的mybatis练习,mybatis小练习(Mybatis exercise in java series programming)
    2020-06-25 14:00:01下载
    积分:1
  • chat_aplli204118152007
    simple chat application in java
    2014-09-19 16:32:31下载
    积分:1
  • Java入门到精通
    JAVA入门到精通,这是一部为java初学者和爱好者编辑的书本(JAVA From entry to mastery)
    2018-12-27 11:02:38下载
    积分:1
  • MN1994-GrainOnlineEducation_Parent-master
    说明:  谷粒学院后台接口,谷粒学院是一个B2C模式的职业技能在线教育系统,分为前台用户系统和后台运营平台(Cereal college background interface, cereal college is a B2C mode of vocational skills online education system, divided into the foreground user system and background operation platform)
    2021-03-14 14:38:34下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载