1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-09-09 07:18:33 +00:00
Commit graph

156 commits

Author SHA1 Message Date
fabs e457b3e03b add instant option for back button 2025-06-09 21:19:36 +01:00
Mihai Alexandru eec304f42f
mobile: add RESTORE PURCHASES button on the options menu. 2025-06-09 05:41:16 +07:00
MoonDroid a103b9641f
Merge pull request #1154 from FunkinCrew/bugfix/admob-running-no-any-state 2025-06-08 20:33:39 +07:00
MAJigsaw77 9e58ef70fb Adjutements to how playing counter work aswell as playing an ad in the pause menu before restarting the song. 2025-06-08 16:29:33 +03:00
fabs 57ebeb25e4 i feel like this makes more sense 2025-06-08 04:06:30 +01:00
fabs 7fd1d312d7 rename FunkinBackspace + back button rework 2025-06-08 04:05:52 +01:00
MAJigsaw77 537c7cb5a1 Add a callback when the ad finishes showing. 2025-06-07 15:34:57 +03:00
Karim Akra 28363652ef
Added outline for circle hints 2025-06-06 12:57:50 +07:00
MoonDroid ff7b7b5d3e
Increase verticle hitbox for the default control scheme (#1103) 2025-06-04 22:24:17 +03:00
MoonDroid 113326089a
Merge pull request #1096 from FunkinCrew/feature/in-app-review 2025-06-05 00:05:31 +07:00
Karim Akra ed0abb8215
Use proper insets for IOS notch rectangle 2025-06-04 23:54:56 +07:00
KarimAkra e79d4e69c2 Properly add IOS support for IAR 2025-06-04 17:57:48 +03:00
EliteMasterEric 0e26f9d936 Implement in-app reviews 2025-06-03 20:00:34 -04:00
Mihai Alexandru 835b79e3de
chore: use trace instead of using Sys.println on mobile utils. (#1088) 2025-06-03 03:59:13 +07:00
Mihai Alexandru e9c411f770
[BUGFIX] Fix Android compile with Admob and add openAdInspector function. (#1070) 2025-06-02 07:10:33 +07:00
MoonDroid 8f216ada02 Fix build error for admob on Android 2025-06-02 06:53:16 +07:00
MoonDroid 25e04cf061 Fix private access errors and remove iOS compiler block 2025-05-28 16:24:57 -07:00
MAJigsaw77 8965bb059e fix: ensure admob doesnt stop the audio session on iOS. 2025-05-28 16:24:57 -07:00
Cameron Taylor 94f1720870 accomodate notch positioning for different orientations 2025-05-12 14:13:20 -04:00
Cameron Taylor 4f3f43d6e7 tidy(iOS): rename some variables in ScreenUtil.hx 2025-05-12 14:13:20 -04:00
Cameron Taylor 6689ae9e9d fix(iOS): fix the notch size math on iOS 2025-05-12 14:13:20 -04:00
MAJigsaw77 d104e3381b Update extension-iapcore. 2025-05-10 10:19:53 -07:00
MAJigsaw77 14e8e1f42f Update extension-androidtools. 2025-05-10 10:19:53 -07:00
MAJigsaw77 24e535c90a Update extension-admob. 2025-05-10 10:19:53 -07:00
sector-a c8a86d3df8 Add the pressAction method in TouchUtil and use it everywhere it's useful 2025-05-09 12:54:45 -04:00
MAJigsaw77 83d198493c Implement IAP on iOS.
Co-Authored-By: MoonDroid <zdgzackda@gmail.com>
2025-05-06 18:08:26 -04:00
KarimAkra d3705042cf Use NO_TESTING_ADS instead of !TESTING_ADS 2025-05-06 18:08:26 -04:00
KarimAkra f9b0acb998 these aren't needed actually 2025-05-06 18:08:26 -04:00
KarimAkra b536619773 silly me! 2025-05-06 18:08:26 -04:00
KarimAkra f6569907c8 delete this old unused scrapped hag 2025-05-06 18:08:26 -04:00
KarimAkra a34cbaf87f Made FunkinBackspace automatically take android's back button as a back action
so now on Android you can use the phone's back button instead of always having to press the button in game!
2025-05-06 18:08:26 -04:00
KarimAkra ec5a736be6 move the DPad control scheme by the notch & give it tweens 2025-05-06 18:08:26 -04:00
EliteMasterEric 8de74c361c Additional cleanup 2025-05-01 19:55:44 -04:00
MoonDroid 9216fff9b0 Move InAppPurchasesUtil and AdMobUtil to funkin/api/mobile 2025-05-01 23:24:51 +07:00
EliteMasterEric 0253df7269 Feature flag cleanup 2025-04-30 00:31:31 -04:00
MAJigsaw77 647b69bb0c Use gradients on labels. 2025-04-20 10:42:31 +03:00
MAJigsaw77 3cc189869b Some formatting on InAppPurchasesUtil. 2025-04-20 10:39:47 +03:00
MAJigsaw77 cc7def5178 Somewhat finished the IAP implementation. 2025-04-20 00:39:14 +03:00
MoonDroid 63ec721aa1 Fix notch calculation for iOS. 2025-04-19 16:06:57 +07:00
MAJigsaw77 b755ed8d98 Implement extension-iapcore and testing for it. 2025-04-18 18:28:09 +03:00
sector-a e359dad1e8 Remove option item for HitboxShowcase 2025-04-17 21:07:44 +03:00
sector-a 1c11a7003f Fix controls scheme menu 2025-04-17 20:23:13 +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
KarimAkra ede705987c Possibly fixed notch calculation for iOS 2025-04-17 13:08:27 +03:00
sector-a 4976a099af Fix FunkinHitbox 2025-04-17 13:03:27 +03:00
MAJigsaw77 809f4107ab Fix hitbox's hint's label tweening. 2025-04-17 12:55:43 +03:00
MAJigsaw77 e838fef8e6 Update to extension-haptics and update extension-admob aswell. 2025-04-17 12:55:12 +03:00
MAJigsaw77 bed90dc230 Add InAppPurchasesUtil. 2025-04-17 12:50:25 +03:00
MAJigsaw77 5d26f8b433 Move the banner to top-left and fix some offsets inside the pause menu. 2025-04-17 12:46:10 +03:00
MoonDroid 6d6441de6f Tweak hitbox values for the default control scheme on mobile. 2025-04-17 12:43:15 +03:00
Mihai Alexandru b1986fb9c5 Fix boundingBoxColor nullSafety. 2025-04-17 12:36:28 +03:00
KarimAkra bef3815901 Fixed freeplay highlight and selection 2025-04-17 12:34:17 +03:00
zacksgamerz 7119d6a476 Tune the size of the hitboxes, strums, and incoming notes to be slighlty bigger. 2025-04-17 12:24:45 +03:00
MAJigsaw77 c7906edc1e Some things
* Fixed some other checkstyle issues.
* The controls schemes options menu now shows the hitboxes without a gradient to look better.
* Attempted to rewrite the tweeing system on the FunkinHint, needs more looking.
2025-04-17 12:22:56 +03:00
MAJigsaw77 34f97e3e3e One lined tweens for the bg. 2025-04-17 12:22:56 +03:00
Mihai Alexandru e0fcd655e7 Change the pointers for iOS at ScreenUtil 2025-04-17 12:22:32 +03:00
MAJigsaw77 b1089958c7 Tween the bg color to gray when entering demo mode. 2025-04-17 12:20:40 +03:00
MAJigsaw77 ea2b63b1bb Updated some stuff
* Fixed some check-style warnings
* Merged polygon button and normal button together
* Updated `funkin.haptic` ref.
* Simplified `getNotchRect` for `iOS`.
2025-04-17 12:19:24 +03:00
MAJigsaw77 7fb5d8c65c Fixed a checkstyle issue with admob util. 2025-04-17 12:15:10 +03:00
MAJigsaw77 86f8cb76f2 Simplified some logic in the admob util. 2025-04-17 12:14:55 +03:00
sector-a 2f6e6ef7cd Bound hitbox showcases x axis on dragging 2025-04-17 12:07:03 +03:00
KarimAkra 75e0992509 Fixed notch rect on ios platforms (??) 2025-04-17 12:06:50 +03:00
sector-a 52929de50a Rework hitbox items scrolling in scheme menu 2025-04-17 00:40:30 +03:00
KarimAkra 616004d7f6 move FullScreenScaleMode from flixel.system.scaleModes to funkin.ui 2025-04-17 00:29:45 +03:00
KarimAkra d9bc989b91 Fixed notch rectangle calculations for iOS (??) 2025-04-17 00:28:11 +03:00
zacksgamerz 7bd6e09dcf Slightly adjust the hitbox's width for the default control scheme on mobile. 2025-04-17 00:28:11 +03:00
zacksgamerz 1a28e48434 Adjust hitbox dimensions for the default mobile controls scheme. 2025-04-17 00:25:56 +03:00
sector-a 85f3f4b047 Bound currentIndex in Controls Scheme Menu for targets with touch support 2025-04-16 23:41:53 +03:00
sector-a 64877bc999 Rename MobileControlsSchemeMenu to ControlsSchemeMenu 2025-04-16 23:41:11 +03:00
Mihai Alexandru 6b2572c176 Disable logging for AdMobUtil. 2025-04-16 23:38:58 +03:00
zacksgamerz 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
Mihai Alexandru 1e40568ca9 Fixed minor issues in AdMobUtil 2025-04-16 23:25:13 +03:00
zacksgamerz 16884ba28e Implement TouchPointerPlugin and remove old legacy TouchPointer code. 2025-04-16 16:04:22 +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
zacksgamerz 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
sector-a f970ea6acf Move TouchUtil and SwipeUtil to funkin.util 2025-04-16 15:00:02 +03:00
sector-a 2d8a493897 Add directionsOverride and colorsOverride to FunkinHitbox 2025-04-16 14:57:33 +03:00
sector-a 5d70cdbeb2 scheme menu fixes for widescreen 2025-04-16 14:37:10 +03:00
KarimAkra 3e75701c1c Adjust Arrows control scheme notes sizes for easier reading & pressing
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-16 14:35:28 +03:00
KarimAkra 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
sector-a 3f7ae02d54 Scheme menu and its components code refactor 2025-04-16 13:05:35 +03:00
KarimAkra 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
sector-a bee846ec8c Rename NoteDPad controls scheme to Arrows
my bad
2025-04-16 00:09:46 +03:00
KarimAkra 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
KarimAkra 2a6720da2e Added a new "Note DPad" control scheme
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
Co-Authored-By: luckydog7 <59097731+luckydog7@users.noreply.github.com>
2025-04-15 22:54:00 +03:00
KarimAkra 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
KarimAkra 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
KarimAkra 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
KarimAkra 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
sector-a c99778266b Scheme Menu is basically done! 2025-04-15 21:36:43 +03:00
KarimAkra 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 f6a261e5bd Adjusted back button position on Scheme Menu
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-15 21:36:19 +03:00
KarimAkra a707472270 Got a functional Scheme Menu for mobile
Co-Authored-By: sector-a <82838084+sector-a@users.noreply.github.com>
2025-04-15 21:36:12 +03:00
KarimAkra 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 1b2f75395f Added a missing import in FunkinButton
Co-Authored-By: MoonDroid <81515012+moondroidcoder@users.noreply.github.com>
2025-04-15 21:35:57 +03:00
sector-a 8704666edb some back button fixes! 2025-04-15 21:35:48 +03:00
KarimAkra 66683c11a0 Fixed a bug with circle buttons overlap check (last time I swear)
that's better ig
2025-04-15 21:35:41 +03:00