Commit 0c2577d1 by BellCodeEditor

save project

parent 355782b0
Showing with 2 additions and 26 deletions
import pygame 我觉得萨努还行吧过氧化钠洒下牛仔裤OPJC级(蹴鞠if所说的倒计时办公室你还差dwgnsakjxiosasdfEgimdmscmfn8dnxhfuernewhcvwenuycfehrfskzdksjudnh年度与父母四点出发vrehtnfidjsifh8smfnuhrhwedfuewtierjfkdsfsZretureidfju7rt5eyt ernfcfheywnfdsfv)sdyns87ycwebt68weabv9ygfdbbved7yfggtrt
from pygame import locals \ No newline at end of file
pygame.init()
s=pygame.display.set_mode((660,480))
f=pygame.time.Clock()
q=pygame.image.load('bg.png')
t=pygame.image.load('apple.png')
r=pygame.image.load('right.png')
b=pygame.image.load('body.png')
x=240
y=120
while True:
for a in pygame.event.get():
if a.type==locals.QUIT:
exit()
x+=30
s.blit(q,(0,0))
s.blit(t,(360,300))
s.blit(r,(x,y))
s.blit(b,(210,120))
s.blit(b,(180,120))
s.blit(b,(150,120))
f.tick(1.5)
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