首页

升级版:有音效的大飞机游戏

java

2020-6-26

package com.beancore.ui;

import java.awt.BorderLayout;
import java.awt.Container;
import java.awt.Dimension;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Date;
import java.util.List;

import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.UnsupportedAudioFileException;
import javax.swing.Box;
import javax.swing.BoxLayout;
import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;
import javax.swing.JPanel;

import com.beancore.config.Config;
import com.beancore.config.ImageConstants;
import com.beancore.entity.Score;
import com.beancore.util.FileUtil;
import com.beancore.util.ImageLoader;
import com.beancore.util.Images;
import com.beancore.util.SoundPlayer;

public class MainFrame extends JFrame implements ActionListener {

    private static final long serialVersionUID = 1L;
    private ImageLoader imgLoader;

    private GameLoadingPanel gameLoadingPanel;
    private GamePlayingPanel gamePlayingPanel;

    private PopupMenuPanel popupMenuPanel;
    private Top10ScorePanel popupScorePanel;
    private HelpDialog helpDialog;

    private SoundPlayer achievementSoundPlayer;

    private List<Score> scoreList;

    public MainFrame() throws IOException, LineUnavailableException, UnsupportedAudioFileException {
	try {
	    this.scoreList = FileUtil.readScore(Config.SCORE_FILE);
	} catch (Exception e) {
	    this.scoreList = new ArrayList<Score>();
	}
	this.loadImage();
	this.initSoundPlayer();
	this.initComponents();
	this.setBackgroundImage();
    }

