Commit Graph
1354 Commits
Author SHA1 Message Date
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
KarimAkraandsector-a 193d293dea Added HapticUtil and some vibrations to some menus & scenes!
Added vibrations to:

* TitleState on beat hits during into
* Freeplay when a new rank is slammed to the capsule
* Some vibrations on ResultState (such as when the tally counter increases...)

Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-15 21:36:54 +03:00
9dc48978f8 Massive Touch Controls Overhaul
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>

This overhaul includes:

* Flicks on menus
* Changing options by sliding the finger over screen
* Changing options by pressing the option itself
* Touch Pointers
* And more!

Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-15 21:36:28 +03:00
KarimAkra b1b30ed09f Formatted some code for freeplay & fixed strumlines position on wide-screens 2025-04-15 21:35:19 +03:00
KarimAkra ad4b1ce51b Adjusted freeplay to work on wide-screens
fixed some backing cards and the capsule ranking position
2025-04-15 21:34:00 +03:00
KarimAkra 8a60bc26b5 Experimental full screen scale mode for mobile 2025-04-15 21:33:32 +03:00
944141292d Move part of the code from the old repository
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
Co-Authored-By: mcagabe19 <egzozu.be.bas@gmail.com>
Co-Authored-By: Mihai Alexandru <77043862+majigsaw77@users.noreply.github.com>
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
Co-Authored-By: luckydog7 <59097731+luckydog7@users.noreply.github.com>
2025-04-15 21:32:39 +03:00
Cameron TaylorandEric c394520019 small cleanups / tidying of FunkinSoundTray.hx 2025-04-10 18:43:54 -04:00
Cameron TaylorandEric 2d93baf968 properly save mute preferences by doing the save on show() in the soundtray 2025-04-10 18:43:54 -04:00
EliteMasterEricandCameron Taylor 9ff14aed42 Fix an issue where Pico's retry animation is broken on Ugh/Guns Pico Mix 2025-04-09 15:58:44 -04:00
EliteMasterEricandCameron Taylor c157338783 Fix certain characters pixel icons not displaying properly in the chart editor. 2025-04-03 16:04:07 -04:00
EliteMasterEricandCameron Taylor eb9c2c2c99 Fix Pixo's freeplay AFK animation not playing (properly this time). 2025-04-03 16:02:10 -04:00
EliteMasterEricandCameron Taylor afb4a3dd68 Remove some unused/redundant debug hotkeys. 2025-04-03 16:02:10 -04:00
Cameron Taylor 52be941b45 Auto Pause -> Pause on Unfocus (was changed before but prob bad merge somewhere reverted it?) 2025-04-02 13:55:54 -04:00
EliteMasterEricandCameron Taylor 54cd52db76 Fix an issue where story mode medals would not be awarded without a personal best. 2025-04-02 13:33:06 -04:00
Cameron Taylor 0818bd9c93 disable results screen debugger 2025-03-31 19:51:22 -04:00
EliteMasterEricandCameron Taylor e7634c90e7 Fix an animation issue with the cans in 2hot. 2025-03-31 13:28:13 -04:00
EliteMasterEricandCameron Taylor e5e3453c1f Add Stress Pico + Char Select medals, and fix medals to work on release builds 2025-03-30 21:59:17 -04:00
EliteMasterEricandCameron Taylor 0d8b04dd56 Add an option to destroy save data in the options menu. 2025-03-30 19:17:08 -04:00
Cameron TaylorandEric f7a48bcb3b refactor some FreeplayRank stuff to hold both blurred and unblurred ranking 2025-03-27 20:26:50 -04:00
Cameron TaylorandEric 36997e8b30 variations loading via fnfc fix in progress 2025-03-27 18:00:24 -04:00
AbnormalandCameron Taylor abe4ac8485 Remove the Alphabet class 2025-03-27 15:59:35 -04:00
EliteMasterEricandCameron Taylor 0bc938d0fa Implement support for Newgrounds Events 2025-03-27 15:49:09 -04:00
Cameron Taylor 6e463e0188 debug: add simple result screen debug mode 2025-03-25 14:48:31 -04:00
Cameron Taylor 319419c541 refactor: refactor some of the Page menu handling out of OptionsState 2025-03-24 19:20:25 -04:00
Cameron Taylor e8c07c9ec6 debug: added debug menu option to open ResultsState (and fixed small crash when opening ResultsScreen in this way)
part 1 of results screen debug stuff
2025-03-24 19:20:25 -04:00
LasercarandCameron Taylor e9891c4d00 Fancy preview is back!
Also now saves on window close/crash.
Also standardised the option descriptions.
2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 8fcd145d53 Option to only show the preview when a screenshot is saved
Enabled by default, the idea is that the less tech savy players won't bother changing the option to false and end up reporting that they lost screenshots after changing states
2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor c776900df0 screenshot options 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 9c2ef02368 NuN GF
Adds a none/null option for the character selector dropdown
Also fixes a few null references that happen when one or both characters are null in the playstate
2025-03-24 15:00:01 -04:00
KoloandCameron Taylor 65b9466ce3 eric's suggestion 2025-03-24 14:40:55 -04:00
KoloandCameron Taylor a5e5c1dee2 freeplay random button fix 2025-03-24 14:40:55 -04:00