Commit Graph
1385 Commits
Author SHA1 Message Date
zacksgamerzandKarimAkra 0b2bb3391c Fix the difficulty sprites not showing up in Freeplay. 2025-04-17 12:03:52 +03:00
zacksgamerzandKarimAkra ffee837bcd Fixed flooring mistake for haptics in pico's freeplay.
What happens if you floor 0.3? it returns ZERO :D
2025-04-17 12:03:42 +03:00
sector-aandKarimAkra 8fa6809723 Add vibration for locked selection in Character Select menu 2025-04-17 01:04:17 +03:00
zacksgamerzandKarimAkra 9775034d7a Add tapping to LetterSort for Freeplay. 2025-04-17 01:01:40 +03:00
824767af66 Replace the traditional lime Haptics with funkin.haptic
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-17 01:01:26 +03:00
sector-aandKarimAkra ae4384453c Tweak freeplay scrolling vibrations a lil bit 2025-04-17 00:42:39 +03:00
zacksgamerzandKarimAkra f11d7e8147 Disabled wrapping in Story Menu and fixed an unknown bug with the swipe threshold. 2025-04-17 00:38:23 +03:00
zacksgamerzandKarimAkra 8f123e4ab9 Made it so you need to tap on LetterSort first so it would receive input. 2025-04-17 00:38:20 +03:00
zacksgamerzandKarimAkra 25d27e62ce Refactored scroll up and down logic in Freeplay. 2025-04-17 00:37:32 +03:00
zacksgamerzandKarimAkra b9230b6eb2 Add swipe gesture to back out in Freeplay. 2025-04-17 00:36:49 +03:00
KarimAkra e197b7325a Fixed the Preferences Menu options not aligning correctly on notched displays 2025-04-17 00:33:07 +03:00
KarimAkra 6080cd5bf3 Fixed the freeplay rating stars flames position to align properly with the notch 2025-04-17 00:32:53 +03:00
zacksgamerzandKarimAkra f246fa2e6c Fix tween cancellation and update flick direction logic in FreeplayState. 2025-04-17 00:32:17 +03:00
Karim AkraandKarimAkra 2973b65c69 Check for resolution validity on desktop only 2025-04-17 00:31:51 +03:00
zacksgamerzandKarimAkra f6ee1c8f92 Cancel existing tweens for difficulty groups before starting a new tween in FreeplayState. 2025-04-17 00:31:19 +03:00
zacksgamerzandKarimAkra 3389eaef96 Changed justSwiped to swipe in StoryMenuState. 2025-04-17 00:31:19 +03:00
zacksgamerzandKarimAkra 86d050a11f Refactor swipe threshold calculation to use SwipeUtil across multiple states. 2025-04-17 00:31:19 +03:00
Mihai AlexandruandKarimAkra 5c0de03a74 Adjust the preferences options x to follow the cutout. 2025-04-17 00:31:18 +03:00
zacksgamerzandKarimAkra afe0087591 Invert flicks for a hotfix. 2025-04-17 00:30:33 +03:00
KarimAkra 616004d7f6 move FullScreenScaleMode from flixel.system.scaleModes to funkin.ui 2025-04-17 00:29:45 +03:00
Mihai AlexandruandKarimAkra 3386d62951 Video Playback Optimization. 2025-04-17 00:27:13 +03:00
zacksgamerzandKarimAkra d57409ca20 Character Select Menu Fixed the issue where it instantly selects the item when you first tap into it. 2025-04-17 00:25:56 +03:00
KarimAkra 27adb17a38 Fixed the null object refrence in AttractState on mobile platforms 2025-04-16 23:41:55 +03:00
sector-aandKarimAkra 64877bc999 Rename MobileControlsSchemeMenu to ControlsSchemeMenu 2025-04-16 23:41:11 +03:00
KarimAkra 51b82a0a7c Fixed minor issues with swipes and Pointer Plugin 2025-04-16 16:07:59 +03:00
sector-aandKarimAkra 6c2ff099da Uncomment swipeThreshold.set() calls 2025-04-16 16:05:53 +03:00
KarimAkra a289fb7f54 Fixed common issues with the Pointer Plugin 2025-04-16 16:05:20 +03:00
zacksgamerzandKarimAkra 6f9b8f0284 Add TouchPointerPlugin integration and update pointer group initialization 2025-04-16 16:04:58 +03:00
zacksgamerzandKarimAkra 16884ba28e Implement TouchPointerPlugin and remove old legacy TouchPointer code. 2025-04-16 16:04:22 +03:00
KarimAkra a4207c1020 Allow skipping the video after holding the screen for 1.5 seconds with touch 2025-04-16 15:56:44 +03:00
KarimAkra a2c2b8d9dd Fixed the FPS counter position and removed skipping with touch from AttractState 2025-04-16 15:54:38 +03:00
sector-aandKarimAkra 0e256021b1 Made note vibrations weaker, removed HAPTIC_VIBRATIONS define, moved vibration option from mobileOptions to options 2025-04-16 15:29:26 +03:00
zacksgamerzandKarimAkra 18dcb8f446 Replaced all old flick checks, swipe checks, etc. with the proper checks from Flixel. Updated flixel ref. Removed justFlicked checks as they are unused.
Replace swipeThreshold updates with the one in FlxTouchManager

