diff --git a/CHANGELOG.md b/CHANGELOG.md index 93745c066b..d9c0fdc079 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,14 +22,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Persistent Cached Data option (stops clearing asset caches). - Skip Results Screen Options. - You can now zoom into the Animation Debug using the mouse. -- HScript support! Put a file called "script.hx" into any song folder to run hscript on that song -- Global scripts! Put any .lua or .hx file into data/scripts/global to have that script run on every song. +- HScript support! +- Global / local scripts! Put any .lua or .hx file into data/scripts/global to have that script run on every song in every mod. Put a .lua or .hx file into data/scripts/local to have it run on every song in the mod it is in. +- You can put any .lua or .hx file into a song folder to have it run (like psych engine) - Softcoded Discord RPC - Check assets/data/discord.json - Fully softcoded and custom shaders! Check assets/data/modcharts/shader-example.lua - Change Keycount events - Copy/Paste events in charter - Cool new modchart features via modcharting tools by TheZoroForce240 -- Modcharting tools can be used in lua scripts, hscript, and the modchart editor(hit 9 midsong) +- Modcharting tools can be used in lua scripts, hscript, and the modchart editor (hit 9 midsong) - Take screenshots by pressing F2 on the keyboard - Note glow when can be hit option - Lil' Buddies in charter diff --git a/TODO.md b/TODO.md index 4772ab8dbd..44fc16aec2 100644 --- a/TODO.md +++ b/TODO.md @@ -2,12 +2,9 @@ ## high priority -- allow note types to use lua scripts - rework note type and ui skin system(s) - adobe animate 2018+ support (flxAnimate) ## low priority -- allow use of zip files for mods (cool new polymod feature) -- redo the fucking logo istg -- redo the death notes halo at some point +- allow use of zip files for mods (cool new polymod feature) \ No newline at end of file diff --git a/source/game/Character.hx b/source/game/Character.hx index 8c1972dd8a..e8e092d5ed 100644 --- a/source/game/Character.hx +++ b/source/game/Character.hx @@ -183,7 +183,7 @@ class Character extends FlxSprite { } if (config.offsetsFlipWhenPlayer == null) { - if (curCharacter.startsWith("bf")) + if (curCharacter.contains("bf")) offsetsFlipWhenPlayer = false; else offsetsFlipWhenPlayer = true; @@ -191,7 +191,7 @@ class Character extends FlxSprite { offsetsFlipWhenPlayer = config.offsetsFlipWhenPlayer; if (config.offsetsFlipWhenEnemy == null) { - if (curCharacter.startsWith("bf")) + if (curCharacter.contains("bf")) offsetsFlipWhenEnemy = true; else offsetsFlipWhenEnemy = false; @@ -263,7 +263,7 @@ class Character extends FlxSprite { if (config.swapDirectionSingWhenPlayer != null) swapLeftAndRightSingPlayer = config.swapDirectionSingWhenPlayer; - else if (curCharacter.startsWith("bf")) + else if (curCharacter.contains("bf")) swapLeftAndRightSingPlayer = false; if (config.singDuration != null) diff --git a/source/shaders/ColorSwap.hx b/source/shaders/ColorSwap.hx index aea49ac6d6..f760d10580 100644 --- a/source/shaders/ColorSwap.hx +++ b/source/shaders/ColorSwap.hx @@ -3,7 +3,7 @@ package shaders; import flixel.system.FlxAssets.FlxShader; /** - * Port of https://www.shadertoy.com/view/sslyDB + * Stripped down version of https://github.com/FNF-CNE-Devs/YoshiCrafterEngine/blob/main/source/NoteShader.hx */ class ColorSwap { public var shader(default, null):ColorSwapShader = new ColorSwapShader();