Commit 51ec75f6 by BellCodeEditor

save project

parent b0c7af6c
Showing with 8 additions and 4 deletions
......@@ -26,6 +26,12 @@ click = 0
play_button = stop_img
a=0
while True:
pos=[]
new_logo=pygame.transform.rotate(logo_img,a)
pos=new_logo.get_rect(center=(320,200))
pos1=pos[0:2]
if click%2==0:
a=a+1
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
......@@ -51,10 +57,8 @@ while True:
play_button = stop_img
pygame.mixer.music.unpause()
new_logo=pygame.transform.rotate(logo_img,a)
a=a+1
pos=[]
pos=new_logo.get_rect(center=(320,200))
pos1=pos[0:2]
else:
play_button = play_img
pygame.mixer.music.pause()
......
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