v1.1.0: added new music from Kristjan!

This commit is contained in:
Evan Debenham 2021-10-24 13:56:57 -04:00
parent 039dc4eba5
commit 40993d3a90
26 changed files with 39 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -117,6 +117,18 @@ public class Assets {
public static final String SEWERS_1 = "music/sewers_1.ogg"; public static final String SEWERS_1 = "music/sewers_1.ogg";
public static final String SEWERS_2 = "music/sewers_2.ogg"; public static final String SEWERS_2 = "music/sewers_2.ogg";
public static final String PRISON_1 = "music/prison_1.ogg";
public static final String PRISON_2 = "music/prison_2.ogg";
public static final String CAVES_1 = "music/caves_1.ogg";
public static final String CAVES_2 = "music/caves_2.ogg";
public static final String CITY_1 = "music/city_1.ogg";
public static final String CITY_2 = "music/city_2.ogg";
public static final String HALLS_1 = "music/halls_1.ogg";
public static final String HALLS_2 = "music/halls_2.ogg";
} }
public static class Sounds { public static class Sounds {

View File

@ -185,10 +185,32 @@ public class GameScene extends PixelScene {
return; return;
} }
if (Dungeon.depth <= 5) {
Music.INSTANCE.playTracks( Music.INSTANCE.playTracks(
new String[]{Assets.Music.SEWERS_1, Assets.Music.SEWERS_2, Assets.Music.SEWERS_2}, new String[]{Assets.Music.SEWERS_1, Assets.Music.SEWERS_2, Assets.Music.SEWERS_2},
new float[]{1, 1, 0.5f}, new float[]{1, 1, 0.5f},
false); false);
} else if (Dungeon.depth <= 10) {
Music.INSTANCE.playTracks(
new String[]{Assets.Music.PRISON_1, Assets.Music.PRISON_2, Assets.Music.PRISON_2},
new float[]{1, 1, 0.5f},
false);
} else if (Dungeon.depth <= 15) {
Music.INSTANCE.playTracks(
new String[]{Assets.Music.CAVES_1, Assets.Music.CAVES_2, Assets.Music.CAVES_2},
new float[]{1, 1, 0.5f},
false);
} else if (Dungeon.depth <= 20) {
Music.INSTANCE.playTracks(
new String[]{Assets.Music.CITY_1, Assets.Music.CITY_2, Assets.Music.CITY_2},
new float[]{1, 1, 0.5f},
false);
} else {
Music.INSTANCE.playTracks(
new String[]{Assets.Music.HALLS_1, Assets.Music.HALLS_2, Assets.Music.HALLS_2},
new float[]{1, 1, 0.5f},
false);
}
SPDSettings.lastClass(Dungeon.hero.heroClass.ordinal()); SPDSettings.lastClass(Dungeon.hero.heroClass.ordinal());

Binary file not shown.

Binary file not shown.

BIN
ios/assets/music/city_1.mp3 Normal file

Binary file not shown.

BIN
ios/assets/music/city_2.mp3 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.