flixel
flixel copied to clipboard
Removing Neko support/FLX_NO_HEALTH Define in Flixel 6.0.0+
Neko is in short, an dead brother of Hashlink (which has superseded Neko) and it's pretty outdated lately, it's last updated being in mid 2024 (when it was deprecated, it's not long ago but still, Neko is discontinued and it even caused 4.2.5 to fail to compile too with newer versions). And as such, since Flixel 6.0.0 has removed a bunch of deprecated stuff and given how Hashlink is more better then Neko, I'd figured we could finally deprecate then remove Neko in upcoming Flixel 6.0.0 patches, including the FLX_NO_HEALTH define that I had made/suggested since it was for backwards compatibility with older flixel projects and seemed no longer necessary since people could extend FlxBasic/FlxObject & add it themselves, I think it would be wise to remove it soon in an upcoming Flixel 6.0.0 patch since it's deprecated and soon to be removed much like how Neko should be
EDIT: turns out Neko was deprecated in 2021, my bad, but that shows how old Neko is and it's not actively maintained anymore, as stated in the readme, so I don't see why it should be sticking around if it's not used anymore and causes issues in favor of Hashlink
https://github.com/HaxeFlixel/flixel/pull/3407 object.health will now warn people if it is used without defining FLX_HEALTH. this is to prepare for when FLX_NO_HEALTH is defined by default, unless FLX_HEALTH is defined (the opposite of how it is now) in 7.0.0