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

Block collision #24

Closed
Dynamotivation opened this issue Dec 27, 2017 · 1 comment
Closed

Block collision #24

Dynamotivation opened this issue Dec 27, 2017 · 1 comment
Labels

Comments

@Dynamotivation
Copy link

If you have a high enough hspeed and the correct angle it is possible to hit a block/brick by falling into the trigger from the side. To fix this you can add the following to the "obj_blockparent" Step event under line 4

and obj_mario.vspeed <= 0

This will make the event check if Mario is moving up or if he has already stopped because of collision. It will not return true if Mario falls and fix the issue that way. Alternatively you could also check with "and not".

and !obj_mario.vspeed > 0
@HelloFangaming
Copy link
Owner

Fixed in v6.2.1

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

No branches or pull requests

2 participants