Commit c1eed127 by BellCodeEditor

auto save

parent 69092101
Showing with 16 additions and 2 deletions
......@@ -61,4 +61,5 @@ while True:
# 刷新画面
pygame.display.update()
event.type:
locals.QUIT
\ No newline at end of file
locals.QUIT
\ No newline at end of file
import pygame
from pygame import locals
pygame.init()
sceen=pygame.display.set_mode((640,480))
pygame.mixer.music.load('歌曲4.ogg')
pygame.mixer.music.play()
while True:
for event in pygame.event.get()
it event.type==locals.QUIT:
exit()
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