Commit Graph
375 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
KarimAkra ea9938a318 rename DISABLE_ADMOB_ADS to FEATURE_ADMOB_ADS 2025-04-16 15:06:07 +03:00
sector-aandKarimAkra f970ea6acf Move TouchUtil and SwipeUtil to funkin.util 2025-04-16 15:00:02 +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
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
7b1abe437f Add proper configuration for AdMob ads
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
Co-Authored-By: Lily <egzozu.be.bas@gmail.com>
2025-04-15 21:37:00 +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
7babcfaf6b Implement extension-admob for mobile ads
forgor that

videos and fixed banner size

make this a define

keep thes demo units when using TESTING_ADS only

always enable it on debug builds (?)

Update AdMobUtil.hx

admob features

Update PlayState.hx

Update AdMobUtil.hx

Update AdMobUtil.hx

Show privacy options form if required.

Update Main.hx

Update Main.hx

Update PlayState.hx

Update AdMobUtil.hx

Update AdMobUtil.hx

Update AdMobUtil.hx

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-15 21:36:05 +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
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 36997e8b30 variations loading via fnfc fix in progress 2025-03-27 18:00:24 -04:00
EliteMasterEricandCameron Taylor 0bc938d0fa Implement support for Newgrounds Events 2025-03-27 15:49:09 -04:00
EliteMasterEricandCameron Taylor 96e29b7921 Tweaks to medals and leaderboards (split Erect/character remixes, fix test medals not working etc) 2025-03-27 15:48:53 -04:00
Cameron Taylor fa5a80df08 screenshot plugin fix for high dpi / larger window sizes 2025-03-24 17:42:35 -04:00
LasercarandCameron Taylor e51b6147b5 unused code removed and comment cleanup 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 2a9712466e Fixed cursor & preview not being reset for state changes 2025-03-24 17:32:49 -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 5c47ed4a8c Set screenshotBeingSpammed to false after state change
Because the timer has been killed
2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 6e4e7008f2 another whoops 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 79e31636e2 Save unsaved screenshots in buffer before state change 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 e30e6ee4ed comment cleanup 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor bab920dc82 comment typo 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor ab2dd75986 now it's actually asynchronous
Though with the caveat of unsaved screenshots not being saved after state change
2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor a8440062b8 fixed duplicate screenshot handling code 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 824cf7cf1b frame delayed screenshots + timer'd screenshot save 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 65786d8f1c small fix 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor bcd29b5d67 idk 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 95847440b5 didn't reverse my test of the JPEG encoder 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor c776900df0 screenshot options 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor fc9b395138 forgot to uncomment the bit making the async loop null 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 7b54292bf7 another whoops 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 4ef0c18212 idk 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 8e4f9fe66b forgot a thing 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 92b24b91e7 asynchronous screenshot buffer saving 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 0db0d88256 Show a preview of last image in the image buffer 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 535ff2211a Popup no longer shows up in screenshots 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor f7329e0687 Improved? screenshotting 2025-03-24 17:32:49 -04:00
LasercarandCameron Taylor 868932cd13 screenshot preview in screenshot fix 2025-03-24 17:32:49 -04:00
Cameron Taylor 6b9e6c9ebc holdnotecover implementation stuff 2025-03-11 23:17:29 -04:00
Cameron Taylor 0a911ae607 remove a buncho unused imports 2025-02-17 19:25:33 -05:00
fabs db39b19e79 resolved merge conflicts with ReflectUtil 2025-01-27 22:36:43 +00:00
fabs a6388962dd Merge branch 'public-develop' into rewrite/master 2025-01-27 22:31:38 +00:00
EliteMasterEric 5e939bd769 Fix more build issues. 2025-01-23 19:19:05 -05:00
EliteMasterEric 0b309403e0 Fix compile error 2025-01-23 18:22:58 -05:00
EliteMasterEric c232224f04 Added more functions to ReflectUtil, and made it so importing Reflect imports it instead of throwing an error. 2025-01-23 18:16:30 -05:00
AbnormalandGitHub 62166554e7 Add 6 more functions to ReflectUtil (#4019) 2025-01-23 17:21:46 -05:00