小游戏源码

Directory: Java Develop
Plat: Java
Size: 285KB
Downloads: 1
Upload time: 2020-10-02 09:59:10
Uploader: liu_boy09876
Description:   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.

File list:
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

Download users:

Relate files:

Comment: Add Comment

Favorite users: