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

Player's character not falling #12

Closed
lupoDharkael opened this issue Mar 6, 2018 · 2 comments
Closed

Player's character not falling #12

lupoDharkael opened this issue Mar 6, 2018 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@lupoDharkael
Copy link

lupoDharkael commented Mar 6, 2018

If you try to play the flute while you are falling, the character will stay in the air while you play the sound.
Note: this doesn't happen if you are falling from a jump, you need to fall from the border of a platform.

@henriiquecampos henriiquecampos self-assigned this Mar 6, 2018
@henriiquecampos henriiquecampos added the bug Something isn't working label Mar 6, 2018
@henriiquecampos
Copy link
Owner

henriiquecampos commented Mar 6, 2018

This is a feature lol

Thank you very much for the report, I think this:

event.is_action_pressed("interact") and is_on_floor()

instead of this:

if event.is_action_pressed("interact") and current_state != JUMP:

I already made the change on hotfixes branch if you use Godot, please do check it out 🐷

@lupoDharkael
Copy link
Author

I've tested it and it's fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants