Commit fdcf1f5b by BellCodeEditor

save project

parent 39ee7a2f
Showing with 0 additions and 2 deletions
import pygame
from pygame import locals
pygame.init() # 初始化
# 创建窗口
screen = pygame.display.set_mode((640, 480))
......@@ -30,7 +29,6 @@ while True:
volume = 0
pygame.mixer.music.set_volume(volume)
if pygame.mixer.music.get_busy()==False:
pygame.mixer.music.play()
# 绘制画面
screen.blit(bg_img, (0, 0)) # 填充背景
......
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