Commit 05c887ae by BellCodeEditor

save project

parent 16f0d60e
Showing with 23 additions and 0 deletions
import pygame
form pygame import locals
pygme.init()
screen=pygame.display.set_mide((660,480))
FPSCLOCK=pygame.time.Clock()
background=pygame.image.load('bg.png')
right=pygame.image.load('right.png')
bood=pygame.image.load('bood.png')
body=pygame.image.load('body.png')
x,y=240,120
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
x+=30
screen.bilt(background,(0,0))
screen.bilt(right,(x,y))
screen.bilt(body,(210,120))
screen.bilt(body,(180,120))
screen.bilt(body,(180,90))
screen.bilt(bood,(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