Commit Graph
2690 Commits
Author SHA1 Message Date
Ralty 5ec57c5c39 i hate everything 2026-03-29 16:04:52 +07:00
Ralty a342783de4 Fix for Log.debug 2026-03-29 14:44:43 +07:00
Ralty eac0dac9b2 Add Flag DEFAULT_SOUND_TIME_SCALED_PITCH 2026-03-29 14:44:35 +07:00
Ralty d6488d37ad Merge remote-tracking branch 'origin/main' into internal-merge 2026-03-29 13:45:10 +07:00
Ralty 995a28e88a Corrected console color in Log.info 2026-03-29 13:41:56 +07:00
Ralty 6dd4058ac6 Deprecate CustomShader 2026-03-29 13:41:56 +07:00
b447031e2d Enable Mac OS Universal support, update hxvlc & actions dependencies, fix VIDEO_CUTSCENES (#931)
* Update hxvlc to 2.2.6

* Remove `arch -x86_64` as no longer needed

Since `cne-lime` got rebased with FunkinCrew's, which includes Apple Silicon (ARM64) support.

* Wtf

* Rename **Mac OS x64** to **Mac OS Universal** in the ReadME

Reason: **x64** is only powered by Intel/AMD, not ARM, so it will make the macOS users to think macOS builds still uses Intel.

* Enable videos for iOS

Since hxvlc 2.0.0 or newer, it fixed the video playback for iOS.

* Fixed the extension-androidtools import, when using extension-androidtools 2.2.X.

* Replace `start` with `wait` in `VideoCutscene.hx`

* Revert

* Nvm I think I found out why I guess

* Will this fix some actions deprecations?

* Oops

* F#CK

* I'm gonna lose it

* I forgot again

I'm going to scream into the pillow, If I keep forgetting to update those.

* Update macOS version to 26 in the macOS workflow

* Remove old hxvlc apis from the `VideoCutscene.hx` class, since hxvlc got updated to the latest

* Fix the f#cking conflicts

* Now it works

---------

Co-authored-by: Ralty <78720179+Raltyro@users.noreply.github.com>
2026-03-29 13:41:27 +07:00
270ed6b9b5 Note.noteAngle rewrite, fixes minus scrollSpeed (#857)
* fix 90% of issues with noteAngle and scrollSpeed of notes

cool  , sustains now dont look like ass when rotated and negative scroll speed doesnt mess tem up anymore

although the consequence of this is that noteAngle will go the other way around if on downscroll but i cant rlly get myself to fix that ;-;

* downscroll is done (hopefully

---------

Co-authored-by: Ralty <78720179+Raltyro@users.noreply.github.com>
2026-03-29 13:36:16 +07:00
Ralty 17bea45cd6 Redo FunkinShader once again 2026-03-29 09:06:22 +07:00
Ralty 8fc068e718 Libraries update 2026-03-29 09:06:15 +07:00
HEIHUAaandGitHub 39968efb19 (Charter) Add an ability to copy selected items by Alt-Dragging (#918) 2026-03-29 05:03:58 +07:00
HeroandGitHub 64ea9db1c1 EULER, smoothStep, inverseLerp, fract in MathUtil (#913) 2026-03-29 05:02:42 +07:00
ItsLJcoolandGitHub 5957a55b96 Add Text displaying if the user is running an Experimental Version of CodenameEngine (#933)
* cmon github actions, do something

* this will make it easier to know if a user is running an experimental version :trollface:
2026-03-29 04:18:46 +07:00
Ralty cf2c3689c5 Merge branch 'main' into internal-merge
# Conflicts:
#	building/libs.xml
#	source/openfl/utils/Assets.hx
2026-03-28 17:58:25 +07:00
Ralty 491e5df430 Temporary commit 2026-03-28 17:39:06 +07:00
ItsLJcoolandGitHub a7b040152d Fixed / Refactored SysZip to actually work, and store compressed entries without uncompressing an entire zip (#761)
* well boys I fixed it. you can now have Zipped Mods!!!!!

* comment update

* quick fixes + optimizations

* fixed stream audio bug????

* found the issue ffs

* removing traces oops

* fixed videos from not being able to play. Inspired from VideoCutscene's fix for ZIP videos, and also removed that fix in favor for just fixing the issue entirely

* oop just in case no special characters that kill themself on other shit

* Implemented preloading every video (caching) when loading a ZipFolderLibrary.

Since videos have to be decompressed and be saved as a file anyways this reduces the time to do that, and what not.

* [UNTESTED] Allowed Zip Extensions for allowing any extension in the list to be passed as a `.zip`

* After some more testing loading Zip Addons works as well.

* Added the long awaited .cnemod file type!!!!! (it's just a folder with .cnemod with a .zip inside LMAO)

* Chalking up the Streamed Audio Bug to a mod issue, and also added capabilites to detect if a library is considered compressed

* Added warning to those who try to use the editor with compressed libraries

* ok instead of making it a .cnemod, the zip name will be `cnemod.zip` or what not.

* removing unnessesary traces oops

* clean Library accessor ig then

* fixed small issues and removed an idiot idea

* writing todos and fixing some context that left the room in comments

* Fixed an issue where if you had a file of 0 bytes (nothing) in a zipped library it would FUCKING CRASH the game

* Actually fixed the issue of decompressing 0 byte files

Also stopped saving the data for Folders in Zipped files, as they are 0 bytes anyways.

* Added the features that needed to exist, and removed a stupid line I saw in `ModsFolder` lol

For some reason animation offsets for characters are breaking and I can't tell if its my drive killing itself or cne so uh

* fix an issue that will force the game to crash if first ever mod being loaded is a ZipModLibrary
2026-03-15 14:24:47 +07:00
Ralty 0d9bf82b06 Fix Windows Compiling 2026-03-04 06:11:56 +07:00
Ralty 4aaa3ba06b Modify openfl Assets in macro instead 2026-03-03 01:15:16 +07:00
Ralty 606e98c192 Merge branch 'main' into internal-merge
# Conflicts:
#	source/funkin/editors/ui/UITextBox.hx
2026-03-03 00:30:50 +07:00
Ralty d8964db5d9 Fix Shader Processing 2026-03-02 23:16:26 +07:00
Ralty 13e6b9a56f Fix UITextBox Text Input 2026-03-02 21:20:52 +07:00
sillyborjaandGitHub a951e38dbb add "onPostEvent" call (#914)
* add preventSustainClip

* add "onPostEvent" call

idk why this wasn't here before but i added it
2026-03-01 21:19:37 +07:00
TheZoroForce240andGitHub 4fe3ba76e3 Charter/Editor additions and fixes (#793)
* camera highlights again

* option to mute all hitsounds

* context menus inside context menus and wip sliders in context menu

* wip volume slider stuff

* strumline preview fix with resizable editors

* more slider stuff

* editor sfx option should now actually work for everything

* fixed strumline vocals volume, fixed note type option keybinds and moved bookmarks and note types into submenus

* fix for saving difficulty specific meta json

* some extra misc changes

fixed camera highlights not updating when zooming in/out, optimized some of the highlight draw code so it doesn't do a full loop, and added the note scale flag into the strumline preview

* fix compiling after merge
2026-03-01 21:13:33 +07:00
Ralty df386d7e68 Merge remote-tracking branch 'origin/main' into internal-merge 2026-03-01 20:21:53 +07:00
FrakitsandGitHub f44d0192af my first ever commit in 2026
Removed the noCustomClass metadata from CancellableEvent.
2026-03-01 15:21:32 +02:00
Ralty 5671b87e05 fix compiler flags, shader, music playing, etc 2026-03-01 20:21:21 +07:00
Ralty d922e6112f Compatibility with old glsl version shader issues 2026-03-01 18:23:26 +07:00
Ralty b6d3333dfb Merge remote-tracking branch 'origin/main' into internal-merge 2026-03-01 16:26:44 +07:00
viviandGitHub f8a06bf94c Improved text handling and keyboard input functionality for UITextBox (#900)
* Refactor UITextBox for improved text handling and keyboard input functionality

* use cut paste copy sounds
2026-03-01 16:25:19 +07:00
HEIHUAaandGitHub ec2a39995b optimize __notePerStrum (#901)
* Update StrumLine.hx

* Update StrumLine.hx

* Update StrumLine.hx

* Update StrumLine.hx
2026-03-01 16:25:02 +07:00
Ralty c3b1900154 Remove freeplay preview music for now 2026-03-01 14:15:02 +07:00
Ralty c20c29250d Fix every internal_merge issues 2026-03-01 14:15:02 +07:00
Ralty 143cc447c8 Remove old library modification codes 2026-03-01 14:15:02 +07:00
Ralty 221d9dba1d Fork Flixel Animate to Fix frameOffsetAngle, layer 2026-03-01 14:06:24 +07:00
BittoandGitHub 3e084397a8 that was supposed to be an flxobject ok (#908)
* mouseOverlaps

* This makes more sense yeah

thinking of not even allowing disjointed overlap checks
keeping it for now

* oops forgot to define that var as flxcamera

* h
2026-02-20 20:15:53 +01:00
BittoandGitHub 370d5ede81 Better mouse overlapping function for CoolUtil (#813)
* mouseOverlaps

* This makes more sense yeah

thinking of not even allowing disjointed overlap checks
keeping it for now

* oops forgot to define that var as flxcamera
2026-02-20 19:10:05 +01:00
axelandGitHub 6c25431c75 Fix NaN check in RadioButton options, again (#899)
Comparing to NaN (even with itself) its always false, use Math.isNaN insted
2026-02-03 21:19:12 +07:00
💜 Rodney, An Imaginative Furball 💙andGitHub 37eb193e53 Fix Character uses one 'script' instead of multiple 'scripts' (#871) 2026-02-03 12:30:08 +07:00
ItsLJcoolandGitHub 0eeef88ac7 Re-implement onDraw functionality for FunkinSprite (#897)
As FlxAnimate didn't have the functionality before, so we have to do the check in FunkinSprite ourselves, as it itself stop's calling the `super.draw();` when it is a `isAnimate`
2026-02-03 12:28:11 +07:00
47a3526178 Allow string values for radio buttons in options menu (#896)
* Allow string values for radio buttons in options menu :D

NOT sure why this wasn't already a thing.... But it's here now

* Fix NaN check

---------

Co-authored-by: Ralty <78720179+Raltyro@users.noreply.github.com>
2026-02-03 12:21:09 +07:00
4d84e65cb5 flixel-animate implementation (#893)
* added flixel-animate to libs

* I BROKE THE OFFSETS FUCK

.

* yes it does blehtty wdym??

* Removed flxanimate entirely + Fixed transition + Fixed offsets

* Deleted caches (relaunching actions)

* frameOffset for atlases (need testing)

* useRenderTexture added to xml

* Fixed atlases for mods

* a simple redirect so old mods wont break that badly (#879)

* Update FunkinSprite.hx

* remove trace

* Fixed ghosts for atlases

* usable character editor (not entirely fixed)

* fixed zoomFactor + temp fix for atlas popping

* early structure for character editor atlas anim display

* zoomFactor for atlases

* Animate Atlas character editor previews

* FlxAnimateSettings specification

* fixed animation swapping on atlas characters

* OH YEA BABY NEW FLXANIMATE UPDATE THAT MADE CODE 50X SIMPLER **AGAIN** 💖 /pos

* Added label checkbox in Character Editor

* Fixed culling issues with FlxAnimate (fr this time)

* fixed some atlases

* HOW THE FUCK

* gf sad fix + AliasMacro (for backwards comp, manual impl for now)

* Fixed pop-ins

* Update Character.hx

* applyStageMatrix

* FlxAnimate pull request merge (empty commit)

* flixel-animate** i'm clumsy asf i meant the lib not the class name fuck

* Update libs.xml

* Merge changes from main (#892)

* repair ScriptableShader.shader = null (#877)

* optimize updateInput (#878)

* optimize updateInput

* resize optimize

* __notePerStrum optimize

* Update StrumLine.hx

* NoteGroup optimize (#881)

* NoteGroup optimize

* CoolUtil.bound faster

* makes commit with github desktop W FRAKITS

* Use fastSinCos for notes (#889)

* Update Strum.hx

* Update Strum.hx

---------

Co-authored-by: HEIHUAa <112499486+HEIHUAa@users.noreply.github.com>
Co-authored-by: Frakits <90983918+Frakits@users.noreply.github.com>

---------

Co-authored-by: Kolze <53307233+KolzeYT@users.noreply.github.com>
Co-authored-by: HEIHUAa <112499486+HEIHUAa@users.noreply.github.com>
Co-authored-by: Frakits <90983918+Frakits@users.noreply.github.com>
2026-01-28 20:29:32 +01:00
HEIHUAaandGitHub f8f9d6eb4a Use fastSinCos for notes (#889)
* Update Strum.hx

* Update Strum.hx
2026-01-25 12:18:18 +01:00
HEIHUAaandGitHub 9d9640071c NoteGroup optimize (#881)
* NoteGroup optimize

* CoolUtil.bound faster
2026-01-21 07:26:55 +07:00
HEIHUAaandGitHub 8fc1493759 optimize updateInput (#878)
* optimize updateInput

* resize optimize

* __notePerStrum optimize

* Update StrumLine.hx
2026-01-20 13:16:41 +07:00
HEIHUAaandGitHub 69d82f560d repair ScriptableShader.shader = null (#877) 2026-01-20 13:16:30 +07:00
HEIHUAaandGitHub ccc509ac9f Remove unnecessary quantization on note draw 2026-01-18 18:26:37 +07:00
KolzeandGitHub ce8e91b361 change the anim ghost from first frame to last (#870) 2026-01-11 16:50:08 +01:00
FuroandGitHub 5ac7408af6 Fuckass compiler 2026-01-06 07:02:17 +01:00
FuroandGitHub 421ed4ca09 saveIfDefault for custom events 2026-01-05 18:44:27 +01:00
⍚~Nex bfe152dd8f title menu press enter sprite dumb fix
how did we forget this lmao
2026-01-05 05:09:53 +01:00