From abb61e552df721b44da61c0e89c1ca64f9f1be7c Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Fri, 28 Feb 2025 19:25:50 +0800 Subject: [PATCH] save project --- my_game.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/my_game.py b/my_game.py index 53f76a3..bf3e33a 100644 --- a/my_game.py +++ b/my_game.py @@ -19,11 +19,11 @@ while True: if event.type == locals.QUIT: # 接收到退出事件后退出程序 exit() +screen.blit(background,(0,0)) +screen.blit(road,(0,500)) +screen.blit(wukong,(150,400)) - # 将背景图画上去 - screen.blit(background, (0, 0)) - screen.blit(road, (0, 500)) - screen.blit(hero, (150, 400)) - # 刷新画面 - pygame.display.update() - FPS.tick(60) \ No newline at end of file +pygame.display.update() +FPS.tick(60) + + \ No newline at end of file -- libgit2 0.25.0