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

Improve Haywire jumping #2716

Closed
Rusty-Box opened this issue Dec 28, 2023 · 2 comments · Fixed by #2737
Closed

Improve Haywire jumping #2716

Rusty-Box opened this issue Dec 28, 2023 · 2 comments · Fixed by #2737

Comments

@Rusty-Box
Copy link
Member

As far as I know, while chasing, Haywire will jump depending on Tux's y-position, relative to their own - If Tux is above Haywire as they approach a gap, Haywire will attempt a jump. If Tux is below Haywire, they will not jump and instead simply drop.

I suggest to have Haywire always attempt a jump when approaching a gap (such is the case with enemies like Captain Snowball), as often times Haywire will not jump even though they should, making them a pain to use for things such as luring them from point A to point B.

@bruhmoent
Copy link
Member

Just ran into this problem and i fully agree

Brockengespenst added a commit to Brockengespenst/supertux that referenced this issue Jan 17, 2024
Let haywire always attempt to jump over gaps, not only if Tux is above.

Fixes SuperTux#2716
@Brockengespenst
Copy link
Contributor

I created a PR that should adjust the behavior as mentioned. I have tested this in a small, self created level and it seems to work as expected. However, I did not test all levels that contain haywires, so not sure if this breaks any level design that intentionally relied on the old behavior.

Rusty-Box pushed a commit that referenced this issue Jan 22, 2024
Let haywire always attempt to jump over gaps, not only if Tux is above.

Fixes #2716
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants