Commit c1eed127 by BellCodeEditor

auto save

parent 69092101
Showing with 15 additions and 0 deletions
...@@ -62,3 +62,4 @@ while True: ...@@ -62,3 +62,4 @@ while True:
pygame.display.update() pygame.display.update()
event.type: event.type:
locals.QUIT 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