mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 19:33:36 +00:00
Use FlxG.camera instead of camGame
This commit is contained in:
parent
d39f3dc1e8
commit
ee6c4478a9
|
@ -3070,7 +3070,7 @@ class PlayState extends MusicBeatSubState
|
||||||
FlxG.camera.targetOffset.x += 20;
|
FlxG.camera.targetOffset.x += 20;
|
||||||
|
|
||||||
// Replace zoom animation with a fade out for now.
|
// Replace zoom animation with a fade out for now.
|
||||||
camGame.fade(FlxColor.BLACK, 0.6);
|
FlxG.camera.fade(FlxColor.BLACK, 0.6);
|
||||||
|
|
||||||
FlxTween.tween(camHUD, {alpha: 0}, 0.6,
|
FlxTween.tween(camHUD, {alpha: 0}, 0.6,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue