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

小游戏源码

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

  • lib(1)
    说明:  电信公司有UNIX服务器出租业务,针对 该出租业务需要一套办公系统来提升办事 效率,提升该业务信息化程度(无纸化 办公),我们的系统就是针对该出租业务 而提供的完整解决方案。(Telecom companies have UNIX server rental business. The rental business requires an office system to upgrade its services. Efficiency, improve the degree of informatization of the business (paperless) Office), our system is for the rental business. And provide a complete solution.)
    2019-01-21 10:11:59下载
    积分:1
  • TankGameprogram
    某培训班传统坦克游戏实现的代码,平台:eclipse,语言:java(A training class to achieve the traditional tank game code)
    2016-01-10 11:47:24下载
    积分:1
  • jFuzzyLogic
    java 实现的 模糊控制的代码库 可以java直接调用,解压缩为jar包(java fuzzy logic)
    2014-08-26 17:06:39下载
    积分:1
  • xstream-1.3.1-sae-liufeng
    2010年8月25日?-?Java应用服务器 近期公司做一个项目,动态将用户从BAS踢下线及动态修改用户带宽。 由于里面涉及到Radius 3576协议,找了一些资料 如下: A:中断消息(DM) ...(August 25, 2010 - Java application server company recently to do a project, the dynamic user from the BAS kicked off the assembly line and dynamic modification user bandwidth. Because it involves the Radius 3576 protocol, find some information as follows: A: interrupt message (DM)...)
    2017-10-17 10:12:20下载
    积分:1
  • MyEclipse
    对于myeclipse容易过期的童鞋,可以使用该文本中的类可以永久免费使用myeclipse(For myeclipse easily outdated shoes, you can use the text in the class can be permanently free to use myeclipse)
    2014-02-18 14:52:17下载
    积分:1
  • Album
    电子相册的简易制作,能看相册,调整透明度(Easy to fabricate electronic photo album, can see the album, adjust transparency)
    2012-12-28 10:16:14下载
    积分:1
  • Libro
    Curso de programación en Java (Versión 6, JDK 1.6.0) Nivel básico Manual del alumno
    2010-11-27 05:51:31下载
    积分:1
  • denglu
    通过WiFi传输(UDP传输格式)进行相应底层硬件的控制,实现了无线的控制电力的详细使用情况。(Corresponding underlying hardware control WiFi transport (UDP transport format) by achieving a detailed control of the power usage of the radio.)
    2015-01-23 21:01:13下载
    积分:1
  • FfmpegJavaDemo-master
    说明:  ffmpeg4 java开发 命令组装器,相关配置项以及一个简单的转码例子(ffmpeg4 Command assembler, related configuration items and a simple transcoding example)
    2020-08-03 15:25:27下载
    积分:1
  • CalculatorDemo
    一个简单的Java计算器Demo,主要涉及swing和awt的应用。(A simple calculator program.Mainly related to the application of swing and awt.)
    2016-03-11 14:44:55下载
    积分:1
  • 696516资源总数
  • 106641会员总数
  • 4今日下载