From 696bc286fb444097bb2fb705b15620f092bd34e2 Mon Sep 17 00:00:00 2001 From: Yoshman29 <81191621+YoshiCrafter29@users.noreply.github.com> Date: Mon, 26 Dec 2022 00:39:55 +0100 Subject: [PATCH] goodbye --- build.bat | 2 ++ buildnumber.txt | 2 +- source/funkin/desktop/sprites/DropDown.hx | 4 ++-- source/funkin/menus/MainMenuState.hx | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 build.bat diff --git a/build.bat b/build.bat new file mode 100644 index 00000000..6703ead0 --- /dev/null +++ b/build.bat @@ -0,0 +1,2 @@ +update.bat +lime test windows \ No newline at end of file diff --git a/buildnumber.txt b/buildnumber.txt index a10e1ce0..d20a7de3 100644 --- a/buildnumber.txt +++ b/buildnumber.txt @@ -1 +1 @@ -1785 \ No newline at end of file +1788 \ No newline at end of file diff --git a/source/funkin/desktop/sprites/DropDown.hx b/source/funkin/desktop/sprites/DropDown.hx index 4721e5da..dbe09034 100644 --- a/source/funkin/desktop/sprites/DropDown.hx +++ b/source/funkin/desktop/sprites/DropDown.hx @@ -15,10 +15,10 @@ class DropDown extends Button { } public function onClick() { - var pos:FlxPoint = getScreenPosition(); + var pos:FlxPoint = getScreenPosition(null, camera); pos.y += height; - var camPos = camera != null ? FlxPoint.get(camera.x - (camera.scroll.x * scrollFactor.x), camera.y - (camera.scroll.y * scrollFactor.y)) : FlxPoint.get(); + var camPos = camera != null ? FlxPoint.get(camera.x, camera.y) : FlxPoint.get(); ContextMenu.open(pos.x + camPos.x, pos.y + camPos.y, [for(o in options) { { diff --git a/source/funkin/menus/MainMenuState.hx b/source/funkin/menus/MainMenuState.hx index 8b058877..17220b37 100644 --- a/source/funkin/menus/MainMenuState.hx +++ b/source/funkin/menus/MainMenuState.hx @@ -98,7 +98,7 @@ class MainMenuState extends MusicBeatState FlxG.camera.follow(camFollow, null, 0.06); - var versionShit:FunkinText = new FunkinText(5, FlxG.height - 2, 0, 'Codename Engine v${Application.current.meta.get('version')}\nPre-Alpha: Build ${funkin.macros.BuildCounterMacro.getBuildNumber()}\n'); + var versionShit:FunkinText = new FunkinText(5, FlxG.height - 2, 0, 'Codename Engine v${Application.current.meta.get('version')}\nBeta: Build ${funkin.macros.BuildCounterMacro.getBuildNumber()}\n'); versionShit.scrollFactor.set(); versionShit.y -= versionShit.height; add(versionShit);