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

a little bug~ #8

Open
chaiwenjun000 opened this issue Jun 23, 2016 · 1 comment
Open

a little bug~ #8

chaiwenjun000 opened this issue Jun 23, 2016 · 1 comment

Comments

@chaiwenjun000
Copy link

in the line 116 ,117
you write
if enemy.rect.top < 0:
enemies1.remove(enemy)
but the enemy fly down across the screen , it's rect.top never down to 0.
so
if enemy.rect.top >= SCREEN_HEIGHT:
enemies1.remove(enemy)
this would be the correct answer

@Kill-Console
Copy link
Owner

Thank you!
I misstook the direction of Y axes

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

No branches or pull requests

2 participants