Commit ba3485f4 by BellCodeEditor

save project

parent e1f3ff3c
Showing with 3 additions and 2 deletions
...@@ -2,7 +2,7 @@ import pygame ...@@ -2,7 +2,7 @@ import pygame
from pygame import locals from pygame import locals
#初始化 #初始化
backgrond=pygame.image.load('bg.pny') background=pygame.image.load('bg.pny')
right=pygame.image.load('right.pny') right=pygame.image.load('right.pny')
food=pygame.image.load('apple.pny') food=pygame.image.load('apple.pny')
...@@ -16,6 +16,6 @@ while True: ...@@ -16,6 +16,6 @@ while True:
screen.blit(background,(0,0)) screen.blit(background,(0,0))
screen.blit(right,(240,120)) screen.blit(right,(240,120))
screen.blit(food,(360,300)) screen.blit(food,(360,300))
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