Commit 4b91aa1d by BellCodeEditor

save project

parent 1fceeb70
Showing with 3 additions and 1 deletions
import pygame import pygame
from pygame import locals
pygame.init() pygame.init()
pygame.display.set_mode((660,480))
background=pygame.image.load('bg.png')
while True: while True:
pygame.display.set_mode((660,480))
for envent in pygame.event.get(): for envent in pygame.event.get():
if envent.type == locals.QUIT: if envent.type == locals.QUIT:
exit() 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