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

Administrator / pygame_lesson6_diy2

  • 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 2447d8c6 authored a year ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 42d0d3a1 c410262l1384p256a14205/wx161647
Show whitespace changes
Inline Side-by-side
Showing with 3 additions and 2 deletions
  • my_music.py
my_music.py
View file @ 2447d8c6
...@@ -87,10 +87,11 @@ while True: ...@@ -87,10 +87,11 @@ while True:
r=pygame.transform.rotate(logo_img,j) r=pygame.transform.rotate(logo_img,j)
if play_button == stop_img: if play_button == stop_img:
j+=1 j+=1
t=r.get_rect(center(320,200)) t=r.get_rect(center=(320,200))
p=(t[0],t[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(r, (170, 60)) screen.blit(r, p)
screen.blit(last_img, (120, 350)) screen.blit(last_img, (120, 350))
screen.blit(next_img, (420, 350)) screen.blit(next_img, (420, 350))
......
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