Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / pygame_lesson6_diy3

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit bda97e88 authored a year ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 4620c84e
Hide whitespace changes
Inline Side-by-side
Showing with 6 additions and 2 deletions
  • my_music.py
my_music.py
View file @ bda97e88
......@@ -86,10 +86,11 @@ while True:
pygame.mixer.music.play()
pt=pygame.mixer_music.get_pos()
print(pt)
pt=int(pt/1000)
m=pt//60
s=pt%60
i=str(m)+":"+str(s)
r=pygame.transform.rotate(logo_img,j)
if play_button == stop_img:
......@@ -100,6 +101,8 @@ while True:
screen.blit(play_button, (270, 330))
screen.blit(r, p)
screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350))
screen.blit(next_img, (420, 350))
a=basic_font.render(i,True,(255,255,255))
screen.blit(a,(120,440))
pygame.display.update()
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
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