Commit Graph
463 Commits
Author SHA1 Message Date
sector-a dc000b33eb Add FEATURE_HAPTICS 2025-04-17 19:51:36 +03:00
KarimAkra b6e31e581a Fixed building errors 2025-04-17 14:51:33 +03:00
KarimAkra 5dd26101f2 Added environment config for getting android keystore & admob IDs 2025-04-17 14:22:45 +03:00
sector-aandKarimAkra ed5b7fbb31 Do not initialize NewgroundsMedalPlugin if newgrounds feature is disabled 2025-04-17 13:03:27 +03:00
MAJigsaw77andKarimAkra e838fef8e6 Update to extension-haptics and update extension-admob aswell. 2025-04-17 12:55:12 +03:00
sector-aandKarimAkra b03eef01ca Add sharpness for vibrations (iOS only) 2025-04-17 12:13:47 +03:00
sector-aandKarimAkra 3a084accc9 Force amplitude to be bigger on iOS 2025-04-17 12:06:01 +03:00
sector-aandKarimAkra 6b3fb46ae5 Forgot some few vars 2025-04-17 01:03:58 +03:00
zacksgamerzandKarimAkra 1a75c094b3 Refactored Tweening for TouchPointerPlugin, and added skipTween argument to removeAll() 2025-04-17 01:02:28 +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 a80e3df799 Add vibrateByPreset method for calling vibrations using VibrationPresets 2025-04-17 00:42:35 +03:00
zacksgamerzandKarimAkra b81ff3c136 Fixed an issue where the touch pointer would permanently persist after switching states. Re-arranged imports in TouchPointerPlugin. 2025-04-17 00:38:35 +03:00
zacksgamerzandKarimAkra ef35ba759e Added pointer fade out to each individual touch pointer. Changed the color of the touch pointer and added a "screen" blendmode. 2025-04-17 00:32:29 +03:00
zacksgamerzandKarimAkra 86d050a11f Refactor swipe threshold calculation to use SwipeUtil across multiple states. 2025-04-17 00:31:19 +03:00
KarimAkra 6a064dc7f7 Fixed an issue with the game looking off on invalid aspect ratios 2025-04-17 00:28:11 +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 195e3082df Remove gamepad rumble in HapticUtil since it got reverted in openfl & flixel. 2025-04-16 23:42:51 +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
KarimAkra 51b82a0a7c Fixed minor issues with swipes and Pointer Plugin 2025-04-16 16:07:59 +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
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
EliteMasterEricandCameron Taylor 963e2ecd63 Edit RegistryMacro to automatically populate baseGameEntryIds list. 2025-04-15 20:25:18 -04:00
lemz1andCameron Taylor 14975212a9 macro
registry macro

Merge branch 'lemz1/registry-entry-data' into lemz1/registry-macro-stufff
2025-04-15 20:25:18 -04:00
Hyper_andCameron Taylor 3ad14bac32 fix: Double check if events are the same when doing indexOf
This is basically copy-pasted from SongNoteDataArrayTools lol
2025-04-15 19:47:39 -04: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 Taylor 0d5b7d4ed4 also conditional for WindowUtils.setVSyncMode() for mac 2025-04-14 23:27:34 -04:00
kade-githubandCameron Taylor 3944816021 Error handling from wiki 2025-04-14 21:42:24 -04:00
kade-githubandCameron Taylor db00feff93 Vsync does work now 2025-04-14 21:42:24 -04:00
EliteMasterEricandCameron Taylor 1ee8246b48 Added a preference to enable VSync. 2025-04-14 21:40:58 -04:00
EliteMasterEricandCameron Taylor 01bf3bee11 Dropping hold notes should no longer cost health by default. 2025-04-14 19:32:55 -04:00
EliteMasterEricandCameron Taylor b00589367c Make hold drop penalty threshold match the hit window. 2025-04-14 19:32:55 -04:00
EliteMasterEricandCameron Taylor 577421a782 Scoring rework: Penalize the player (deducting health and score) for dropping a hold note before it's finished. 2025-04-14 19:32:54 -04:00
EliteMasterEricandCameron Taylor 72e9fb641e Scoring rework: Reduce health given by hold notes by 20%. 2025-04-14 19:32:16 -04:00
EliteMasterEricandCameron Taylor 550bf95c76 Split miss penalty and ghost miss penalty into two variables (but make them equal for now). 2025-04-14 19:32:16 -04:00