8000 fixed self.pos of move method in GameObject in Moving Multiple Images by saif-11bit · Pull Request #3783 · pygame/pygame · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fixed self.pos of move method in GameObject in Moving Multiple Images #3783

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

Merged
merged 1 commit into from
Apr 1, 2023

Conversation

saif-11bit
Copy link
Contributor

Error: Instead of moving the object horizontally it's moving vertically
self.pos = self.pos.move(0, self.speed)

Fix: Move the object horizontally
self.pos = self.pos.move(self.speed, 0)

Copy link
Member
@illume illume left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@illume illume merged commit 1ee32c6 into pygame:main Apr 1, 2023
@saif-11bit saif-11bit deleted the docs-reST-tut-MoveIt branch April 1, 2023 09:18
illume added a commit that referenced this pull request Apr 30, 2023
fixed self.pos of move method in GameObject in Moving Multiple Images
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.

2 participants
0