diff --git a/source/funkin/play/GameOverSubState.hx b/source/funkin/play/GameOverSubState.hx index 5242c7bdc..4b0c4b2d0 100644 --- a/source/funkin/play/GameOverSubState.hx +++ b/source/funkin/play/GameOverSubState.hx @@ -177,7 +177,7 @@ class GameOverSubState extends MusicBeatSubState Conductor.instance.update(0); #if mobile - addBackButton(FlxG.width * 0.77, FlxG.height * 0.84, FlxColor.WHITE, goBack); + addBackButton(FlxG.width - 230, FlxG.height - 200, FlxColor.WHITE, goBack); #end // Allow input a second later to prevent accidental gameover skips. diff --git a/source/funkin/ui/credits/CreditsState.hx b/source/funkin/ui/credits/CreditsState.hx index 668101cbb..ea010f96c 100644 --- a/source/funkin/ui/credits/CreditsState.hx +++ b/source/funkin/ui/credits/CreditsState.hx @@ -120,7 +120,7 @@ class CreditsState extends MusicBeatState FlxG.sound.music.fadeIn(6, 0, 0.8); #if mobile - addBackButton(FlxG.width * 0.77, FlxG.height * 0.85, FlxColor.WHITE, exit); + addBackButton(FlxG.width - 230, FlxG.height - 200, FlxColor.WHITE, exit, 0.7); #end } diff --git a/source/funkin/ui/mainmenu/MainMenuState.hx b/source/funkin/ui/mainmenu/MainMenuState.hx index 97d23b75d..58ff85d97 100644 --- a/source/funkin/ui/mainmenu/MainMenuState.hx +++ b/source/funkin/ui/mainmenu/MainMenuState.hx @@ -184,7 +184,7 @@ class MainMenuState extends MusicBeatState // FlxG.camera.setScrollBounds(bg.x, bg.x + bg.width, bg.y, bg.y + bg.height * 1.2); #if mobile - addBackButton(FlxG.width * 0.03, FlxG.height * 0.79, FlxColor.BLACK, goBack); + addBackButton(FlxG.width - 230, FlxG.height - 200, FlxColor.WHITE, goBack, 1.0); #end super.create(); diff --git a/source/funkin/ui/options/OptionsState.hx b/source/funkin/ui/options/OptionsState.hx index f69465462..c7f36f4d5 100644 --- a/source/funkin/ui/options/OptionsState.hx +++ b/source/funkin/ui/options/OptionsState.hx @@ -16,7 +16,7 @@ import funkin.input.Controls; import funkin.api.newgrounds.NewgroundsClient; #end #if mobile -import funkin.mobile.ui.FunkinBackspace; +import funkin.mobile.ui.FunkinBackButton; import funkin.util.TouchUtil; import funkin.mobile.ui.options.ControlsSchemeMenu; #end diff --git a/source/funkin/ui/options/PreferencesMenu.hx b/source/funkin/ui/options/PreferencesMenu.hx index 0515e7532..4710f3e5e 100644 --- a/source/funkin/ui/options/PreferencesMenu.hx +++ b/source/funkin/ui/options/PreferencesMenu.hx @@ -17,7 +17,7 @@ import funkin.ui.options.items.CheckboxPreferenceItem; import funkin.ui.options.items.NumberPreferenceItem; import funkin.ui.options.items.EnumPreferenceItem; #if mobile -import funkin.mobile.ui.FunkinBackspace; +import funkin.mobile.ui.FunkinBackButton; import funkin.mobile.ui.FunkinHitbox.FunkinHitboxControlSchemes; import funkin.util.TouchUtil; import funkin.util.SwipeUtil; @@ -77,7 +77,7 @@ class PreferencesMenu extends Page }); #if mobile - var backButton:FunkinBackspace = new FunkinBackspace(FlxG.width * 0.77, FlxG.height * 0.85, flixel.util.FlxColor.BLACK, exit); + var backButton:FunkinBackButton = new FunkinBackButton(FlxG.width * 0.77, FlxG.height * 0.85, flixel.util.FlxColor.BLACK, exit); add(backButton); #end } diff --git a/source/funkin/ui/story/StoryMenuState.hx b/source/funkin/ui/story/StoryMenuState.hx index bb2322f23..0bb7686a1 100644 --- a/source/funkin/ui/story/StoryMenuState.hx +++ b/source/funkin/ui/story/StoryMenuState.hx @@ -226,7 +226,7 @@ class StoryMenuState extends MusicBeatState #end #if mobile - addBackButton(FlxG.width * 0.77, FlxG.height * 0.85, FlxColor.WHITE, goBack); + addBackButton(FlxG.width - 230, FlxG.height - 170, FlxColor.WHITE, goBack, 0.7); #end #if FEATURE_TOUCH_CONTROLS