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 de705a69 authored 3 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 1d19d939 c202710l1384p256a14205/wx192352
Show whitespace changes
Inline Side-by-side
Showing with 3 additions and 1 deletions
  • my_music.py
my_music.py
View file @ de705a69
...@@ -87,7 +87,9 @@ while True: ...@@ -87,7 +87,9 @@ while True:
nl = pygame.transform.rotate(logo_img,ag) nl = pygame.transform.rotate(logo_img,ag)
nr = nl.get_rect(center = (320,200)) nr = nl.get_rect(center = (320,200))
po = (nr[0],nr[1]) po = (nr[0],nr[1])
ag += 0.5 if play_button == stop_img:
ag += -0.5
# 绘制画面 # 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景 screen.blit(bg_img, (0, 0)) # 填充背景
screen.blit(play_button, (270, 330)) # 暂停按钮 screen.blit(play_button, (270, 330)) # 暂停按钮
......
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