diff --git a/mods/Friday Night Funkin'/data/character data/bf-pixel-dead/config.json b/mods/Friday Night Funkin'/data/character data/bf-pixel-dead/config.json index 1a5ad5bacc..53498f5b62 100644 --- a/mods/Friday Night Funkin'/data/character data/bf-pixel-dead/config.json +++ b/mods/Friday Night Funkin'/data/character data/bf-pixel-dead/config.json @@ -5,6 +5,7 @@ "graphicSize": 6, "antialiasing": false, "healthIcon": "bf-pixel", + "cameraOffset": [-100, -100], "animations": [ { "name": "singUP", diff --git a/mods/Friday Night Funkin'/data/character data/bf-pixel/config.json b/mods/Friday Night Funkin'/data/character data/bf-pixel/config.json index 8d3e9fe0e9..ea4225aa27 100644 --- a/mods/Friday Night Funkin'/data/character data/bf-pixel/config.json +++ b/mods/Friday Night Funkin'/data/character data/bf-pixel/config.json @@ -10,7 +10,7 @@ "graphicSize": 6, "antialiasing": false, "deathCharacterName": "bf-pixel-dead", - "cameraOffset": [-100, -200], + "cameraOffset": [-100, -75], "positionOffset": [183, 202], "animations": [ { diff --git a/source/states/PlayState.hx b/source/states/PlayState.hx index 1f356480b8..4ed568560d 100644 --- a/source/states/PlayState.hx +++ b/source/states/PlayState.hx @@ -1677,16 +1677,15 @@ class PlayState extends MusicBeatState { oldNote = unspawnNotes[unspawnNotes.length - 1]; var sustainNote:Note = new Note(daStrumTime + (Conductor.stepCrochet * susNote) + (Conductor.stepCrochet / (Options.getData("downscroll") ? 1 :FlxMath.roundDecimal(speed, - 2))), noteData, oldNote, true, - char, songNotes[4], null, chars, gottaHitNote); - sustainNote.scrollFactor.set(); - unspawnNotes.push(sustainNote); - - sustainNote.mustPress = gottaHitNote; - - sustainGroup.push(sustainNote); - sustainNote.sustains = sustainGroup; - } + 2))), noteData, oldNote, true, + char, songNotes[4], null, chars, gottaHitNote); + sustainNote.scrollFactor.set(); + unspawnNotes.push(sustainNote); + + sustainNote.mustPress = gottaHitNote; + + sustainGroup.push(sustainNote); + sustainNote.sustains = sustainGroup; } swagNote.sustains = sustainGroup; diff --git a/source/substates/GameOverSubstate.hx b/source/substates/GameOverSubstate.hx index 6ebe017520..d984f532e6 100644 --- a/source/substates/GameOverSubstate.hx +++ b/source/substates/GameOverSubstate.hx @@ -44,7 +44,7 @@ class GameOverSubstate extends MusicBeatSubstate { bf.y += bf.positioningOffset[1]; add(bf); - camFollow = new FlxObject(bf.getGraphicMidpoint().x, bf.getGraphicMidpoint().y, 1, 1); + camFollow = new FlxObject(bf.getGraphicMidpoint().x + bf.cameraOffset[0], bf.getGraphicMidpoint().y + bf.cameraOffset[1], 1, 1); add(camFollow); if (FlxG.sound.music.active)