1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-27 15:26:55 +00:00

we out here windows build

This commit is contained in:
Cameron Taylor 2020-10-06 18:56:33 -07:00
parent 6f7b3e67ef
commit 9965320307
2 changed files with 15 additions and 9 deletions

View file

@ -31,7 +31,13 @@
<set name="BUILD_DIR" value="export/release" unless="debug" /> <set name="BUILD_DIR" value="export/release" unless="debug" />
<classpath name="source" /> <classpath name="source" />
<assets path="assets" />
<assets path="assets/images"/>
<assets path="assets/data"/>
<assets path="assets/music" include="*.mp3" if="web" />
<assets path="assets/music" include="*.ogg" unless="web" />
<assets path="assets/sounds" include="*.mp3" if="web" />
<!-- _______________________________ Libraries ______________________________ --> <!-- _______________________________ Libraries ______________________________ -->
@ -81,4 +87,5 @@
<!-- _________________________________ Custom _______________________________ --> <!-- _________________________________ Custom _______________________________ -->
<!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)--> <!--Place custom nodes like icons here (higher priority to override the HaxeFlixel icon)-->
<icon path="art/icon.png"/>
</project> </project>

View file

@ -129,7 +129,7 @@ class PlayState extends FlxTransitionableState
switch (swagCounter) switch (swagCounter)
{ {
case 0: case 0:
FlxG.sound.play('assets/sounds/intro3.mp3', 0.6); FlxG.sound.play('assets/sounds/intro3' + TitleState.soundExt, 0.6);
case 1: case 1:
var ready:FlxSprite = new FlxSprite().loadGraphic('assets/images/ready.png'); var ready:FlxSprite = new FlxSprite().loadGraphic('assets/images/ready.png');
ready.scrollFactor.set(); ready.scrollFactor.set();
@ -142,7 +142,7 @@ class PlayState extends FlxTransitionableState
ready.destroy(); ready.destroy();
} }
}); });
FlxG.sound.play('assets/sounds/intro2.mp3', 0.6); FlxG.sound.play('assets/sounds/intro2' + TitleState.soundExt, 0.6);
case 2: case 2:
var set:FlxSprite = new FlxSprite().loadGraphic('assets/images/set.png'); var set:FlxSprite = new FlxSprite().loadGraphic('assets/images/set.png');
set.scrollFactor.set(); set.scrollFactor.set();
@ -155,7 +155,7 @@ class PlayState extends FlxTransitionableState
set.destroy(); set.destroy();
} }
}); });
FlxG.sound.play('assets/sounds/intro1.mp3', 0.6); FlxG.sound.play('assets/sounds/intro1' + TitleState.soundExt, 0.6);
case 3: case 3:
var go:FlxSprite = new FlxSprite().loadGraphic('assets/images/go.png'); var go:FlxSprite = new FlxSprite().loadGraphic('assets/images/go.png');
go.scrollFactor.set(); go.scrollFactor.set();
@ -168,7 +168,7 @@ class PlayState extends FlxTransitionableState
go.destroy(); go.destroy();
} }
}); });
FlxG.sound.play('assets/sounds/introGo.mp3', 0.6); FlxG.sound.play('assets/sounds/introGo' + TitleState.soundExt, 0.6);
case 4: case 4:
} }
@ -217,7 +217,7 @@ class PlayState extends FlxTransitionableState
function startSong():Void function startSong():Void
{ {
countingDown = false; countingDown = false;
FlxG.sound.playMusic("assets/music/" + curLevel + "_Inst.mp3"); FlxG.sound.playMusic("assets/music/" + curLevel + "_Inst" + TitleState.soundExt);
vocals.play(); vocals.play();
} }
@ -236,7 +236,7 @@ class PlayState extends FlxTransitionableState
curSong = songData.song; curSong = songData.song;
vocals = new FlxSound().loadEmbedded("assets/music/" + curSong + "_Voices.mp3"); vocals = new FlxSound().loadEmbedded("assets/music/" + curSong + "_Voices" + TitleState.soundExt);
FlxG.sound.list.add(vocals); FlxG.sound.list.add(vocals);
notes = new FlxTypedGroup<Note>(); notes = new FlxTypedGroup<Note>();
@ -315,7 +315,6 @@ class PlayState extends FlxTransitionableState
} }
unspawnNotes.sort(sortByShit); unspawnNotes.sort(sortByShit);
trace('FIRST NOTE ' + unspawnNotes[0]);
} }
function sortByShit(Obj1:Note, Obj2:Note):Int function sortByShit(Obj1:Note, Obj2:Note):Int
@ -805,7 +804,7 @@ class PlayState extends FlxTransitionableState
} }
combo = 0; combo = 0;
FlxG.sound.play('assets/sounds/missnote' + FlxG.random.int(1, 3) + ".mp3", FlxG.random.float(0.05, 0.2)); FlxG.sound.play('assets/sounds/missnote' + FlxG.random.int(1, 3) + TitleState.soundExt, FlxG.random.float(0.05, 0.2));
boyfriend.stunned = true; boyfriend.stunned = true;