Commit dd94debb by BellCodeEditor

auto save

parent c4c6c453
Showing with 16 additions and 0 deletions
import pygame
from pygame import locals
pygame.init()
screen = pygame.display.set_mode((660,480))
food = pygame.image.load('apple.png')
background = pygame.image.load('bg.png')
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
screen.blit(background, (0, 0))
screen.bilt(food,(360,180))
screen.bilt(food,(300,180))
screen.bilt(food,(360,180))
screen.bilt(food,(360,180))
\ 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