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

小游戏源码

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

  • sCREENsIZE
    Returns the enum for matching the provided qualifier value.
    2014-01-13 18:39:28下载
    积分:1
  • 本草纲目
    详细本草纲目的汉语access数据库mdb(benchaogangmu chinese database access pinyin)
    2018-10-19 11:50:30下载
    积分:1
  • 1030516408-金梦楠-FlappyBird
    一款小游戏 flappybird 用java实现的(A small game named flappy bird created by java)
    2018-11-03 14:48:42下载
    积分:1
  • rijndael_java_all
    aes算法java版,包含了源码和jar文件(Orangk'aes algorithm java version contains source and jar files)
    2006-11-24 13:51:29下载
    积分:1
  • BookStoreJava
    简单的书店管理系统,是课设期间教师指导完成的,希望会对大家有帮助!(Bookstore simple management system, is a lesson for teachers to guide the completion of the period, and I hope you will help!)
    2009-04-14 14:50:23下载
    积分:1
  • kettle
    专门为kettle这款优秀的ETL工具开发的web端管理工具。 kettle作为非常优秀的开源ETL工具得到了非常广泛的使用,一般的使用的都是使用客户端操作管理,但问题是当投入生产环境使用时,动辄上百或几百个job需要管理,这时在使用客户端管理已经很难完成了。我所知道的解决方案有用命令行的调用的,操作麻烦,总之还是很难用啦,还有就是开发web端管理工具,kettle自带了一个web端管理工具,界面极其简陋不说,还很难用,基本无法投入生产环境使用,其他没留意到还有没有较好对众多job进行管理的工具。(A web-side management tool specially developed for kettle, an excellent ETL tool. Kettle as a very excellent open source ETL tool has been widely used, the general use is the use of client operation management, but the problem is that when used in production environment, hundreds or hundreds of jobs need to be managed, when the use of client management has been very difficult to complete. The solution I know has command-line calls, troublesome operation, in short, it is difficult to use, but also the development of web-side management tools, kettle has a web-side management tool, the interface is extremely simple, not to mention, it is also difficult to use, basically can not be put into production environment, other did not notice there is no better. Tools for managing many jobs.)
    2020-06-23 20:00:01下载
    积分:1
  • Fourth_Assignment
    清华大学计算机系Java小学期第四次作业——正则表达式。包含题目与源代码。(Department of Computer Science Java primary period of the fourth job- regular expressions. Includes topics related to the source code.)
    2013-10-19 21:19:18下载
    积分:1
  • JRegexTool
    正则匹配工具,可匹配任意字符,支持匹配替换,支持对各种标示符的特别处理,界面化操作,简单易用(Regular matching tool to match any character, support matching replacement support special treatment for a variety of identifiers, interface operation, easy to use)
    2014-02-17 14:56:07下载
    积分:1
  • java-books
    this is java reference books.
    2011-12-17 19:35:32下载
    积分:1
  • longboo-ajax
    Visual JS 在线JS编辑器 非常的COOL 在线生成网页和JS代码 自由显示。(Visual JS Online JS editor very COOL online JS code to generate Web pages and a free show.)
    2009-01-02 21:59:15下载
    积分:1
  • 696518资源总数
  • 106155会员总数
  • 8今日下载