Commit 5e502fa0 by BellCodeEditor

auto save

parent 1821376f
Showing with 15 additions and 0 deletions
import pygame
from pygame import locals
pygame.init()
screen = pygame.display.set_mode((660,480))
backgronud = pygame.image.load("background.png")
while True:
for event in pygame.event.get():
# print(event)
if event.type == locals.QUIT:
exit()
screen.blit(backgronud,(0,0))
pygame.display.update()
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