    /**
     * Load the image part from the whole image, shoot_background.png shoot.png
     * are both extracted from the weixin apk file
     * */
    private void loadImage() throws IOException {
	this.imgLoader = new ImageLoader(Config.SHOOT_BACKGROUND_IMG);
	Images.GAME_LOADING_IMG1 = this.imgLoader.getImage(ImageConstants.GAME_LOADING_PLANE_1_POS_X,
		ImageConstants.GAME_LOADING_PLANE_1_POS_Y, ImageConstants.GAME_LOADING_PLANE_1_WIDTH,
		ImageConstants.GAME_LOADING_PLANE_1_HEIGHT);
	Images.GAME_LOADING_IMG2 = this.imgLoader.getImage(ImageConstants.GAME_LOADING_PLANE_2_POS_X,
		ImageConstants.GAME_LOADING_PLANE_2_POS_Y, ImageConstants.GAME_LOADING_PLANE_2_WIDTH,
		ImageConstants.GAME_LOADING_PLANE_2_HEIGHT);
	Images.GAME_LOADING_IMG3 = this.imgLoader.getImage(ImageConstants.GAME_LOADING_PLANE_3_POS_X,
		ImageConstants.GAME_LOADING_PLANE_3_POS_Y, ImageConstants.GAME_LOADING_PLANE_3_WIDTH,
		ImageConstants.GAME_LOADING_PLANE_3_HEIGHT);

	Images.SHOOT_BACKGROUND_IMG = this.imgLoader.getImage(ImageConstants.GAME_BACKGROUND_IMG_POS_X,
		ImageConstants.GAME_BACKGROUND_IMG_POS_Y, ImageConstants.GAME_BACKGROUND_IMG_WIDTH,
		ImageConstants.GAME_BACKGROUND_IMG_HEIGHT);

	Images.GAME_LOADING_TEXT_IMG = this.imgLoader.getImage(ImageConstants.GAME_LOADING_TEXT_IMG_POS_X,
		ImageConstants.GAME_LOADING_TEXT_IMG_POS_Y, ImageConstants.GAME_LOADING_TEXT_IMG_WIDTH,
		ImageConstants.GAME_LOADING_TEXT_IMG_HEIGHT);

	this.imgLoader = new ImageLoader(Config.SHOOT_IMG);
	Images.YELLOW_BULLET_IMG = this.imgLoader.getImage(ImageConstants.YELLOW_BULLET_POS_X,
		ImageConstants.YELLOW_BULLET_POS_Y, ImageConstants.YELLOW_BULLET_WIDTH,
		ImageConstants.YELLOW_BULLET_HEIGHT);
	Images.BLUE_BULLET_IMG = this.imgLoader.getImage(ImageConstants.BLUE_BULLET_POS_X,
		ImageConstants.BLUE_BULLET_POS_Y, ImageConstants.BLUE_BULLET_WIDTH, ImageConstants.BLUE_BULLET_HEIGHT);
	Images.MY_PLANE_IMG = this.imgLoader.getImage(ImageConstants.MY_PLANE_POS_X, ImageConstants.MY_PLANE_POS_Y,
		ImageConstants.MY_PLANE_WIDTH, ImageConstants.MY_PLANE_HEIGHT);
	Images.MY_PLANE_FLYING_IMG = this.imgLoader.getImage(ImageConstants.MY_PLANE_FLYING_POS_X,
		ImageConstants.MY_PLANE_FLYING_POS_Y, ImageConstants.MY_PLANE_FLYING_WIDTH,
		ImageConstants.MY_PLANE_FLYING_HEIGHT);
	Images.SMALL_PLANE_IMG = this.imgLoader.getImage(ImageConstants.SMALL_PLANE_POS_X,
		ImageConstants.SMALL_PLANE_POS_Y, ImageConstants.SMALL_PLANE_WIDTH, ImageConstants.SMALL_PLANE_HEIGHT);
	Images.BIG_PLANE_IMG = this.imgLoader.getImage(ImageConstants.BIG_PLANE_POS_X, ImageConstants.BIG_PLANE_POS_Y,
		ImageConstants.BIG_PLANE_WIDTH, ImageConstants.BIG_PLANE_HEIGHT);
	Images.BOSS_PLANE_IMG = this.imgLoader.getImage(ImageConstants.BOSS_PLANE_POS_X,
		ImageConstants.BOSS_PLANE_POS_Y, ImageConstants.BOSS_PLANE_WIDTH, ImageConstants.BOSS_PLANE_HEIGHT);
	Images.BOMB_IMG = this.imgLoader.getImage(ImageConstants.BOMB_POS_X, ImageConstants.BOMB_POS_Y,
		ImageConstants.BOMB_WIDTH, ImageConstants.BOMB_HEIGHT);
	Images.CAUGHT_BOMB_IMG = this.imgLoader.getImage(ImageConstants.CAUGHT_BOMB_POS_X,
		ImageConstants.CAUGHT_BOMB_POS_Y, ImageConstants.CAUGHT_BOMB_WIDTH, ImageConstants.CAUGHT_BOMB_HEIGHT);
	Images.DOUBLE_LASER_IMG = this.imgLoader.getImage(ImageConstants.DOUBLE_LASER_POS_X,
		ImageConstants.DOUBLE_LASER_POS_Y, ImageConstants.DOUBLE_LASER_WIDTH,
		ImageConstants.DOUBLE_LASER_HEIGHT);

	Images.SMALL_PLANE_FIGHTING_IMG = this.imgLoader.getImage(ImageConstants.SMALL_PLANE_FIGHTING_POS_X,
		ImageConstants.SMALL_PLANE_FIGHTING_POS_Y, ImageConstants.SMALL_PLANE_FIGHTING_WIDTH,
		ImageConstants.SMALL_PLANE_FIGHTING_HEIGHT);
	Images.SMALL_PLANE_KILLED_IMG = this.imgLoader.getImage(ImageConstants.SMALL_PLANE_KILLED_POS_X,
		ImageConstants.SMALL_PLANE_KILLED_POS_Y, ImageConstants.SMALL_PLANE_KILLED_WIDTH,
		ImageConstants.SMALL_PLANE_KILLED_HEIGHT);
	Images.SMALL_PLANE_ASHED_IMG = this.imgLoader.getImage(ImageConstants.SMALL_PLANE_ASHED_POS_X,
		ImageConstants.SMALL_PLANE_ASHED_POS_Y, ImageConstants.SMALL_PLANE_ASHED_WIDTH,
		ImageConstants.SMALL_PLANE_ASHED_HEIGHT);

	Images.BIG_PLANE_FIGHTING_IMG = this.imgLoader.getImage(ImageConstants.BIG_PLANE_FIGHTING_POS_X,
		ImageConstants.BIG_PLANE_FIGHTING_POS_Y, ImageConstants.BIG_PLANE_FIGHTING_WIDTH,
		ImageConstants.BIG_PLANE_FIGHTING_HEIGHT);
	Images.BIG_PLANE_HITTED_IMG = this.imgLoader.getImage(ImageConstants.BIG_PLANE_HITTED_POS_X,
		ImageConstants.BIG_PLANE_HITTED_POS_Y, ImageConstants.BIG_PLANE_HITTED_WIDTH,
		ImageConstants.BIG_PLANE_HITTED_HEIGHT);
	Images.BIG_PLANE_BADDLY_WOUNDED_IMG = this.imgLoader.getImage(ImageConstants.BIG_PLANE_BADDLY_WOUNDED_POS_X,
		ImageConstants.BIG_PLANE_BADDLY_WOUNDED_POS_Y, ImageConstants.BIG_PLANE_BADDLY_WOUNDED_WIDTH,
		ImageConstants.BIG_PLANE_BADDLY_WOUNDED_HEIGHT);
	Images.BIG_PLANE_KILLED_IMG = this.imgLoader.getImage(ImageConstants.BIG_PLANE_KILLED_POS_X,
		ImageConstants.BIG_PLANE_KILLED_POS_Y, ImageConstants.BIG_PLANE_KILLED_WIDTH,
		ImageConstants.BIG_PLANE_KILLED_HEIGHT);
	Images.BIG_PLANE_ASHED_IMG = this.imgLoader.getImage(ImageConstants.BIG_PLANE_ASHED_POS_X,
		ImageConstants.BIG_PLANE_ASHED_POS_Y, ImageConstants.BIG_PLANE_ASHED_WIDTH,
		ImageConstants.BIG_PLANE_ASHED_HEIGHT);

	Images.BOSS_PLANE_FIGHTING_IMG = this.imgLoader.getImage(ImageConstants.BOSS_PLANE_FIGHTING_POS_X,
		ImageConstants.BOSS_PLANE_FIGHTING_POS_Y, ImageConstants.BOSS_PLANE_FIGHTING_WIDTH,
		ImageConstants.BOSS_PLANE_FIGHTING_HEIGHT);
	Images.BOSS_PLANE_HITTED_IMG = this.imgLoader.getImage(ImageConstants.BOSS_PLANE_HITTED_POS_X,
		ImageConstants.BOSS_PLANE_HITTED_POS_Y, ImageConstants.BOSS_PLANE_HITTED_WIDTH,
		ImageConstants.BOSS_PLANE_HITTED_HEIGHT);
	Images.BOSS_PLANE_BADDLY_WOUNDED_IMG = this.imgLoader.getImage(ImageConstants.BOSS_PLANE_BADDLY_WOUNDED_POS_X,
		ImageConstants.BOSS_PLANE_BADDLY_WOUNDED_POS_Y, ImageConstants.BOSS_PLANE_BADDLY_WOUNDED_WIDTH,
		ImageConstants.BOSS_PLANE_BADDLY_WOUNDED_HEIGHT);
	Images.BOSS_PLANE_KILLED_IMG = this.imgLoader.getImage(ImageConstants.BOSS_PLANE_KILLED_POS_X,
		ImageConstants.BOSS_PLANE_KILLED_POS_Y, ImageConstants.BOSS_PLANE_KILLED_WIDTH,
		ImageConstants.BOSS_PLANE_KILLED_HEIGHT);
	Images.BOSS_PLANE_ASHED_IMG = this.imgLoader.getImage(ImageConstants.BOSS_PLANE_ASHED_POS_X,
		ImageConstants.BOSS_PLANE_ASHED_POS_Y, ImageConstants.BOSS_PLANE_ASHED_WIDTH,
		ImageConstants.BOSS_PLANE_ASHED_HEIGHT);

	Images.SCORE_IMG = this.imgLoader.getImage(ImageConstants.SCORE_IMG_POS_X, ImageConstants.SCORE_IMG_POS_Y,
		ImageConstants.SCORE_IMG_WIDTH, ImageConstants.SCORE_IMG_HEIGHT);

	this.imgLoader = new ImageLoader(Config.FONT_IMG);
	Images.X_MARK_IMG = this.imgLoader.getImage(ImageConstants.X_MARK_POS_X, ImageConstants.X_MARK_POS_Y,
		ImageConstants.X_MARK_WIDTH, ImageConstants.X_MARK_HEIGHT);

	Images.NUMBER_0_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_0_POS_X, ImageConstants.NUMBER_0_POS_Y,
		ImageConstants.NUMBER_0_WIDTH, ImageConstants.NUMBER_0_HEIGHT);
	Images.NUMBER_1_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_1_POS_X, ImageConstants.NUMBER_1_POS_Y,
		ImageConstants.NUMBER_1_WIDTH, ImageConstants.NUMBER_1_HEIGHT);
	Images.NUMBER_2_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_2_POS_X, ImageConstants.NUMBER_2_POS_Y,
		ImageConstants.NUMBER_2_WIDTH, ImageConstants.NUMBER_2_HEIGHT);
	Images.NUMBER_3_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_3_POS_X, ImageConstants.NUMBER_3_POS_Y,
		ImageConstants.NUMBER_3_WIDTH, ImageConstants.NUMBER_3_HEIGHT);
	Images.NUMBER_4_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_4_POS_X, ImageConstants.NUMBER_4_POS_Y,
		ImageConstants.NUMBER_4_WIDTH, ImageConstants.NUMBER_4_HEIGHT);
	Images.NUMBER_5_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_5_POS_X, ImageConstants.NUMBER_5_POS_Y,
		ImageConstants.NUMBER_5_WIDTH, ImageConstants.NUMBER_5_HEIGHT);
	Images.NUMBER_6_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_6_POS_X, ImageConstants.NUMBER_6_POS_Y,
		ImageConstants.NUMBER_6_WIDTH, ImageConstants.NUMBER_6_HEIGHT);
	Images.NUMBER_7_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_7_POS_X, ImageConstants.NUMBER_7_POS_Y,
		ImageConstants.NUMBER_7_WIDTH, ImageConstants.NUMBER_7_HEIGHT);
	Images.NUMBER_8_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_8_POS_X, ImageConstants.NUMBER_8_POS_Y,
		ImageConstants.NUMBER_8_WIDTH, ImageConstants.NUMBER_8_HEIGHT);
	Images.NUMBER_9_IMG = this.imgLoader.getImage(ImageConstants.NUMBER_9_POS_X, ImageConstants.NUMBER_9_POS_Y,
		ImageConstants.NUMBER_9_WIDTH, ImageConstants.NUMBER_9_HEIGHT);
    }

    private void initComponents() {
	this.setTitle("Shoot Plane - jemygraw@gmail.com");
	this.setIconImage(new ImageIcon(Config.LOGO_IMG).getImage());
	this.setSize(Config.MAIN_FRAME_WIDTH, Config.MAIN_FRAME_HEIGHT);
	Dimension d = Toolkit.getDefaultToolkit().getScreenSize();
	this.setBounds((d.width - Config.MAIN_FRAME_WIDTH) / 2, (d.height - Config.MAIN_FRAME_HEIGHT) / 2,
		Config.MAIN_FRAME_WIDTH, Config.MAIN_FRAME_HEIGHT);
	this.setResizable(false);
	this.setVisible(true);
	this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    private void initSoundPlayer() throws LineUnavailableException, UnsupportedAudioFileException, IOException {
	achievementSoundPlayer = new SoundPlayer(Config.ACHIEVEMENT_AUDIO);
    }

    private void setBackgroundImage() {
	ImageIcon bgImgIcon = new ImageIcon(Images.SHOOT_BACKGROUND_IMG);
	JLabel bgLabel = new JLabel(bgImgIcon);
	this.getLayeredPane().add(bgLabel, new Integer(Integer.MIN_VALUE));
	bgLabel.setBounds(0, 0, bgImgIcon.getIconWidth(), bgImgIcon.getIconHeight());
	((JPanel) this.getContentPane()).setOpaque(false);
    }

    private void popupMenuPanel() {
	Container c = this.getContentPane();
	c.removeAll();
	this.repaint();
	if (this.popupMenuPanel == null) {
	    this.popupMenuPanel = new PopupMenuPanel(this);
	}
	BoxLayout boxLayout = new BoxLayout(c, BoxLayout.Y_AXIS);
	c.setLayout(boxLayout);
	c.add(Box.createVerticalGlue());
	c.add(this.popupMenuPanel);
	c.add(Box.createVerticalGlue());
	this.validate();
    }

    public void loadGame() throws LineUnavailableException, UnsupportedAudioFileException, IOException {
	Container c = this.getContentPane();
	c.removeAll();
	this.repaint();
	if (this.gameLoadingPanel == null) {
	    this.gameLoadingPanel = new GameLoadingPanel();
	}

	BoxLayout boxLayout = new BoxLayout(c, BoxLayout.Y_AXIS);
	c.setLayout(boxLayout);
	c.add(Box.createVerticalGlue());
	c.add(this.gameLoadingPanel);
	c.add(Box.createVerticalGlue());
	this.gameLoadingPanel.loadingGame();

	this.startGame();
    }

    private void startGame() throws LineUnavailableException, UnsupportedAudioFileException, IOException {
	Container c = this.getContentPane();
	c.removeAll();
	this.repaint();
	BorderLayout borderLayout = new BorderLayout();
	c.setLayout(borderLayout);
	this.gamePlayingPanel = new GamePlayingPanel();
	c.add(this.gamePlayingPanel, BorderLayout.CENTER);
	this.gamePlayingPanel.startGame();
	long startTime = System.currentTimeMillis();
	while (this.gamePlayingPanel.getMyPlane().isAlive()) {
	    try {
		Thread.sleep(Config.GAME_PANEL_REPAINT_INTERVAL);
	    } catch (InterruptedException e) {
		e.printStackTrace();
	    }
	}
	long endTime = System.currentTimeMillis();
	// add to score list
	this.addScore(this.gamePlayingPanel.getScore(), endTime - startTime);
	int option = JOptionPane.showConfirmDialog(this, "Game Over, Score:"   this.gamePlayingPanel.getScore()
		  ", Start Again?", "Game Over", JOptionPane.YES_NO_OPTION);
	switch (option) {
	case JOptionPane.YES_OPTION:
	    loadGame();
	    break;
	case JOptionPane.NO_OPTION:
	    stopGame();
	    break;
	}
    }

    private void addScore(int score, long lastMilliSeconds) throws IOException {
	Score s = new Score(new Date(System.currentTimeMillis()), score, lastMilliSeconds);
	int size = this.scoreList.size();
	if (this.scoreList.contains(s)) {
	    return;
	}
	if (size < Config.MAX_SCORE_COUNT) {
	    this.scoreList.add(s);
	} else {
	    Score lastScore = this.scoreList.get(size - 1);
	    if (s.compareTo(lastScore) > 0) {
		this.scoreList.remove(lastScore);
		this.scoreList.add(s);
	    }
	}
	Collections.sort(this.scoreList);
	Collections.reverse(this.scoreList);
	FileUtil.writeScore(scoreList, Config.SCORE_FILE);
    }

    public void stopGame() {
	popupMenuPanel();
    }

    @Override
    public void actionPerformed(ActionEvent e) {
	String actionCmd = e.getActionCommand();
	if (actionCmd.equals(PopupMenuPanel.START_GAME_BUTTON)) {
	    startGameAction();
	} else if (actionCmd.equals(PopupMenuPanel.TOP_10_SCORES_BUTTON)) {
	    this.achievementSoundPlayer.play();
	    popupScorePanel(this.scoreList);
	} else if (actionCmd.equals(PopupMenuPanel.EXIT_GAME_BUTTON)) {
	    exitGameAction();
	} else if (actionCmd.equals(PopupMenuPanel.HELP_BUTTON)) {
	    helpAction();
	} else if (actionCmd.equals(Top10ScorePanel.OK_BUTTON)) {
	    this.popupMenuPanel();
	}
    }

    private void popupScorePanel(List<Score> sortedScoreList) {
	Container c = this.getContentPane();
	c.removeAll();
	this.repaint();
	if (this.popupScorePanel == null) {
	    this.popupScorePanel = new Top10ScorePanel(this);
	}
	this.popupScorePanel.loadScore(sortedScoreList);
	BoxLayout boxLayout = new BoxLayout(c, BoxLayout.Y_AXIS);
	c.setLayout(boxLayout);
	c.add(Box.createVerticalGlue());
	c.add(this.popupScorePanel);
	c.add(Box.createVerticalGlue());
	this.validate();
    }

    private void startGameAction() {
	new Thread(new StartGameActionClass()).start();
    }

    class StartGameActionClass implements Runnable {

	@Override
	public void run() {
	    try {
		loadGame();
	    } catch (Exception e) {
		e.printStackTrace();
	    }
	}
    }

    private void exitGameAction() {
	System.exit(0);
    }

    private void helpAction() {
	if (this.helpDialog == null) {
	    this.helpDialog = new HelpDialog();
	}
	this.helpDialog.setVisible(true);
    }
}

