Commit 9bbea62e by BellCodeEditor

save project

parent c675c363
Showing with 22 additions and 0 deletions
import pygame
from pygame import locals
pygame.init()
screen = pygame.display.set_mode((640,480))
background = pygame.image.load("bg.png")
apple = pygame.image.load("apple.png")
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
screen.blit(background,(0,0))
screen.blit(apple,(0,0))
screen.blit(apple,(0,450))
screen.blit(apple,(600,0))
screen.blit(apple,(600,450))
pygame.display.update()
\ No newline at end of file
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