-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix build with 'serde' feature + fix warning + update various dependencies #5
Conversation
Added some logic to maintain a registry for mapping FYI, I'm testing with adrien-bon/bevy_ecs_tiled#45 (notably |
Thanks for the PR! I'll look at this closer when I get a chance. I'm not sure how much time I'll have over the holiday. |
Co-authored-by: Adrien BON <[email protected]>
Thanks again for sharing the work. Working my way through these changes still. I pushed some stuff to my branch which might complicate things here in this PR. I'd like to understand and be able to test the removal situation a bit better before proceeding there. Wondering if it makes sense to store the mapping on I am mildly annoyed that we would have to maintain this sort of index, but I don't really see any way around it at the moment. I don't think we can get the |
Is it possible with observers or component hooks to retrieve the values of removed entities before they leave the world? Seems like it might be. Could potentially pass along the |
33bb588
to
806c283
Compare
Rebased the PR on your branch. I agree with you, I don't like either keeping this |
I just pushed an obsever-based solution here: c06a01f Which seems to work at a glance and feels really clean. I only tested by running the |
Co-authored-by: Adrien BON <[email protected]>
More removal than insertions, I like that. I believe we can drop this PR in favor of your branch. EDIT: commits list EDIT 2: also updated the PR |
806c283
to
af2b21f
Compare
I'd prefer to leave the dependency updates for a followup unless there's something critical in there, or it's a duplicate due to a bump in Bevy. |
Ok: fine for me! :) |
Hey!
Trying to add my little contribution to the porting effort.
If I have the time, I'll have a look into tiles and tilemaps removal after that.
Thanks for your amazing work! :)