added debugs and cheats and we usin fmod
This commit is contained in:
@ -583,9 +583,13 @@ class PlayState extends MusicBeatState
|
||||
{
|
||||
super.update(elapsed);
|
||||
|
||||
trace("FlxG.elapsed: " + FlxG.elapsed);
|
||||
#if lime
|
||||
trace("IT'S LIME");
|
||||
#end
|
||||
|
||||
//trace("FlxG.elapsed: " + FlxG.elapsed);
|
||||
trace("FlxG.sound.music.time: " + FlxG.sound.music.time);
|
||||
trace("FlxG.sound.music.playing: " + FlxG.sound.music.playing);
|
||||
//trace("FlxG.sound.music.playing: " + FlxG.sound.music.playing);
|
||||
//trace("SONG POS: " + Conductor.songPosition);
|
||||
// FlxG.sound.music.pitch = 2;
|
||||
|
||||
@ -727,6 +731,18 @@ class PlayState extends MusicBeatState
|
||||
}
|
||||
// better streaming of shit
|
||||
|
||||
//RESET = Quick Game Over Screen
|
||||
if (controls.RESET){
|
||||
health = 0;
|
||||
trace("RESET = True");
|
||||
}
|
||||
|
||||
//CHEAT = brandon's a pussy
|
||||
if (controls.CHEAT){
|
||||
health += 1;
|
||||
trace("User is cheating!");
|
||||
}
|
||||
|
||||
if (health <= 0)
|
||||
{
|
||||
boyfriend.stunned = true;
|
||||
@ -1288,9 +1304,9 @@ class PlayState extends MusicBeatState
|
||||
if (vocals.time > Conductor.songPosition + Conductor.stepCrochet
|
||||
|| vocals.time < Conductor.songPosition - Conductor.stepCrochet)
|
||||
{
|
||||
vocals.pause();
|
||||
//vocals.pause();
|
||||
vocals.time = Conductor.songPosition;
|
||||
vocals.play();
|
||||
//vocals.play();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user