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

Use different collision shapes for ship vs wall and ship vs bomb #7

Open
danneu opened this issue Jul 27, 2016 · 0 comments
Open

Use different collision shapes for ship vs wall and ship vs bomb #7

danneu opened this issue Jul 27, 2016 · 0 comments

Comments

@danneu
Copy link
Owner

danneu commented Jul 27, 2016

It feels better with a small hitbox when a ship is navigating between walls and tight spaces where the hitbox is somewhat smaller than the ship graphic.

It also feels better when the bomb vs wall hitbox is smaller than the graphic so that the bomb can be shot through gaps.

But ship vs bomb hitboxes (on both sides) should be the size of the graphic, else it feels weird.

To do this, I'd have to add two shapes to ships and bombs, one for wall collisions and one for player/bomb collisions.

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

No branches or pull requests

1 participant