From 5d81af80867965dc5be81098ec0e6e8a740e0ce7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 27 Nov 2014 15:35:10 +0100 Subject: add explosion.mp3 and explosion_short.mp3 --- android/assets/sounds/explosion.mp3 | Bin 0 -> 55587 bytes android/assets/sounds/explosion_short.mp3 | Bin 0 -> 22986 bytes core/src/ch/asynk/tankontank/TankOnTank.java | 4 ++++ 3 files changed, 4 insertions(+) create mode 100644 android/assets/sounds/explosion.mp3 create mode 100644 android/assets/sounds/explosion_short.mp3 diff --git a/android/assets/sounds/explosion.mp3 b/android/assets/sounds/explosion.mp3 new file mode 100644 index 0000000..6a64a28 Binary files /dev/null and b/android/assets/sounds/explosion.mp3 differ diff --git a/android/assets/sounds/explosion_short.mp3 b/android/assets/sounds/explosion_short.mp3 new file mode 100644 index 0000000..d0b6c15 Binary files /dev/null and b/android/assets/sounds/explosion_short.mp3 differ diff --git a/core/src/ch/asynk/tankontank/TankOnTank.java b/core/src/ch/asynk/tankontank/TankOnTank.java index 2947209..ad0fc27 100644 --- a/core/src/ch/asynk/tankontank/TankOnTank.java +++ b/core/src/ch/asynk/tankontank/TankOnTank.java @@ -60,6 +60,8 @@ public class TankOnTank extends Game manager.load("sounds/attack.mp3", Sound.class); manager.load("sounds/shot.mp3", Sound.class); manager.load("sounds/short_shot.mp3", Sound.class); + manager.load("sounds/explosion.mp3", Sound.class); + manager.load("sounds/explosion_short.mp3", Sound.class); } public void unloadAssets() @@ -78,6 +80,8 @@ public class TankOnTank extends Game manager.unload("sounds/attack.mp3"); manager.unload("sounds/shot.mp3"); manager.unload("sounds/short_shot.mp3"); + manager.unload("sounds/explosion.mp3"); + manager.unload("sounds/explosion_short.mp3"); debug("TankOnTank", "diagnostics:\n" + manager.getDiagnostics() ); } -- cgit v1.1-2-g2b99