资源下载此资源下载价格为3D币(VIP免费),请先
资源文件列表
11/DaFeiJi/.classpath , 301
11/DaFeiJi/.project , 383
11/DaFeiJi/.settings/org.eclipse.jdt.core.prefs , 629
11/DaFeiJi/bin/com/beancore/Main.class , 713
11/DaFeiJi/bin/com/beancore/config/BulletType.class , 1036
11/DaFeiJi/bin/com/beancore/config/CatchableWeaponType.class , 1091
11/DaFeiJi/bin/com/beancore/config/Config.class , 4008
11/DaFeiJi/bin/com/beancore/config/EnemyPlaneType.class , 1131
11/DaFeiJi/bin/com/beancore/config/ImageConstants.class , 6985
11/DaFeiJi/bin/com/beancore/entity/BigPlane$DrawFighting.class , 739
11/DaFeiJi/bin/com/beancore/entity/BigPlane$DrawKilled.class , 731
11/DaFeiJi/bin/com/beancore/entity/BigPlane.class , 2038
11/DaFeiJi/bin/com/beancore/entity/Bomb.class , 510
11/DaFeiJi/bin/com/beancore/entity/BossPlane$DrawFighting.class , 745
11/DaFeiJi/bin/com/beancore/entity/BossPlane$DrawKilled.class , 737
11/DaFeiJi/bin/com/beancore/entity/BossPlane.class , 2059
11/DaFeiJi/bin/com/beancore/entity/Bullet.class , 4645
11/DaFeiJi/bin/com/beancore/entity/CatchableWeapon.class , 3462
11/DaFeiJi/bin/com/beancore/entity/DoubleLaser.class , 531
11/DaFeiJi/bin/com/beancore/entity/EnemyPlane.class , 4056
11/DaFeiJi/bin/com/beancore/entity/MyPlane$LauchBulletThread.class , 916
11/DaFeiJi/bin/com/beancore/entity/MyPlane.class , 5441
11/DaFeiJi/bin/com/beancore/entity/Score.class , 2008
11/DaFeiJi/bin/com/beancore/entity/SmallPlane$DrawFighting.class , 719
11/DaFeiJi/bin/com/beancore/entity/SmallPlane$DrawKilled.class , 713
11/DaFeiJi/bin/com/beancore/entity/SmallPlane.class , 1986
11/DaFeiJi/bin/com/beancore/factory/BulletFactory.class , 1683
11/DaFeiJi/bin/com/beancore/factory/CatchableWeaponFactory.class , 2201
11/DaFeiJi/bin/com/beancore/factory/EnemyPlaneFactory.class , 2635
11/DaFeiJi/bin/com/beancore/listener/BulletListener.class , 199
11/DaFeiJi/bin/com/beancore/listener/CatchableWeaponListener.class , 235
11/DaFeiJi/bin/com/beancore/listener/EnemyPlaneListener.class , 215
11/DaFeiJi/bin/com/beancore/ui/GameButton.class , 3783
11/DaFeiJi/bin/com/beancore/ui/GameLoadingPanel.class , 2115
11/DaFeiJi/bin/com/beancore/ui/GamePlayingPanel$PaintThread.class , 4593
11/DaFeiJi/bin/com/beancore/ui/GamePlayingPanel.class , 15423
11/DaFeiJi/bin/com/beancore/ui/HelpDialog.class , 1687
11/DaFeiJi/bin/com/beancore/ui/MainFrame$StartGameActionClass.class , 771
11/DaFeiJi/bin/com/beancore/ui/MainFrame.class , 10984
11/DaFeiJi/bin/com/beancore/ui/PopupMenuPanel.class , 2595
11/DaFeiJi/bin/com/beancore/ui/Top10ScorePanel.class , 2822
11/DaFeiJi/bin/com/beancore/util/FileUtil.class , 2865
11/DaFeiJi/bin/com/beancore/util/ImageLoader.class , 1066
11/DaFeiJi/bin/com/beancore/util/Images.class , 1403
11/DaFeiJi/bin/com/beancore/util/SoundPlayer.class , 1342
11/DaFeiJi/images/button_bg.png , 1812
11/DaFeiJi/images/button_hover_bg.png , 1930
11/DaFeiJi/images/font.png , 5193
11/DaFeiJi/images/logo.png , 12465
11/DaFeiJi/images/shoot.png , 463797
11/DaFeiJi/images/shoot_background.png , 97864
11/DaFeiJi/score.dat , 473
11/DaFeiJi/sound/achievement.wav , 156588
11/DaFeiJi/sound/big_plane_killed.wav , 230316
11/DaFeiJi/sound/boss_plane_flying.wav , 147372
11/DaFeiJi/sound/boss_plane_killed.wav , 118468
11/DaFeiJi/sound/button.wav , 45996
11/DaFeiJi/sound/fire_bullet.wav , 36868
11/DaFeiJi/sound/game_music.wav , 2082732
11/DaFeiJi/sound/game_over.wav , 128940
11/DaFeiJi/sound/get_bomb.wav , 92076
11/DaFeiJi/sound/get_double_laser.wav , 41516
11/DaFeiJi/sound/pop_weapon.wav , 101292
11/DaFeiJi/sound/small_plane_killed.wav , 69100
11/DaFeiJi/sound/use_bomb.wav , 193452
11/DaFeiJi/src/com/beancore/Main.java , 304
11/DaFeiJi/src/com/beancore/config/BulletType.java , 88
11/DaFeiJi/src/com/beancore/config/CatchableWeaponType.java , 89
11/DaFeiJi/src/com/beancore/config/Config.java , 4631
11/DaFeiJi/src/com/beancore/config/EnemyPlaneType.java , 118
11/DaFeiJi/src/com/beancore/config/ImageConstants.java , 8901
11/DaFeiJi/src/com/beancore/entity/BigPlane.java , 2552
11/DaFeiJi/src/com/beancore/entity/Bomb.java , 297
11/DaFeiJi/src/com/beancore/entity/BossPlane.java , 2573
11/DaFeiJi/src/com/beancore/entity/Bullet.java , 3301
11/DaFeiJi/src/com/beancore/entity/CatchableWeapon.java , 2781
11/DaFeiJi/src/com/beancore/entity/DoubleLaser.java , 311
11/DaFeiJi/src/com/beancore/entity/EnemyPlane.java , 3160
11/DaFeiJi/src/com/beancore/entity/MyPlane.java , 4142
11/DaFeiJi/src/com/beancore/entity/Score.java , 1527
11/DaFeiJi/src/com/beancore/entity/SmallPlane.java , 1985
11/DaFeiJi/src/com/beancore/factory/BulletFactory.java , 1486
11/DaFeiJi/src/com/beancore/factory/CatchableWeaponFactory.java , 1383
11/DaFeiJi/src/com/beancore/factory/EnemyPlaneFactory.java , 2276
11/DaFeiJi/src/com/beancore/listener/BulletListener.java , 148
11/DaFeiJi/src/com/beancore/listener/CatchableWeaponListener.java , 203
11/DaFeiJi/src/com/beancore/listener/EnemyPlaneListener.java , 165
11/DaFeiJi/src/com/beancore/ui/GameButton.java , 3101
11/DaFeiJi/src/com/beancore/ui/GameLoadingPanel.java , 2044
11/DaFeiJi/src/com/beancore/ui/GamePlayingPanel.java , 19580
11/DaFeiJi/src/com/beancore/ui/HelpDialog.java , 1363
11/DaFeiJi/src/com/beancore/ui/MainFrame.java , 15886
11/DaFeiJi/src/com/beancore/ui/PopupMenuPanel.java , 2816
11/DaFeiJi/src/com/beancore/ui/Top10ScorePanel.java , 1912
11/DaFeiJi/src/com/beancore/util/FileUtil.java , 1677
11/DaFeiJi/src/com/beancore/util/ImageLoader.java , 694
11/DaFeiJi/src/com/beancore/util/Images.java , 1792
11/DaFeiJi/src/com/beancore/util/SoundPlayer.java , 844
没有账号? 忘记密码?

社交账号快速登录