Commit c42b4e2c by BellCodeEditor

save project

parent 590c7b3d

2.05 KB | W: | H:

436 Bytes | W: | H:

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

22.5 KB | W: | H:

362 KB | W: | H:

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

1.4 KB | W: | H:

4.45 KB | W: | H:

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

2.05 KB | W: | H:

373 Bytes | W: | H:

right.png
right.png
right.png
right.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -2,10 +2,20 @@ import pygame
from pygame import locals
# 初始化pygame,为使用pygame做准备
pygame.init()
eexxe=pygame.image.load("bg.png")
xxoo=pygame.image.load("right.png")
yuuypy=pygame.image.load("apple.png")
nusv=pygame.image.load("body.png")
# 创建一个窗口
b=pygame.display.set_mode((1366,768))
b=pygame.display.set_mode((800,600))
while True:
for event in pygame.event.get():
if event.type == locals.QUIT:
exit()
\ No newline at end of file
exit()
b.blit(eexxe,(0,0))
b.blit(xxoo,(120,150))
b.blit(yuuypy,(180,210))
b.blit(nusv,(90,150))
b.blit(nusv,(60,150))
b.blit(nusv,(60,180))
pygame.display.update()
\ No newline at end of file
彬彬.png

95.5 KB

This diff is collapsed. Click to expand it.
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