925 Commits
Author SHA1 Message Date
gabry a93a74aede make it compile on html5
Windows Builds / Windows Build (push) Has been cancelled
Windows Builds / Windows Debug Build (push) Has been cancelled
Mac OS Builds / Mac OS Build (push) Has been cancelled
Mac OS Builds / Mac OS Debug Build (push) Has been cancelled
Linux Builds / Linux Build (push) Has been cancelled
Linux Builds / Linux Debug Build (push) Has been cancelled
2026-07-19 15:58:56 +02:00
HEIHUAaandGitHub d113fc40cb BloomEffect (#894)
* Create BloomEffect.hx

* Make the shader compatible with more devices.

* Default

* Update BloomEffect.hx

* no __applyFilter

* Update BloomEffect.hx

* Update BloomEffect.hx

* Performance improvement: 1.35x.

* quality

* Implemented low-resolution bloom, achieving a 10x performance boost!!!

* 1

* useLowQualityExtract

* brightness

* 更新 BloomEffect.hx

* blendMode

Fixed memory growth
Added blendMode

* 更新 BloomEffect.hx

* Wrap-up

* 更新 BloomEffect.hx

* 更新 BloomEffect.hx

* 更新 BloomEffect.hx

* no...

* Fix color banding issue in high brightness areas.

* 更新 BloomEffect.hx

* Fix frequent GC (Garbage Collection) issues.

* smoothness

* noCustomClass
2026-07-01 14:02:45 +07:00
sillyborjaandGitHub 45a2f28cf6 read description (#1016)
* read description

- rename tween to playTween
- use the recycle function for positioning in displayRatingNumbers
- add "tween" variable (which is an FlxTween instance, not to be confused with playTween)
- fix returns

* i think this will be confusing but ok

* Revert "i think this will be confusing but ok"

This reverts commit 5a8c834220.
2026-06-28 11:59:38 +07:00
CircuitellaandGitHub 45d47677ac Add a flag related to Icon Movement on the Healthbar (#1005)
* add flag

* Make The Flag be used in PlayState
2026-06-28 09:32:23 +07:00
pharaotisRealandGitHub a485080c27 Ratings event addition to the engine (#1015)
* Update PlayState.hx

Implemented RatingsShowEvent

* Add files via upload

* Update pixel.hx

Update because of ratings commits

* Update PlayState.hx

put the flxpoints after they're used, forgot to use event.tweenDuration in displayRatingNumbers

* Update PlayState.hx

oops

* Update PlayState.hx

I'm so not careful

* Update PlayState.hx

Commited NoteHitEvent checks for all display rating functions

* Update PlayState.hx

oops 2

* Update NoteHitEvent.hx

made the rating vars null class

* Update PlayState.hx

juust in case

* Update PlayState.hx

oops 3

* Update RatingsShowEvent.hx

Implemented a rating var which allows you to change the rating sprite.

* Update PlayState.hx

Implemented a rating var (In RatingsShowEvent) which allows you to change the rating sprite.

* Update PlayState.hx

now it should support displayRating/Combo being set from note hit event

* Update PlayState.hx

fixed a possibility where if the display bool was set to false or the event was cancelled, then it would still display the sprite as a haxeflixel logo
2026-06-28 09:31:59 +07:00
HeroandGitHub cb4ecc521f ZoomFactor in FunkinText, Early Implementation (#1011) 2026-06-20 21:59:22 +07:00
SrtHero278 0e269ddfc7 addressing https://github.com/CodenameCrew/CodenameEngine/issues/1004 2026-06-13 16:43:56 -07:00
ADA_FunniandGitHub 8f0583958d Change the default value of "Multiplicative?" in the "Camera Zoom" event to be false. (#974) 2026-05-03 10:28:50 +07:00
Ralty 3fa3fbda14 Fix CoolUtil.playMenuSong volume 2026-04-07 10:41:34 +07:00
rufiusandGitHub e458e868a4 Add ability to set custom default alternate animation suffix (#882)
The alt. animation toggle event currently does not support setting the
suffix directly,
but that's outside of the scope of adding this feature at the moment.
2026-04-04 13:32:24 +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
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
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
FrakitsandGitHub f44d0192af my first ever commit in 2026
Removed the noCustomClass metadata from CancellableEvent.
2026-03-01 15:21:32 +02: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
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
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 69d82f560d repair ScriptableShader.shader = null (#877) 2026-01-20 13:16:30 +07: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
sillyborjaandGitHub e6f1fed96e add preventSustainClip (#856) 2025-12-19 08:16:59 +07:00
HEIHUAaandGitHub abf77f72f2 Fix UTF-8 Characters in CLI Logs 2025-12-16 17:00:12 +07:00
4a99e7eda7 Input Improvements & Fixes (#837)
* Input

* Health

* optimize

* Update StrumLine.hx

* Update StrumLine.hx

* Delete directly?

* Update StrumLine.hx

* optimize

* Update StrumLine.hx

* Options.sustainsAsOneNote

* languages

* Update Options.xml

* Update PlayState.hx

* Flags

* Automatically set SUSTAINS_AS_ONE_NOTE

---------

Co-authored-by: Ralty <78720179+Raltyro@users.noreply.github.com>
2025-12-15 22:18:47 +07:00
HEIHUAaandGitHub 7dcbbc3c64 Update PsychParser.hx (#841) 2025-11-30 12:47:58 +07:00
richandGitHub 9bd9490c49 dont desable persistent sounds (#840) 2025-11-30 06:07:21 +07:00
Ralty 1b403b2ab2 oh, theres ThreadUtil 2025-11-29 11:24:39 +07:00
Ralty 162f1add75 Fix possible crashes on Threading 2025-11-27 19:14:00 +07:00
Ralty a24de64707 Fix Zoom Factor & zoomMultiplier not affecting it 2025-11-26 20:04:12 +07:00
Ralty 846f2deedb some fixes 2025-11-22 12:57:24 +07:00
HEIHUAaandGitHub a8808be29e Fix FramerateCounter and VRAM Counter (#820)
* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Update FramerateCounter.hx

* Optimize memory label update in MemoryCounter

* Optimize frame update logic in AssetTreeInfo and MemoryCounter

* Fixed VRAM display showing -2147483648B

* Update SystemInfo.hx

* VRAM: 6MB?
2025-11-20 06:46:04 +07:00
JurtaandGitHub cdb751e6e1 Fix events file not being removed when all global events are deleted (#826). Friday Night Funkin' 2025-11-19 07:00:12 +07:00
Ralty 7fc047615f Fix Legacy Rating/Timing Handler 2025-11-18 11:25:07 +07:00
Ralty 31a01bea97 legacyJudge should use MOD_API_VERSION instead 2025-11-18 07:48:37 +07:00
syrupandGitHub 5b2a86aace Input System Rewrite (#810)
* the freaking rewrite bro!

* backwards compatibility

* listened to some feedback

* legacyJudge now determines on the API number

* listened to feedback (again)
2025-11-17 15:49:53 +07:00
MooshieandGitHub 36640c1a43 Add variation to Week.hx so it works in storymode (#783) 2025-11-16 17:46:27 +07:00
richandGitHub 3720bc149c add onCloseSubState for MusicBeatSubState (#817) 2025-11-16 17:15:05 +07:00
Ralty 5d8a9c71a2 Update Audio Backend from Vs Camellia v2.75.1 (info at desc)
Before anyone asks why vs cam, the code is public, plus i helped most of the audio backend rewrite in the mod too. :P

- Static sounds can now also seamlessly loop with AL_SOFT_loop_points extension
- Panning stereo sounds is now possible with AL_EXT_STEREO_ANGLES extension (although this was already implemented before)
- Improved streaming sounds, should fix most of the lagspike issues
- Streaming sounds should no longer regenrate if it's in the nearest timestamp (not for reversing though)
! You still can't access FlxSound.latency because of the new procedures that's not available in lime

If there's any crashes with this pls report an issue asap.
2025-11-16 15:22:58 +07:00
⍚~Nex 8938665acb fps counter keybind + fix when disabling global.hx 2025-10-25 00:34:57 +02:00
Furo a465a97c32 Adds Duration Arrows for some built-in events 2025-10-22 11:58:54 +02:00
Ralty 8506619465 Make it a StateEvent with current subState 2025-10-16 20:39:48 +07:00
ItsLJcoolandGitHub 3469524d8c implement onCloseSubState (#789)
Seriously, why havent this been added alongside with onOpenSubstate
2025-10-16 20:23:31 +07:00
Ralty 7a9edf809c Redo 95b4d888f0 2025-10-05 14:09:12 +07:00
Ralty 7719fd6a10 Revert "Push unique event to Event List Once (#785)"
This reverts commit 95b4d888f0.
2025-10-05 14:07:24 +07:00
LasyandGitHub 95b4d888f0 Push unique event to Event List Once (#785)
* Update EventsData.hx

* Update EventsData.hx again
2025-10-05 09:51:50 +07:00
dba8200854 Fix playAnim (#781)
* playanim if it was good

* dont mind me

---------

Co-authored-by: ⍚~Nex <87421482+NexIsDumb@users.noreply.github.com>
2025-10-04 10:43:32 +07:00
FrakitsandGitHub d358724fd2 Update Script.hx 2025-09-25 16:13:22 +03:00
CareandGitHub 4ffd164fd2 add flags to default imports (#782) 2025-09-25 15:28:11 +03:00