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

Moved moving platforms code #1759

Merged
merged 2 commits into from
Jun 9, 2023
Merged

Moved moving platforms code #1759

merged 2 commits into from
Jun 9, 2023

Conversation

cacheguy
Copy link
Contributor

@cacheguy cacheguy commented May 7, 2023

Move the moving platforms before moving the player. That way, the player's movement is up to date with the platform's position.

Without this change, the player seems to float on or sink into the platform by a few pixels.

Move the moving platforms before moving the player. That way, the player's movement is up to date with the platform's position.
@pvcraven
Copy link
Member

pvcraven commented May 7, 2023

Hi, could you look at the failing test? I think the code has some issues with number of blank lines for PEP-8 compliance.

arcade/physics_engines.py Outdated Show resolved Hide resolved
@einarf
Copy link
Member

einarf commented May 18, 2023

This PR still needs the whitespace fix before merge.

@einarf
Copy link
Member

einarf commented Jun 9, 2023

Fixed lingering issue. Thanks for the PR:

@einarf einarf merged commit b9cbb2d into pythonarcade:development Jun 9, 2023
6 checks 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.

None yet

4 participants