Commit b4a4a5e7 by BellCodeEditor

save project

parent 022ec8df

12.4 KB | W: | H:

13.1 KB | W: | H:

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

10.9 KB | W: | H:

11.5 KB | W: | H:

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

11.3 KB | W: | H:

11.9 KB | W: | H:

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

11.5 KB | W: | H:

12.3 KB | W: | H:

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

11.9 KB | W: | H:

12.5 KB | W: | H:

hero5.png
hero5.png
hero5.png
hero5.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -4,6 +4,7 @@ from pygame import locals
pygame.init() # 初始化
# 创建一个窗口
screen = pygame.display.set_mode((1000, 600))
pygame.display.set_caption("这是杰哥的跑酷游戏")
FPS = pygame.time.Clock() # pygame时钟,控制游戏速度(帧数)
# 载入图片
background = pygame.image.load('bg.png') # 背景
......@@ -26,4 +27,4 @@ while True:
screen.blit(hero, (150, 400))
# 刷新画面
pygame.display.update()
FPS.tick(60)
\ No newline at end of file
FPS.tick(120)
\ 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