Temporarily remove swipeThreshold sets for testing.

Proper SwipeUtil refactoring. Completely replaced all flick and movement checks with the one in Flixel. Rewrote most of the documentation to be more accurate.

Invert flick checks as it already comes inverted from FlxFlick.

Define fixes for SwipeUtil

Fixed null safety issues on compiling.
2025-04-16 15:22:10 +03:00
zacksgamerzandKarimAkra 5b9bd1af00 Removw justMoved check as it makes confirming the selected song significantly harder. 2025-04-16 15:00:52 +03:00
zacksgamerzandKarimAkra 9d48a04564 Fixed issue where you can't confirm your selection by tapping the icons in the character select menu. 2025-04-16 15:00:52 +03:00
sector-aandKarimAkra f970ea6acf Move TouchUtil and SwipeUtil to funkin.util 2025-04-16 15:00:02 +03:00
sector-aandKarimAkra 8b1b81a925 Add mobile support to Latency State 2025-04-16 14:57:33 +03:00
sector-aandKarimAkra 2d8a493897 Add directionsOverride and colorsOverride to FunkinHitbox 2025-04-16 14:57:33 +03:00
zacksgamerzandKarimAkra 3bcb63cb84 Made minor changes to the overlap checks in CharSelectSubState, and added another way for the player to accept by tapping on the character. Replaced FlxSprite hitboxes with FlxObject. 2025-04-16 14:56:44 +03:00
zacksgamerzandKarimAkra 0d35b66903 Refactored the drag difficulty checks in Freeplay to be more clean and readable. 2025-04-16 14:56:15 +03:00
zacksgamerzandKarimAkra db84186627 Made intuitive swipe controls for LetterSort. 2025-04-16 14:55:26 +03:00
sector-aandKarimAkra 4b797d3526 allow input offset on mobile and gameover input delay 2025-04-16 13:39:04 +03:00
82a9dabc7f Added ability to swipe on difficulties to change them on FreeplayState
Co-Authored-By: Karim Akra <144803230+karimakra@users.noreply.github.com>
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
2025-04-16 13:21:16 +03:00
e9b1800ec9 Improves HapticUtil's code a bit
Co-Authored-By: Mihai Alexandru <77043862+majigsaw77@users.noreply.github.com>
Co-Authored-By: Karim Akra <144803230+karimakra@users.noreply.github.com>
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-16 00:22:56 +03:00
e5f3223e76 Refactor FullScreenScaleMode
Co-Authored-By: Mihai Alexandru <77043862+majigsaw77@users.noreply.github.com>
Co-Authored-By: Karim Akra <144803230+karimakra@users.noreply.github.com>
2025-04-15 23:50:40 +03:00
KarimAkraandMoonDroid d80afc35b4 Fixed a few issues with touch controls & flicks
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
2025-04-15 23:39:17 +03:00
KarimAkraandMoonDroid 068747b01a Optimized Memory Usage & Added FunkinMemory
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
2025-04-15 22:20:01 +03:00
66e6ea9d41 Fixed few issues with extension-admob implementation
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
Co-Authored-By: Mihai Alexandru <77043862+majigsaw77@users.noreply.github.com>
2025-04-15 21:37:22 +03:00
KarimAkraandsector-a d43dfac3e4 Added vibrations to most ResultState ranks and more!
* Vibrations for most ranks
* Vibrations when scrolling through FreeplayState
* Vibrations for notes hits
* Vibrations for game over

Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-15 21:37:14 +03:00
KarimAkra 9cf134fc2a Made more menus adapted to wide-screens & fixed some bugs
* Made stuff on the edge of the screen get moved away by the notch
* Made FreeplayState look better on wide-screens
* Adapted StoryMenuState to wide-screens
* Fixed the transition being small on some screen sizes
* refactored some code
2025-04-15 21:37:06 +03:00