Commit 98636450 by BellCodeEditor

save project

parent e899c62a
Showing with 2 additions and 2 deletions
...@@ -38,8 +38,8 @@ t = 30 ...@@ -38,8 +38,8 @@ t = 30
bg_x = 0 bg_x = 0
road_x = 0 road_x = 0
# 创建障碍物 obstacle = Block(bush,cacti,stone) # 创建障碍物
obstacle = Block(bush,cacti,stone) block_list = pygame.sprite.Group() #创建精灵组
while True: while True:
for event in pygame.event.get(): for event in pygame.event.get():
......
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