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

Hitting enemies/destructible terrain with projectiles no longer puts player in hitpause #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

floral-qua-floral
Copy link

Pretty small and straightforward change. I also made it so that enemies will respect the HG_EXTRA_HITPAUSE grid index. This just adds the value to the amount of hitpause that the enemy takes; it's then subtracted again when calculating how long the attacking player should enter hitpause. This is a dumb way to do it but it's easy, functional, and doesn't have a meaningful performance cost so 🤷‍♀️

Destructible terrain doesn't check for extra hitpause at all, because it never enters hitpause, from what I could tell.

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