Hyper_
88ed66affa
chore: Add null safety to various utility and plugin classes
...
And add a bit of error handling to CharSelectGF & CharSelectSubState
Co-Authored-By: Linus Torvalds <torvalds@linux-foundation.org>
2025-06-23 14:13:35 -04:00
Hundrec
3eace5a7c8
Adjust GCD MathUtil comments
2025-06-17 12:32:11 +08:00
Cameron Taylor
380f9e70d5
document the GCD function in MathUtil
2025-06-16 19:50:28 -04:00
EliteMasterEric
d8a6abc48d
Rename the variable to CENSOR_EXPLETIVES
2025-06-13 21:17:09 -04:00
EliteMasterEric
2cf29a67d9
Added a separate variable specifically for mobile censorship.
2025-06-13 21:16:42 -04:00
Kolo
0dbffa6875
even more fixes and missing features
2025-06-12 00:47:24 -06:00
Kade
a2c5758112
Merge branch 'master' into bugfix/html5-reflectutil-nullsafety
2025-06-11 17:36:11 -07:00
EliteMasterEric
01fd37e08b
Remove the redundant TimerUtil class.
2025-06-11 17:35:01 -07:00
Lasercar
5eecef17a1
Try push unique the difficulties for the notes
2025-06-11 17:32:44 -07:00
Lasercar
9df5395ff8
Load meta/chartdata fix
...
Deletes the song serialiser class, it has no use anymore
Also fixes the BPM changes
Note style is properly set when metadata toolbox is refreshed
Add variation dialog now fills note style dropdown with note styles and sets it properly afterwards
Also makes a few optimisations for the chart editor
2025-06-11 17:32:44 -07:00
Hundrec
8cae34eed7
[PUBLIC PR] Hyper's Stacked Notes Viewer ( #1165 )
...
Co-authored-by: Hundrec <hundrecard@gmail.com>
Co-authored-by: Hyper_ <survivaltemer@gmail.com>
Co-authored-by: lemz1 <ismael.amjad07@gmail.com>
Co-authored-by: Hyper_ <40342021+NotHyper-474@users.noreply.github.com>
Co-authored-by: Kade <26305836+Kade-github@users.noreply.github.com>
2025-06-11 16:24:30 -07:00
EliteMasterEric
ea81e061d2
Fix null safety issues specific to HTML5
2025-06-11 05:08:37 -04:00
Hyper_
65ed58350b
Fix implementation of fastIndexOf causing duplicate notes in displayedNoteData
2025-06-08 23:59:33 -04: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
MAJigsaw77
21616e9399
Combine both ad counters into GLOBAL_PLAYING_COUNTER
.
2025-06-07 17:26:38 +03:00
sector-a
d72d93083f
Merge branch 'rewrite/master' into mob-96/week3-train-haptics
2025-06-06 14:29:58 +03:00
sector-a
fabc16d265
Add haptics preference
2025-06-06 04:10:25 +07:00
Cameron Taylor
1d88ec473e
Merge pull request #1114 from FunkinCrew/nothyper/tracy-framemark
...
[PUBLIC PR] Remove unnecessary Tracy frame mark
2025-06-05 02:25:38 -04:00
sector-a
e9697e6f40
Make sharpness changeable
2025-06-05 01:34:09 +03:00
EliteMasterEric
0e26f9d936
Implement in-app reviews
2025-06-03 20:00:34 -04:00
EliteMasterEric
52dfee61fa
Fix null safety on ReflectUtil
2025-06-01 18:42:19 -04:00
EliteMasterEric
83e1e1f68f
Full documentation and null safety for ReflectUtil, and add FIELD_NAME_BLACKLIST to prevent abuse.
2025-06-01 18:02:42 -04:00
Hyper_
d3490f8c99
Fix possible crash when trying to open nonexistent folders
2025-05-30 19:49:33 -07:00
Eric
93e4f799f4
Remove JPEG ( #1065 )
...
Co-authored-by: Lasercar <64717068+Lasercar@users.noreply.github.com>
2025-05-30 19:46:34 -07:00
EliteMasterEric
fc83685b0f
Remove a bunch of deprecation warnings
2025-05-28 16:33:10 -07:00
Hyper_
83216e171c
Remove unnecessary Tracy frame mark
...
This is already done by OpenFL
2025-05-26 17:46:36 -03:00
MAJigsaw77
14e8e1f42f
Update extension-androidtools
.
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
Eric
44c32cb0fc
More public 0.6.4 fixes ( #1016 )
...
Co-authored-by: Hyper_ <40342021+NotHyper-474@users.noreply.github.com>
Co-authored-by: Lasercar <64717068+Lasercar@users.noreply.github.com>
Co-authored-by: Lasercar <B_l_u_t_a_c_k@hotmail.com.au>
Co-authored-by: anysad <anysadiscool@gmail.com>
Co-authored-by: Hundrec <hundrecard@gmail.com>
Co-authored-by: VioletSnowLeopard <ngzeretzke@gmail.com>
Co-authored-by: unknown <47027981+ACrazyTown@users.noreply.github.com>
Co-authored-by: kade-github <26305836+Kade-github@users.noreply.github.com>
Co-authored-by: Abnormal <86753001+AbnormalPoof@users.noreply.github.com>
Co-authored-by: CrusherNotDrip <90648119+CrusherNotDrip@users.noreply.github.com>
Co-authored-by: cyn0x8 <cyn0x8+git@gmail.com>
2025-05-08 10:28:39 -07:00
sector-a
27b1cd32b7
fix wrong class path
2025-05-06 18:08:26 -04:00
KarimAkra
fffea09270
Chore: rename Desktop
with Native
in places where the stuff apply for both Mobile & Desktop
2025-05-06 18:08:26 -04:00
KarimAkra
b84b531a2c
Fixed VSync getting automatically enabled on focus lost/gained in Mobile
2025-05-06 18:08:26 -04:00
sector-a
353f1780d1
Added nullSafety back in MusicBeat(Sub)State and fixed the errors
2025-05-06 18:08:26 -04:00
Cameron Taylor
bdb8857d5c
tidy(preloader): remove unused site lock things, unplanned feature
2025-05-05 23:05:47 -07:00
cyn0x8
6f43438cdb
hopefully fix #4814
2025-05-02 16:41:03 -05:00
cyn0x8
a74369c77e
fixes + stronger sandboxing
2025-05-02 16:40:50 -05:00
Eric
189e028442
Merge pull request #4931 from ACrazyTown/fix/crash-log-memory-overflow
...
Fix memory overflow in crash log (Redo)
2025-05-02 14:30:03 -04:00
EliteMasterEric
8de74c361c
Additional cleanup
2025-05-01 19:55:44 -04:00
unknown
c67085a46a
Fix memory overflow in crash log
2025-04-30 23:41:14 +02:00
EliteMasterEric
0253df7269
Feature flag cleanup
2025-04-30 00:31:31 -04:00
Lasercar
afbb335993
Destroy the volume plugin
2025-04-29 20:23:52 +10:00
EliteMasterEric
7e62782fa1
Merge branch 'rewrite/master' into funkin-mobile/main
2025-04-28 13:49:40 -04:00
EliteMasterEric
adefa902e7
Fix several issues preventing builds on HTML5
2025-04-25 12:14:28 -07:00
nebulazorua
53dec057be
vuln patch part 1
...
so now you cant open files as easily i think
oops
2025-04-22 19:14:15 -04:00
Kade
fe7bf3dd55
Merge pull request #994 from FunkinCrew/cyn0x8/fileutil-sandbox
...
[PUBLIC PR] Sandboxing for FileUtil (prevent deleting important game files etc)
2025-04-22 19:00:24 -04:00
cyn0x8
95ade2a08b
FileUtil overhaul + sandboxing
2025-04-22 19:00:24 -04:00
KarimAkra
3d52aab7a3
Use correct path for the .env
file for iOS
2025-04-19 12:26:39 +03:00
MoonDroid
804984b8c1
Add conditional path for DATA_FILE_BASE_PATH
for iOS.
2025-04-19 16:08:30 +07:00
EliteMasterEric
93d4f30cad
Make ScreenshotPlugin null-safe.
2025-04-18 19:40:39 -04:00
KarimAkra
e78d3ecf8f
remove VSync option from mobile
2025-04-18 14:47:56 +03:00
KarimAkra
a7ef5580a4
Merge branch 'rewrite/master' of github.com:FunkinCrew/Funkin-secret into funkin-mobile/main
2025-04-18 14:41:20 +03:00
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-a
ed5b7fbb31
Do not initialize NewgroundsMedalPlugin if newgrounds feature is disabled
2025-04-17 13:03:27 +03:00
MAJigsaw77
e838fef8e6
Update to extension-haptics
and update extension-admob
aswell.
2025-04-17 12:55:12 +03:00
sector-a
b03eef01ca
Add sharpness for vibrations (iOS only)
2025-04-17 12:13:47 +03:00
sector-a
3a084accc9
Force amplitude to be bigger on iOS
2025-04-17 12:06:01 +03:00
sector-a
6b3fb46ae5
Forgot some few vars
2025-04-17 01:03:58 +03:00
zacksgamerz
1a75c094b3
Refactored Tweening for TouchPointerPlugin, and added skipTween argument to removeAll()
2025-04-17 01:02:28 +03:00
Mihai Alexandru
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-a
a80e3df799
Add vibrateByPreset method for calling vibrations using VibrationPresets
2025-04-17 00:42:35 +03:00
zacksgamerz
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
zacksgamerz
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
zacksgamerz
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
zacksgamerz
cbc3b6c0b5
Enhance documentation and reorganize imports for the TouchPointerPlugin class
2025-04-17 00:25:56 +03:00
zacksgamerz
3e71f12871
Remove unused strength calculation in HapticUtil
2025-04-17 00:25:56 +03:00
zacksgamerz
195e3082df
Remove gamepad rumble in HapticUtil since it got reverted in openfl & flixel.
2025-04-16 23:42:51 +03:00
Mihai Alexandru
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
zacksgamerz
6f9b8f0284
Add TouchPointerPlugin integration and update pointer group initialization
2025-04-16 16:04:58 +03:00
zacksgamerz
46d10ede43
Comment out pointer group addition and fix variable assignments in TouchPointer
2025-04-16 16:04:38 +03:00
zacksgamerz
16884ba28e
Implement TouchPointerPlugin and remove old legacy TouchPointer code.
2025-04-16 16:04:22 +03:00
sector-a
0e256021b1
Made note vibrations weaker, removed HAPTIC_VIBRATIONS define, moved vibration option from mobileOptions to options
2025-04-16 15:29:26 +03:00
zacksgamerz
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-a
f970ea6acf
Move TouchUtil and SwipeUtil to funkin.util
2025-04-16 15:00:02 +03:00
EliteMasterEric
963e2ecd63
Edit RegistryMacro to automatically populate baseGameEntryIds list.
2025-04-15 20:25:18 -04:00
lemz1
14975212a9
macro
...
registry macro
Merge branch 'lemz1/registry-entry-data' into lemz1/registry-macro-stufff
2025-04-15 20:25:18 -04:00
Hyper_
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
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
KarimAkra
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
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
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
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
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-github
3944816021
Error handling from wiki
2025-04-14 21:42:24 -04:00
kade-github
db00feff93
Vsync does work now
2025-04-14 21:42:24 -04:00
EliteMasterEric
1ee8246b48
Added a preference to enable VSync.
2025-04-14 21:40:58 -04:00
EliteMasterEric
01bf3bee11
Dropping hold notes should no longer cost health by default.
2025-04-14 19:32:55 -04:00
EliteMasterEric
b00589367c
Make hold drop penalty threshold match the hit window.
2025-04-14 19:32:55 -04:00
EliteMasterEric
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
EliteMasterEric
72e9fb641e
Scoring rework: Reduce health given by hold notes by 20%.
2025-04-14 19:32:16 -04:00