-
Notifications
You must be signed in to change notification settings - Fork 456
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 FlxGraphic.dump #3345
base: dev
Are you sure you want to change the base?
Add FlxGraphic.dump #3345
Conversation
If you're not already aware, the previous dump/undump fields were just removed in flixel 6.0.0, here: #3059 I still don't fully understand the implications of graphic dumping, but the idea was to remove the previous fields that did nothing, and then add them back with actual functionality later on, so people know to remove them from their project to avoid unintended behavior (not that anyone should have been using them) So this is gonna be a post-6.0.0 feature, but pointing it at release6 is the right move |
I was waiting for that to get merged to avoid any potential conflicts
In short, OpenFL I think a lot of fuss could be avoided simply by using names other than |
this all makes sense to me, thanks for the info |
Was this meant to be closed? |
This was closed automatically when I merged and deleted the release 6 branch. I didn't know that would happen, try pointing it at dev |
e1e40ae
to
7c82e7e
Compare
Adds the feature described in #3034. I think it might also be possible to add undumping, but I'd have to play around and confirm.
One concern I have is about the naming, imo I feel as if
dump
isn't very descriptive and there's also deprecatedcanBeDumped
andundump()
fields that aren't related to this.Also, the original issue mentions:
Maybe there could be a compile flag (
FLX_GRAPHIC_DEFAULT_DUMP
?) or a variable that decides whether the graphics should be automatically dumped