Commit Graph
3452 Commits
Author SHA1 Message Date
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
KarimAkra c3ed2019b5 Change System.allowScreenTimeout on state/substate destroy instead of close 2025-04-16 15:10:46 +03:00
KarimAkra 6b090542f1 added some args that are missing from the FunkinHitbox hitbox constructor 2025-04-16 15:06:20 +03:00
KarimAkra ea9938a318 rename DISABLE_ADMOB_ADS to FEATURE_ADMOB_ADS 2025-04-16 15:06:07 +03:00
zacksgamerzandKarimAkra f17b9d234c Scale down the strumline size visually but increase the hitbox to be bigger for the default control scheme. Added double note overlap. 2025-04-16 15:03:07 +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