diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-29 16:16:35 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-29 16:16:35 +0100 |
commit | 0dcfb59d471d7c1ef5767c546983fe68b963ee62 (patch) | |
tree | 32c2599d6c3282786c34bf0b40ec1cc98cb66e0b | |
parent | 3b884ce29f926039463bb7194fa3c8193ca881bb (diff) | |
download | RustAndDust-0dcfb59d471d7c1ef5767c546983fe68b963ee62.zip RustAndDust-0dcfb59d471d7c1ef5767c546983fe68b963ee62.tar.gz |
add sounds attack.mp3 and move.mp3
-rw-r--r-- | android/assets/sounds/attack.mp3 | bin | 0 -> 51408 bytes | |||
-rw-r--r-- | android/assets/sounds/move.mp3 | bin | 0 -> 79411 bytes | |||
-rw-r--r-- | core/src/ch/asynk/tankontank/TankOnTank.java | 5 |
3 files changed, 5 insertions, 0 deletions
diff --git a/android/assets/sounds/attack.mp3 b/android/assets/sounds/attack.mp3 Binary files differnew file mode 100644 index 0000000..89d957a --- /dev/null +++ b/android/assets/sounds/attack.mp3 diff --git a/android/assets/sounds/move.mp3 b/android/assets/sounds/move.mp3 Binary files differnew file mode 100644 index 0000000..45ab17d --- /dev/null +++ b/android/assets/sounds/move.mp3 diff --git a/core/src/ch/asynk/tankontank/TankOnTank.java b/core/src/ch/asynk/tankontank/TankOnTank.java index e9ec02b..904a139 100644 --- a/core/src/ch/asynk/tankontank/TankOnTank.java +++ b/core/src/ch/asynk/tankontank/TankOnTank.java @@ -3,6 +3,7 @@ package ch.asynk.tankontank; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.Game; import com.badlogic.gdx.assets.AssetManager; +import com.badlogic.gdx.audio.Sound; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.scenes.scene2d.ui.Skin; @@ -45,6 +46,8 @@ public class TankOnTank extends Game manager.load("data/tile-overlays.atlas", TextureAtlas.class); manager.load("data/explosion.png", Texture.class); manager.load("data/explosions.png", Texture.class); + manager.load("sounds/move.mp3", Sound.class); + manager.load("sounds/attack.mp3", Sound.class); } public void unloadAssets() @@ -59,6 +62,8 @@ public class TankOnTank extends Game manager.unload("data/tile-overlays.atlas"); manager.unload("data/explosion.png"); manager.unload("data/explosions.png"); + manager.unload("sounds/move.mp3"); + manager.unload("sounds/attack.mp3"); Gdx.app.debug("TankOnTank", "diagnostics:\n" + manager.getDiagnostics() ); } |