diff --git a/assets/sounds/intro1-pixel.mp3 b/assets/sounds/intro1-pixel.mp3 new file mode 100644 index 000000000..2f48f71d1 Binary files /dev/null and b/assets/sounds/intro1-pixel.mp3 differ diff --git a/assets/sounds/intro1-pixel.ogg b/assets/sounds/intro1-pixel.ogg new file mode 100644 index 000000000..4812f3afb Binary files /dev/null and b/assets/sounds/intro1-pixel.ogg differ diff --git a/assets/sounds/intro2-pixel.mp3 b/assets/sounds/intro2-pixel.mp3 new file mode 100644 index 000000000..cf26e96f1 Binary files /dev/null and b/assets/sounds/intro2-pixel.mp3 differ diff --git a/assets/sounds/intro2-pixel.ogg b/assets/sounds/intro2-pixel.ogg new file mode 100644 index 000000000..e5d642764 Binary files /dev/null and b/assets/sounds/intro2-pixel.ogg differ diff --git a/assets/sounds/intro3-pixel.mp3 b/assets/sounds/intro3-pixel.mp3 new file mode 100644 index 000000000..dc752546b Binary files /dev/null and b/assets/sounds/intro3-pixel.mp3 differ diff --git a/assets/sounds/intro3-pixel.ogg b/assets/sounds/intro3-pixel.ogg new file mode 100644 index 000000000..3e931bda0 Binary files /dev/null and b/assets/sounds/intro3-pixel.ogg differ diff --git a/assets/sounds/introGo-pixel.mp3 b/assets/sounds/introGo-pixel.mp3 new file mode 100644 index 000000000..0a236ea01 Binary files /dev/null and b/assets/sounds/introGo-pixel.mp3 differ diff --git a/assets/sounds/introGo-pixel.ogg b/assets/sounds/introGo-pixel.ogg new file mode 100644 index 000000000..ff27b7baa Binary files /dev/null and b/assets/sounds/introGo-pixel.ogg differ diff --git a/source/PlayState.hx b/source/PlayState.hx index 736d644ff..dd13b6b94 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -676,18 +676,22 @@ class PlayState extends MusicBeatState ]); var introAlts:Array = introAssets.get('default'); + var altSuffix:String = ""; for (value in introAssets.keys()) { if (value == curStage) + { introAlts = introAssets.get(value); + altSuffix = '-pixel'; + } } switch (swagCounter) { case 0: - FlxG.sound.play('assets/sounds/intro3' + TitleState.soundExt, 0.6); + FlxG.sound.play('assets/sounds/intro3' + altSuffix + TitleState.soundExt, 0.6); case 1: var ready:FlxSprite = new FlxSprite().loadGraphic('assets/images/' + introAlts[0]); ready.scrollFactor.set(); @@ -705,7 +709,7 @@ class PlayState extends MusicBeatState ready.destroy(); } }); - FlxG.sound.play('assets/sounds/intro2' + TitleState.soundExt, 0.6); + FlxG.sound.play('assets/sounds/intro2' + altSuffix + TitleState.soundExt, 0.6); case 2: var set:FlxSprite = new FlxSprite().loadGraphic('assets/images/' + introAlts[1]); set.scrollFactor.set(); @@ -722,7 +726,7 @@ class PlayState extends MusicBeatState set.destroy(); } }); - FlxG.sound.play('assets/sounds/intro1' + TitleState.soundExt, 0.6); + FlxG.sound.play('assets/sounds/intro1' + altSuffix + TitleState.soundExt, 0.6); case 3: var go:FlxSprite = new FlxSprite().loadGraphic('assets/images/' + introAlts[2]); go.scrollFactor.set(); @@ -741,7 +745,7 @@ class PlayState extends MusicBeatState go.destroy(); } }); - FlxG.sound.play('assets/sounds/introGo' + TitleState.soundExt, 0.6); + FlxG.sound.play('assets/sounds/introGo' + altSuffix + TitleState.soundExt, 0.6); case 4: }