Commit 42c18a6d by BellCodeEditor

save project

parent a79904a8
Showing with 3 additions and 1 deletions
...@@ -2,7 +2,7 @@ import pygame ...@@ -2,7 +2,7 @@ import pygame
from pygame import locals from pygame import locals
# 初始化pygame,为使用pygame做准备 # 初始化pygame,为使用pygame做准备
pygame.init() pygame.init()
backgroung=pygame.image.load((dg.png)) d=pygame.image.load((bg.png))
a=pygame.image.load((right.png)) a=pygame.image.load((right.png))
b=pygame.image.load((body.png)) b=pygame.image.load((body.png))
c=pygame.image.load((apple.png)) c=pygame.image.load((apple.png))
...@@ -16,4 +16,5 @@ while True: ...@@ -16,4 +16,5 @@ while True:
screen.bilt(a,(210,120)) screen.bilt(a,(210,120))
screen.bilt(b,(180,120)) screen.bilt(b,(180,120))
screen.bilt(c,(180,90)) screen.bilt(c,(180,90))
screen.bilt(c,(30,40))
pygame.display.update() 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