Development #35
@@ -149,7 +149,7 @@ else if(boardSelect != null) {
|
||||
if (name.equals("Right")) {
|
||||
isRotateRight = !isRotateRight;
|
||||
}
|
||||
if(name.equals("Test") &&isPressed){
|
||||
if(name.equals("Test2") &&isPressed){
|
||||
if(app.getView() instanceof GameView gameView){
|
||||
|
||||
if(p == null) {
|
||||
|
||||
@@ -128,7 +128,7 @@ public void simpleInitApp() {
|
||||
gameView = new GameView(this);
|
||||
ceremonyView = new CeremonyView(this);
|
||||
|
||||
enter(MdgaState.GAME);
|
||||
enter(MdgaState.MAIN);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -129,6 +129,9 @@ public void playSound(MdgaSound sound) {
|
||||
case MISSILE:
|
||||
assets.add(new SoundAssetDelayVolume(SoundAsset.MISSILE, 1.0f, 0.0f));
|
||||
break;
|
||||
case MATRIX:
|
||||
assets.add(new SoundAssetDelayVolume(SoundAsset.MATRIX, 1.0f, 0.0f));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -36,6 +36,7 @@ enum SoundAsset {
|
||||
BONUS("bonus.ogg"),
|
||||
LOSE("lose.ogg"),
|
||||
MISSILE("missile.ogg"),
|
||||
MATRIX("matrix.wav"),
|
||||
CONNECTED("connected.wav");
|
||||
|
||||
private final String path;
|
||||
|
||||
@@ -56,9 +56,8 @@ public MissileAnimation(MdgaApp app, Node rootNode, UUID uuid, Vector3f target,
|
||||
*/
|
||||
public void start() {
|
||||
loadMissile();
|
||||
animateMissile();
|
||||
|
||||
app.getAcousticHandler().playSound(MdgaSound.MISSILE);
|
||||
animateMissile();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
BIN
Projekte/mdga/client/src/main/resources/Sounds/matrix.wav
Normal file
BIN
Projekte/mdga/client/src/main/resources/Sounds/matrix.wav
Normal file
Binary file not shown.
Reference in New Issue
Block a user