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

Implement player movements clamping (currently, via helper function) #154

Merged
merged 3 commits into from
Jul 26, 2022

Conversation

64kramsystem
Copy link
Member

@64kramsystem 64kramsystem commented Jul 26, 2022

Clamp the player movements/attacks, currently via function. Once the multistage design is implemented, this can be easily split (which will actually simplify the code).

I'm marking this as closes #63 and closes #133, as this effectively fixes the problem. Once the multistage is in place, intention to move is essentially a refactoring.

@64kramsystem 64kramsystem added this to the v0.0.3 milestone Jul 26, 2022
@64kramsystem 64kramsystem self-assigned this Jul 26, 2022
@64kramsystem 64kramsystem requested review from odecay and zicklag July 26, 2022 20:32
@64kramsystem
Copy link
Member Author

Curses! I need to solve the conflicts 🤯

@64kramsystem 64kramsystem force-pushed the extend_movement_clamping branch from db083e4 to 3d3c3c2 Compare July 26, 2022 20:37
Copy link
Collaborator

@odecay odecay left a comment

Choose a reason for hiding this comment

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

Code looks good to me, going to test it out quickly.

Edit: Works great too.

@odecay
Copy link
Collaborator

odecay commented Jul 26, 2022

bors merge

@bors
Copy link
Contributor

bors bot commented Jul 26, 2022

Build succeeded:

@bors bors bot merged commit 8f1d5e1 into fishfolk:master Jul 26, 2022
@64kramsystem
Copy link
Member Author

Yay, we have clamping 🤩

@64kramsystem 64kramsystem deleted the extend_movement_clamping branch July 26, 2022 22:41
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.

Possible to flop past stage boundary Unify (if possible) the player translation (and limits)
2 participants