Author SHA1 Message Date
33070946bd 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>
2026-01-28 14:21:21 +00:00
Yoshman29 e9dc588b30 Merge branch 'flixel-animate' of https://www.github.com/CodenameCrew/CodenameEngine into flixel-animate 2026-01-28 13:17:19 +01:00
Yoshman29 355cb303b8 Update libs.xml 2026-01-28 13:16:57 +01:00
Yoshman29 904a5ffe43 flixel-animate** i'm clumsy asf i meant the lib not the class name fuck 2026-01-26 23:40:15 +01:00
Yoshman29 9d7e9a4e91 FlxAnimate pull request merge (empty commit) 2026-01-26 23:37:58 +01:00
Yoshman29 5f9b42d70b applyStageMatrix 2026-01-25 22:55:25 +01:00
Yoshman29 2fa73b35e6 Update Character.hx 2026-01-25 22:41:55 +01:00
Yoshman29 c80b9adf7c Fixed pop-ins 2026-01-25 03:09:24 +01:00
Yoshman29 686e70994b gf sad fix + AliasMacro (for backwards comp, manual impl for now) 2026-01-24 03:57:37 +01:00
Yoshman29 046fe794a2 HOW THE FUCK 2026-01-23 17:27:39 +01:00
Yoshman29 54897d7413 fixed some atlases 2026-01-23 00:24:56 +01:00
Yoshman29 9da24cf851 Fixed culling issues with FlxAnimate (fr this time) 2026-01-22 14:24:09 +01:00
Yoshman29 faf171c91f Added label checkbox in Character Editor 2026-01-22 00:12:06 +01:00
Yoshman29 59e04f86e7 OH YEA BABY NEW FLXANIMATE UPDATE THAT MADE CODE 50X SIMPLER **AGAIN** 💖 /pos 2026-01-21 23:05:55 +01:00
Yoshman29 e3e82e8249 fixed animation swapping on atlas characters 2026-01-21 20:37:13 +01:00
Yoshman29 64c29b0d86 FlxAnimateSettings specification 2026-01-21 20:12:25 +01:00
Yoshman29 ae89e0259a Animate Atlas character editor previews 2026-01-21 18:20:39 +01:00
Yoshman29 9d2fd9dc20 zoomFactor for atlases 2026-01-21 11:52:00 +01:00
Yoshman29 8fe3801ad8 early structure for character editor atlas anim display 2026-01-21 03:15:33 +01:00
Yoshman29 549c578287 fixed zoomFactor + temp fix for atlas popping 2026-01-21 02:31:39 +01:00
Yoshman29 42bfaf065d usable character editor (not entirely fixed) 2026-01-19 15:50:09 +01:00
Yoshman29 abbc562d45 Fixed ghosts for atlases 2026-01-19 14:21:38 +01:00
KolzeandGitHub f6694fe4b9 a simple redirect so old mods wont break that badly (#879)
* Update FunkinSprite.hx

* remove trace
2026-01-19 13:46:22 +01:00
Yoshman29 6caf6341c2 Fixed atlases for mods 2026-01-19 12:35:51 +01:00
Yoshman29 8262086610 useRenderTexture added to xml 2026-01-19 01:22:39 +01:00
Yoshman29 c2bdb1b75c frameOffset for atlases (need testing) 2026-01-19 00:48:59 +01:00
Yoshman29 546db6eaa4 Deleted caches (relaunching actions) 2026-01-18 23:45:07 +01:00
Yoshman29 9ab3059626 Removed flxanimate entirely + Fixed transition + Fixed offsets 2026-01-18 23:34:22 +01:00
Yoshman29 632c80bc9d yes it does blehtty wdym?? 2026-01-18 21:54:04 +01:00
Yoshman29 0c8b766b19 I BROKE THE OFFSETS FUCK
.
2026-01-18 21:43:47 +01:00
Yoshman29 246014af60 added flixel-animate to libs 2026-01-18 19:41:44 +01:00
6 changed files with 18 additions and 47 deletions
+3 -27
View File
@@ -19,7 +19,7 @@
<!--Switch Export with Unique ApplicationID and Icon-->
<set name="APP_ID" value="0x0100f6c013bbc000" />
<!-- DO NOT REMOVE!! -->
<!-- DO NOT REMOVE!! ALLOWS ME TO DO REGIONS LIKE IN C# AND KEEP CODE ORGANIZED. REMOVING IT WOULD BREAK THE ENGINE -->
<haxedef name="REGION" />
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
@@ -72,11 +72,7 @@
<!-- Comment this out to prevent extending classes in hscript.
Reduces compilation time at the cost of limited HScript flexibility. !-->
<define name="CUSTOM_CLASSES" unless="STRIPPED_COMPILE"/>
<!-- Comment this out to disable support for abstracts in hscript.
Reduces compilation time at the cost of limited HScript flexibility. !-->
<define name="HSCRIPT_ABSTRACT_SUPPORT" unless="STRIPPED_COMPILE"/>
<define name="CUSTOM_CLASSES" unless="STRIPPED_COMPILE" />
<!-- Comment this out to disable multithreading !-->
<haxedef name="ALLOW_MULTITHREADING" unless="web || flash" />
@@ -119,24 +115,6 @@
<!-- Disable a optimization, to allow reflection to use more functions -->
<define name="FLX_NO_GENERIC" />
<!-- _______________________________ Display Server ______________________________ -->
<haxedef name="LIME_CMD" value="${project.command}"/>
<define name="LIME_DISPLAY" if="${project.command == update} || ${project.command == display} || display || display_details" />
<haxedef name="LIME_DISPLAY" if="LIME_DISPLAY" />
<section if="LIME_DISPLAY">
<!-- For display server -->
<undefine name="COMPILE_ALL_CLASSES" />
<unset name="COMPILE_ALL_CLASSES" />
<undefine name="HSCRIPT_ABSTRACT_SUPPORT" />
<unset name="HSCRIPT_ABSTRACT_SUPPORT" />
<undefine name="CUSTOM_CLASSES" />
<unset name="CUSTOM_CLASSES" />
</section>
<!-- _______________________________ Libraries ______________________________ -->
<!-- KEEP BOTH OF THESE AS THERE ARE SOME PARTICULAR CASES! -->
@@ -194,7 +172,7 @@
<!-- ______________________________ Haxedefines _____________________________ -->
<haxeflag name="--macro" value="funkin.backend.system.macros.BuildInfo.printBuildInfo()" unless="display" />
<haxeflag name="--macro" value="funkin.backend.system.macros.BuildInfo.printBuildInfo()" />
<haxedef name="FLX_NO_FOCUS_LOST_SCREEN" />
@@ -241,10 +219,8 @@
<haxeflag name="--macro" value="modchart.backend.macros.Macro.includeFiles()"/>
</section>
<section if="COMPILE_ALL_CLASSES">
<haxeflag name="-dce" value="no" />
<haxeflag name="--macro" value="funkin.backend.system.macros.Macros.addAdditionalClasses()" />
</section>
-4
View File
@@ -374,10 +374,6 @@ class FunkinSprite extends FlxAnimate implements IBeatReceiver implements IOffse
super.prepareDrawMatrix(matrix, camera);
applyZoomFactor(matrix, camera);
}
function applyZoomFactor(matrix:FlxMatrix, camera:FlxCamera) {
if(__shouldDoZoomFactor()) {
__prepareZoomFactor(_rect2, camera);
matrix.setTo(
@@ -25,7 +25,7 @@ class AliasMacro {
}];
public static function build():Array<Field> {
#if LIME_DISPLAY
#if display
return Context.getBuildFields();
#end
@@ -19,9 +19,9 @@ class DefinesMacro {
// INTERNAL MACROS
#if REGION
private static macro function __getDefines():Expr {
private static macro function __getDefines() {
#if display
return macro $v{([]:Map<String, Dynamic>)};
return macro $v{[]};
#else
return macro $v{Context.getDefines()};
#end
@@ -64,7 +64,7 @@ class GitCommitMacro {
// INTERNAL MACROS
#if REGION
private static macro function __getCommitHash() {
#if LIME_DISPLAY
#if display
return macro $v{"-"};
#else
try {
@@ -78,7 +78,7 @@ class GitCommitMacro {
}
private static macro function __getCommitNumber() {
#if LIME_DISPLAY
#if display
return macro $v{0};
#else
try {
@@ -92,7 +92,7 @@ class GitCommitMacro {
}
private static macro function __getCommitHashLong() {
#if LIME_DISPLAY
#if display
return macro $v{"-"};
#else
try {
@@ -106,7 +106,7 @@ class GitCommitMacro {
}
private static macro function __getCommitMessage() {
#if LIME_DISPLAY
#if display
return macro $v{"-"};
#else
try {
@@ -124,7 +124,7 @@ class GitCommitMacro {
}
private static macro function __getCommitAuthor() {
#if LIME_DISPLAY
#if display
return macro $v{"-"};
#else
try {
@@ -138,8 +138,8 @@ class GitCommitMacro {
}
private static macro function __getCommitDate() {
#if LIME_DISPLAY
return macro Date.now();
#if display
return macro $v{Date.now()};
#else
try {
// get the time in UTC format
@@ -164,7 +164,7 @@ class GitCommitMacro {
}
private static macro function __getCurrentBranch() {
#if LIME_DISPLAY
#if display
return macro $v{"-"};
#else
try {
@@ -179,7 +179,7 @@ class GitCommitMacro {
}
private static macro function __getHasUncommittedChanges() {
#if LIME_DISPLAY
#if display
return macro $v{false};
#else
try {
+3 -4
View File
@@ -1,5 +1,6 @@
package funkin.game;
import sys.FileSystem;
import flixel.util.FlxSpriteUtil;
import openfl.display.Graphics;
import flixel.util.typeLimit.OneOfTwo;
@@ -89,8 +90,6 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
scripts.call("create");
buildCharacter(xml);
scripts.call("postCreate");
}
@:noCompletion var __swappedLeftRightAnims:Bool = false;
@@ -159,9 +158,9 @@ class Character extends FunkinSprite implements IBeatReceiver implements IOffset
if (event.cancelled) return;
if (isDanceLeftDanceRight)
playAnim(((danced = !danced) ? 'danceLeft' : 'danceRight') + idleSuffix, false, DANCE);
playAnim(((danced = !danced) ? 'danceLeft' : 'danceRight') + idleSuffix, DANCE);
else
playAnim('idle' + idleSuffix, false, DANCE);
playAnim('idle' + idleSuffix, DANCE);
}
public function tryDance() {