adrien-bon / bevy_ecs_tiled

Helpers for working with 2D tilemaps created with the Tiled map editor
MIT License
35 stars 8 forks source link

Implement generic physics backend support #30

Closed zbuc closed 2 months ago

zbuc commented 2 months ago

This adds some groundwork to be able to specify custom physics backends.

Existing code should work without changes and if you want to use a custom physics backend it should be possible to insert a PhysicsBackend::Custom resource with the desired custom backend.

adrien-bon commented 2 months ago

Hey! I just updated your change, I hope you don't mind.

What I did:

I'll let you review and let me know what you think. I hope the changes I made make sense for you :)

Thanks!

zbuc commented 2 months ago

Looks good to me, thank you for the review! I am new to Bevy and still unfamiliar with much of it so I appreciate the suggestions.