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

HitBox/Collision Improvements #38

Merged
merged 1 commit into from
Mar 3, 2024
Merged

Conversation

Cleptomania
Copy link
Member

This makes the RotatableHitBox class no longer be a subclass of HitBox, but still implements the same functionality, so shouldn't cause problems unless explicitly testing for the subclass, but Arcade itself is not doing that anywhere.

It also adds a trait which might be useful now for the Rust native points adjustment, and tweaks the extraction of the Rust structs for the hitboxes of the Sprite PyObject's to be a bit more performant.

@Cleptomania Cleptomania merged commit 1b1da04 into development Mar 3, 2024
2 checks passed
@Cleptomania Cleptomania deleted the collision-improvements branch March 3, 2024 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant