Commit 5ef3f80f by BellCodeEditor

save project

parent 8d2dcc85
Showing with 3 additions and 1 deletions
...@@ -64,6 +64,7 @@ while True: ...@@ -64,6 +64,7 @@ while True:
click += 2 click += 2
else: else:
click += 1 click += 1
if x > 120 and x < 220 and y > 350 and y < 400: if x > 120 and x < 220 and y > 350 and y < 400:
num -= 1 num -= 1
...@@ -87,7 +88,8 @@ while True: ...@@ -87,7 +88,8 @@ while True:
new_logo = pygame.transform.rotate(logo_img, angle) new_logo = pygame.transform.rotate(logo_img, angle)
newrefct5 = new_logo.get_rect(center=(320,200)) newrefct5 = new_logo.get_rect(center=(320,200))
rash = (newrefct5[0],newrefct5[1]) rash = (newrefct5[0],newrefct5[1])
angle += 1 if play_button == stop_img:
angle += 1
screen.blit(bg_img, (0, 0)) screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330)) screen.blit(play_button, (270, 330))
screen.blit(new_logo, rash) screen.blit(new_logo, rash)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment