1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-03-25 03:19:24 +00:00

senpai stage tweaks

This commit is contained in:
Cameron Taylor 2022-05-03 13:27:14 -04:00
parent f9f711a179
commit d835bed813

View file

@ -1514,6 +1514,7 @@ class PlayState extends MusicBeatState implements IHook
// Focus the camera on the player.
cameraFollowPoint.setPosition(currentStage.getBoyfriend().cameraFocusPoint.x, currentStage.getBoyfriend().cameraFocusPoint.y);
// ALSO UNHARDCODE THIS CAMERA BULLSHIT TOO
FlxG.camera.targetOffset.x = camPosOffsetBF;
FlxG.camera.targetOffset.y = camPosOffsetBF;
@ -1525,7 +1526,7 @@ class PlayState extends MusicBeatState implements IHook
FlxG.camera.targetOffset.y = -200;
case 'school' | 'schoolEvil':
FlxG.camera.targetOffset.x = -200;
FlxG.camera.targetOffset.y = -200;
FlxG.camera.targetOffset.y = 0;
}
// TODO: Un-hardcode this.
@ -1548,8 +1549,7 @@ class PlayState extends MusicBeatState implements IHook
if (currentStage.getDad().characterId == "senpai" || currentStage.getDad().characterId == 'senpai-angry')
{
FlxG.camera.targetOffset.y = -430;
FlxG.camera.targetOffset.x = 100;
FlxG.camera.targetOffset.y = -30;
}
if (currentSong.song.toLowerCase() == 'tutorial')