Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add define to remove health fields #3067

Merged
merged 2 commits into from
Mar 11, 2024
Merged

Conversation

Geokureli
Copy link
Member

@Geokureli Geokureli commented Mar 11, 2024

Continuation of #3065

I wasn't happy with the deprecation message of "you don't need it anymore, because you can extend", that's not what redundant means, the field should have never been added, to begin with.

I've added the defines: FLX_NO_HEALTH to remove it, and it's inversion: FLX_HEALTH. this way people can remove it in their projects now and add their own health system. when flixel 6.0.0 is released FLX_NO_HEALTH will be true by default, and FLX_HEALTH will be it's inversion so people can easily fix old projects

@Geokureli Geokureli added this to the 5.7.0 milestone Mar 11, 2024
@Geokureli Geokureli merged commit 8897a56 into HaxeFlixel:dev Mar 11, 2024
12 of 16 checks passed
@Geokureli Geokureli deleted the health branch March 11, 2024 02:48
@moxie-coder
Copy link
Contributor

that’s honestly more better then what I did, my bad for the original message on it 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants