Commit ad7180e7 by BellCodeEditor

save project

parent 2742489a
Showing with 4 additions and 0 deletions
import pygame
from pygame import locals
import random
lu_x=0
shan_x=0
class Block(pygame.sprite.Sprite):
def __init__(self,image1,image2,image3):
......@@ -63,6 +65,8 @@ while True:
index += 1
if index >= 5:
index = 0
# 将背景图画上去
shan_x -=2
if shan_x <-1000:
......
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