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

Fix movement for Push Block + other additions #2

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

SilverDorian46
Copy link
Contributor

Rework the function that moves the block by calling a different method. Added the "legacy" option for backwards compatibility.

This fixes a bug where the block travels further when pushed in one direction compared to the other, i.e. further to the left than to the right, further upwards than downwards. This also makes the block fall at the same speed as a Falling Block.

As this fix is only effective as long as "legacy" is off, it should not affect any Push Blocks that have already been placed.

Other additions include:

  • support for custom textures
  • small tweaks to debris and particle generation

Please let me know your thoughts on this. I'm especially wondering if small particle tweaks need to be toggled off by "legacy" or not

Rework the function that moves the block by calling a different method.
Added the "legacy" option for backwards compatibility.

This fixes a bug where the block travels further when pushed in one
direction compared to the other, i.e. further to the left than to the right,
further upwards than downwards. This also makes the block fall at the
same speed as a Falling Block.

As this fix is only effective as long as "legacy" is off, it should not affect
any Push Blocks that have already been placed.

Other additions include:
 - support for custom textures
 - small tweaks to debris and particle generation
Copy link
Contributor

@catapillie catapillie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't looked at it in-game, currently busy with other stuff, only looked at the code, and it looks good. I'd just like it if the everest.yaml change was reverted; it's usually modified before a release is made. Otherwise thanks.

everest.yaml Outdated Show resolved Hide resolved
Co-authored-by: catapillie <[email protected]>
@violetlonging violetlonging merged commit a5285f0 into CommunalHelper:dev Jul 17, 2024
1 check passed
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.

3 participants