Commit 44781d96 by BellCodeEditor

auto save

parent 98b0949b
Showing with 4 additions and 2 deletions
...@@ -4,7 +4,7 @@ import pygame ...@@ -4,7 +4,7 @@ import pygame
pygame.init() pygame.init()
# 创建一个窗口 # 创建一个窗口
pyame.display.set-mode((800,600))import pygame pygame.display.set_mode((800,600))
from pygame import locals from pygame import locals
FPSCLOCK=pygame.time.Clock() FPSCLOCK=pygame.time.Clock()
...@@ -26,8 +26,9 @@ while True: ...@@ -26,8 +26,9 @@ while True:
screen.blit(bg,(0,0)) screen.blit(bg,(0,0))
screen.blit(right,position[-1]) screen.blit(right,position[-1])
for i in range(len(position)-1): for i in range(len(position)-1):
screen.blit(bd, screen.blit(bd,position[1])
screen.blit(app,(360,300)) screen.blit(app,(360,300))
pygame.display.update() pygame.display.update()
FPSCLOCK.tick(3)
\ 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