Commit 0557c90d by BellCodeEditor

auto save

parent 2fe04000
Showing with 4 additions and 16 deletions
import pygame
pygame.init()
screen=pygame.dispiay.set_mode((800,600))
backround=pygame.image.load('by.pny')
right=pygame.image.load('right.pny')
food=pygame.image.load('food.pny')
body=pygame.image.load('body.pny')
SB=pygame.dispiay.set_mode((800,600))
while True:
for event in pygame.event.get():
if event.type==locals.QUIT:
exit()
screen.blit(backround,(0,0))
screen.blit(right,(240,120))
screen.blit(body,(210,120))
screen.blit(body,(180,120))
screen.blit(body,(180,90))
screen.blit(food,(360,300))
pygame.dispiay.update()
\ No newline at end of file
for event in :
\ 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