Commit Graph
3463 Commits
Author SHA1 Message Date
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
Karim AkraandKarimAkra 854f62ba54 Use correct arguments for aspect ratio validity check 2025-04-17 00:28:11 +03:00
zacksgamerzandKarimAkra 7374986c05 Fix aspect ratio validation by using gameHeight instead of gameWidth 2025-04-17 00:28:11 +03:00
KarimAkra 6a064dc7f7 Fixed an issue with the game looking off on invalid aspect ratios 2025-04-17 00:28:11 +03:00
KarimAkra d9bc989b91 Fixed notch rectangle calculations for iOS (??) 2025-04-17 00:28:11 +03:00
zacksgamerzandKarimAkra 7bd6e09dcf Slightly adjust the hitbox's width for the default control scheme on mobile. 2025-04-17 00:28:11 +03:00
zacksgamerzandKarimAkra 45986f34c1 Adjust note hitbox calculations for mobile to be more wide-screen friendly. 2025-04-17 00:27:30 +03:00
Mihai AlexandruandKarimAkra 3386d62951 Video Playback Optimization. 2025-04-17 00:27:13 +03:00
zacksgamerzandKarimAkra 85330f73a1 Small readability tuning for initNoteHitbox in PlayState. 2025-04-17 00:26:46 +03:00
zacksgamerzandKarimAkra 318e73a030 Fixed a small typo in playstate. 2025-04-17 00:26:20 +03:00
zacksgamerzandKarimAkra 62acfd8365 Add TODO comment to address touch pointer positioning issue in PlayState 2025-04-17 00:25:56 +03:00
zacksgamerzandKarimAkra cbc3b6c0b5 Enhance documentation and reorganize imports for the TouchPointerPlugin class 2025-04-17 00:25:56 +03:00
zacksgamerzandKarimAkra 3e71f12871 Remove unused strength calculation in HapticUtil 2025-04-17 00:25:56 +03:00
zacksgamerzandKarimAkra 1a28e48434 Adjust hitbox dimensions for the default mobile controls scheme. 2025-04-17 00:25:56 +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
zacksgamerzandKarimAkra 195e3082df Remove gamepad rumble in HapticUtil since it got reverted in openfl & flixel. 2025-04-16 23:42:51 +03:00
KarimAkra 27adb17a38 Fixed the null object refrence in AttractState on mobile platforms 2025-04-16 23:41:55 +03:00
sector-aandKarimAkra 85f3f4b047 Bound currentIndex in Controls Scheme Menu for targets with touch support 2025-04-16 23:41:53 +03:00
sector-aandKarimAkra 16f8678d0f Bound currentEntry in Pause SubState for targets with touch support 2025-04-16 23:41:18 +03:00
sector-aandKarimAkra 64877bc999 Rename MobileControlsSchemeMenu to ControlsSchemeMenu 2025-04-16 23:41:11 +03:00
Mihai AlexandruandKarimAkra 6b2572c176 Disable logging for AdMobUtil. 2025-04-16 23:38:58 +03:00
zacksgamerzandKarimAkra 7a747993e7 Fixed issues with pixel notes' hitboxes on the default control scheme, adjusted positioning and scaled down the size even further. 2025-04-16 23:32:22 +03:00
5d2bd38f72 Attempt to implement controller rumble to HapticUtil
Co-Authored-By: Mihai Alexandru <77043862+majigsaw77@users.noreply.github.com>
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-16 23:31:49 +03:00
Mihai AlexandruandKarimAkra 1e40568ca9 Fixed minor issues in AdMobUtil 2025-04-16 23:25:13 +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 8119dcca8e Fixed a tiny mistake in TouchPointerPlugin to make it use the instance variable 2025-04-16 16:05:43 +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 46d10ede43 Comment out pointer group addition and fix variable assignments in TouchPointer 2025-04-16 16:04:38 +03:00
zacksgamerzandKarimAkra 16884ba28e Implement TouchPointerPlugin and remove old legacy TouchPointer code. 2025-04-16 16:04:22 +03:00
KarimAkra c636024f75 Fixed pausing in PlayState when fake cutouts are present. 2025-04-16 15:59:28 +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
KarimAkra c466e1aa12 Refactor positioning of FPS and memory counters for mobile 2025-04-16 15:51:27 +03:00
KarimAkra 3bdd7b20b0 Added fake cutouts functions 2025-04-16 15:49:40 +03:00
Mihai AlexandruandKarimAkra 5b4ed6e726 Use untyped on width/height setter.
Also simplified something.
2025-04-16 15:44:31 +03:00
luckydog7andKarimAkra 96ce6086e1 Implementing the maximum aspect ratio 2025-04-16 15:38:12 +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
sector-aandKarimAkra ca391c6e32 Add Sustain Note vibration 2025-04-16 15:15:15 +03:00
sector-aandKarimAkra 5ae73361b0 Move noteVibrations variable to Strumline and Add Sustain note splash vibration 2025-04-16 15:15:15 +03:00
sector-aandKarimAkra 4cee6a9d56 Make Note Vibrations stacked amplitude work as intended 2025-04-16 15:15:15 +03:00