Commit eb04cb00 by BellCodeEditor

save project

parent 0521f72b
Showing with 1 additions and 1 deletions
...@@ -14,7 +14,7 @@ class Player(pygame.sprite.Sprite): ...@@ -14,7 +14,7 @@ class Player(pygame.sprite.Sprite):
super().__init__() super().__init__()
self.image=image1 self.image=image1
self.rect=self.image.get_rect() self.rect=self.image.get_rect()
self.rect.x=50 self.rect.x=150
self.rect.y=400 self.rect.y=400
pygame.init() # 初始化 pygame.init() # 初始化
# 创建一个窗口 # 创建一个窗口
......
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