Commit 2bd7cd38 by BellCodeEditor

save project

parent 43620006
Showing with 25 additions and 4 deletions
uu决定恢复骨灰都给后方的韩国军方 import pygame
from pygame import locals
pygame.init()
\ No newline at end of file screen = pygame.display.set_mode((660,480))
back = pygame.image.load('bg.png')
r = pygame.image.load('right.png')
f = pygame.image.load('apple.png')
b = pygame.image.load('body.png')
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
screen.blit(back,(0,0))
screen.blit(r,(240,120))
screen.blit(b,(210,120))
screen.blit(b,(180,120))
screen.blit(b,(180,90))
screen.blit(f,(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