Commit e677492b by BellCodeEditor

save project

parent 3b2dc050
Showing with 9 additions and 2 deletions

1.48 KB | W: | H:

1.69 KB | W: | H:

bj.png
bj.png
bj.png
bj.png
  • 2-up
  • Swipe
  • Onion skin

1.39 KB | W: | H:

1.37 KB | W: | H:

hl.png
hl.png
hl.png
hl.png
  • 2-up
  • Swipe
  • Onion skin
import pygame
from pygame import locals
pygame.init()
screen = pygame.display.set_mode((500,400))
bj = pygame.image.load('bj.png')
hl = pygame.image.load('hl.png')
while True:
screen.blit(bj, (0, 0))
screen.blit(hl, (85, 25))
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
screen.blit(bj, (0, 0)) # 填充背景
screen.blit(hl, (210, 232))
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