diff --git a/source/DiffOverview.hx b/source/DiffOverview.hx index 2a11393..c0fb36d 100644 --- a/source/DiffOverview.hx +++ b/source/DiffOverview.hx @@ -60,9 +60,9 @@ class DiffOverview extends FlxSubState FlxG.cameras.add(camGame); - FlxG.cameras.add(camHUD); + FlxG.cameras.add(camHUD, false); - FlxCamera.defaultCameras = [camGame]; + //FlxG.cameras.setDefaultDrawTarget(camGame,true); playerStrums = new FlxTypedGroup(); diff --git a/source/PauseSubState.hx b/source/PauseSubState.hx index 3ba26d7..3c62c35 100644 --- a/source/PauseSubState.hx +++ b/source/PauseSubState.hx @@ -33,8 +33,6 @@ class PauseSubState extends MusicBeatSubstate public function new(x:Float, y:Float) { super(); - cpp.vm.Gc.run(true); - trace("Game paused. We can run the garbage collector"); if (PlayState.instance.useVideo) { @@ -83,7 +81,7 @@ class PauseSubState extends MusicBeatSubstate perSongOffset = new FlxText(5, FlxG.height - 18, 0, "Additive Offset (Left, Right): " + PlayState.songOffset + " - Description - " + 'Adds value to global offset, per song.', 12); perSongOffset.scrollFactor.set(); perSongOffset.setFormat("VCR OSD Mono", 16, FlxColor.WHITE, LEFT, FlxTextBorderStyle.OUTLINE, FlxColor.BLACK); - + #if cpp add(perSongOffset); #end diff --git a/source/PlayState.hx b/source/PlayState.hx index 3551437..23f41c5 100644 --- a/source/PlayState.hx +++ b/source/PlayState.hx @@ -401,13 +401,13 @@ class PlayState extends MusicBeatState camNotes.bgColor.alpha = 0; FlxG.cameras.reset(camGame); - FlxG.cameras.add(camHUD); - FlxG.cameras.add(camSustains); - FlxG.cameras.add(camNotes); + FlxG.cameras.add(camHUD, false); + FlxG.cameras.add(camSustains, false); + FlxG.cameras.add(camNotes, false); camHUD.zoom = PlayStateChangeables.zoom; - FlxCamera.defaultCameras = [camGame]; + //FlxG.cameras.setDefaultDrawTarget(camGame, true); persistentUpdate = true; persistentDraw = true;