Skip to content

Commit

Permalink
added sounds nonprog
Browse files Browse the repository at this point in the history
  • Loading branch information
mklemmingen committed Dec 3, 2023
1 parent bf7cdbe commit b089f32
Show file tree
Hide file tree
Showing 39 changed files with 15 additions and 0 deletions.
Binary file added assets/sounds/archer/archer1.wav
Binary file not shown.
Binary file added assets/sounds/archer/archer2.wav
Binary file not shown.
Binary file added assets/sounds/big/big1.mp3
Binary file not shown.
Binary file added assets/sounds/big/big2.mp3
Binary file not shown.
Binary file added assets/sounds/big/big3.wav
Binary file not shown.
Binary file added assets/sounds/big/big4.aiff
Binary file not shown.
Binary file added assets/sounds/big/big5.wav
Binary file not shown.
Binary file added assets/sounds/big/big6.wav
Binary file not shown.
Binary file added assets/sounds/big/big7.wav
Binary file not shown.
Binary file added assets/sounds/catapult/catapult1.wav
Binary file not shown.
Binary file added assets/sounds/catapult/catapult2.wav
Binary file not shown.
Binary file added assets/sounds/dog/dog1.wav
Binary file not shown.
Binary file added assets/sounds/dog/dog2.wav
Binary file not shown.
Binary file added assets/sounds/dog/dog3.wav
Binary file not shown.
Binary file added assets/sounds/dog/dog4.wav
Binary file not shown.
Binary file added assets/sounds/dog/dog5.wav
Binary file not shown.
Binary file added assets/sounds/dog/dog6.wav
Binary file not shown.
Binary file added assets/sounds/helicopter/helicopter1.wav
Binary file not shown.
Binary file added assets/sounds/helicopter/helicopter2.wav
Binary file not shown.
Binary file added assets/sounds/helicopter/helicopter3.wav
Binary file not shown.
Binary file added assets/sounds/helicopter/helicopter4.flac
Binary file not shown.
Binary file added assets/sounds/helicopter/helicopter5.wav
Binary file not shown.
Binary file added assets/sounds/knight/knight1.mp3
Binary file not shown.
Binary file added assets/sounds/knight/knight2.wav
Binary file not shown.
Binary file added assets/sounds/knight/knight3.wav
Binary file not shown.
Binary file added assets/sounds/knight/knight4.wav
Binary file not shown.
Binary file added assets/sounds/magic/magic1.wav
Binary file not shown.
Binary file added assets/sounds/magic/magic2.wav
Binary file not shown.
Binary file added assets/sounds/small/small1.flac
Binary file not shown.
Binary file added assets/sounds/small/small2.wav
Binary file not shown.
Binary file added assets/sounds/small/small3.aiff
Binary file not shown.
Binary file added assets/sounds/sword/sword1.ogg
Binary file not shown.
Binary file added assets/sounds/sword/sword2.wav
Binary file not shown.
Binary file added assets/sounds/sword/sword3.flac
Binary file not shown.
Binary file added assets/sounds/sword/sword4.wav
Binary file not shown.
Binary file added assets/sounds/sword/sword5.wav
Binary file not shown.
Binary file added assets/sounds/sword/sword6.wav
Binary file not shown.
Binary file added assets/sounds/sword/sword7.wav
Binary file not shown.
15 changes: 15 additions & 0 deletions core/src/com/boomchess/game/frontend/stage/MenuStage.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ public void changed(ChangeEvent event, Actor actor) {

// create the big game Board as an object of the Board class
Board.initialise();
if(isMedievalMode){
isBeepMode = true;
}
else{
isBeepMode = false;
}

inGame = true;
switchToStage(GameStage.createGameStage(isBotMatch));
Expand All @@ -104,6 +110,13 @@ public void changed(ChangeEvent event, Actor actor) {

currentState = GameState.RED_TURN;

if(isMedievalMode){
isBeepMode = true;
}
else{
isBeepMode = false;
}

BoomChess.isBotMatch = true;

// create the big game Board as an object of the Board class
Expand Down Expand Up @@ -153,10 +166,12 @@ public void changed(ChangeEvent event, Actor actor) {
public void changed(ChangeListener.ChangeEvent event, Actor actor) {
if(isMedievalMode){
isMedievalMode = false;
isBeepMode = false;
createMapStage();
}
else{
isMedievalMode = true;
isBeepMode = true;
createMapStage();
}
BoomChess.createMainMenuStage();
Expand Down

0 comments on commit b089f32

Please sign in to comment.