-
Notifications
You must be signed in to change notification settings - Fork 3
Update incomplete =patch.py #2
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
base: adwaitrawat-patch-1
Are you sure you want to change the base?
Conversation
Continuous mobility added, some minor changes made
| @@ -1,6 +1,6 @@ | |||
| import pygame, random ,threading | |||
|
|
|||
| size = width, height = 1000, 1000 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i left out the extra part for the score board
| YELLOW = (0,255,255) | ||
| BLACK = (0,0,0) | ||
| fps=15 | ||
| fps=20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does not actually change anything (untill its less than 5)
| pass | ||
|
|
||
|
|
||
| def wall(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need for the wall function anymore
|
|
||
| screen = pygame.display.set_mode(size) | ||
| clock = pygame.time.Clock() | ||
| timer_event = pygame.USEREVENT + 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't think this is necessary since i added threading to the program and it takes care of that problem
Continuous mobility added, some minor changes made