Skip to content

Commit

Permalink
Add assets
Browse files Browse the repository at this point in the history
  • Loading branch information
tyrann committed Mar 1, 2016
1 parent 22cd3ac commit 7f307bc
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@
# Specific Files #
*.txt
*.wav
sound_effects
bin
.settings
.classpath
.project

/lib

Binary file added assets/music/gone.ogg
Binary file not shown.
Binary file added assets/sound_effects/coin_sound.ogg
Binary file not shown.
Binary file added assets/sound_effects/coin_sound2.ogg
Binary file not shown.
Binary file added assets/sound_effects/death.ogg
Binary file not shown.
Binary file added assets/sound_effects/lost_life.ogg
Binary file not shown.
Binary file added assets/sound_effects/size_increased.ogg
Binary file not shown.
10 changes: 5 additions & 5 deletions src/game_screen/GamePanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ public class GamePanel extends JPanel implements MouseListener,
public static int sphere_cons = 10;
private int insideSphere = 0;
private int lifes;
private CoinSound coins = new CoinSound("sound_effects/coin_sound.wav");
private LifeLost lifeLost = new LifeLost("sound_effects/lost_life.wav");
private CoinSound2 coins2 = new CoinSound2("sound_effects/coin_sound2.wav");
private CoinSound coins = new CoinSound("assets/sound_effects/coin_sound.ogg");
private LifeLost lifeLost = new LifeLost("assets/sound_effects/lost_life.ogg");
private CoinSound2 coins2 = new CoinSound2("assets/sound_effects/coin_sound2.ogg");
// private LifeGained lifeGained=new
// LifeGained("sound_effects/life_gained.wav");
private SizeIncreased size = new SizeIncreased(
"sound_effects/size_increased.wav");
private DeathSound death = new DeathSound("sound_effects/death.wav");
"assets/sound_effects/size_increased.ogg");
private DeathSound death = new DeathSound("assets/sound_effects/death.ogg");
private boolean soundEffects;
private BlocksGame main;
private Cursor blankCursor;
Expand Down
1 change: 1 addition & 0 deletions src/game_screen/SoundEffects.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import javax.sound.sampled.LineUnavailableException;
import javax.sound.sampled.UnsupportedAudioFileException;


public abstract class SoundEffects {
private File file;
protected Clip clip;
Expand Down
2 changes: 1 addition & 1 deletion src/menu_screen/BlocksGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public BlocksGame() {
add(menu);
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
addKeyListener(this);
music = new MusicThread("Fake_Moon_Flight_(Original_Mix).wav");
music = new MusicThread("assets/music/gone.ogg");
setResizable(false);
pack();
setVisible(true);
Expand Down

0 comments on commit 7f307bc

Please sign in to comment.