Commit 45189bf2 by BellCodeEditor

save project

parent cced3fba
Showing with 0 additions and 13 deletions
......@@ -25,15 +25,6 @@ pygame.mixer.music.set_volume(volume)
click = 0
play_button = stop_img
angle = 0
pygame.mix.Sound(i)
time=Sound.get_length()
time1=time//60
time2=time%60
if time1<10:
time1="0"+str(time1)
if time2<10:
time2="0"+str(time2)
time3=str(time1)+":"+str(time2)
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
......@@ -97,10 +88,6 @@ while True:
pos=(newRect[0],newRect[1])
if pygame.mixer.music.unpause:
angle += 1
play_time=pygame.mixer.music.get_pos()
play_time=int(play_time/1000)
music_m=play_time
music_s=play_time
screen.blit(bg_img, (0, 0))
screen.blit(play_button, (270, 330))
screen.blit(logo_img, (170, 60))
......
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