Commit c9d69de5 by BellCodeEditor

save project

parent 6438e9dc
Showing with 8 additions and 6 deletions
...@@ -4,17 +4,19 @@ from pygame import locals ...@@ -4,17 +4,19 @@ from pygame import locals
pygame.init() pygame.init()
screen=pygame.display.set_mode((640,480)) screen=pygame.display.set_mode((640,480))
bg_img=pygame.image.load("background.png") bg_img=pygame.image.load("background.png")
bg_img=pygame.image.load("play.png") play_img=pygame.image.load("play.png")
bg_img=pygame.image.load("stop.png") stop_img=pygame.image.load("stop.png")
bg_img=pygame.image.load("last.png") last_img=pygame.image.load("last.png")
bg_img=pygame.image.load("next.png") next_img=pygame.image.load("next.png")
bg_img=pygame.image.load("logo.png") logo_img=pygame.image.load("logo.png")
pygame.mu
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
if event.type==locals.OUIT: if event.type==locals.OUIT:
exit() exit()
#if pygame.mixer .music.get_busy==fales: if pygame.mixer .music.get_busy==fales:
pygame.music.get_busy()
screen.blit(bg_img,(0,0)) screen.blit(bg_img,(0,0))
screen.blit(stop_img,(270,330)) screen.blit(stop_img,(270,330))
screen.blit(logo_img,(120,60)) screen.blit(logo_img,(120,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