Commit 6ea02d75 by BellCodeEditor

save project

parent 9723608f
Showing with 6 additions and 0 deletions
......@@ -18,6 +18,12 @@ hero = [pygame.image.load('hero1.png'),
pygame.image.load('hero3.png'),
pygame.image.load('hero4.png'),
pygame.image.load('hero5.png')]
class Block(pygame.sprite.Sprite):
def __init__(self,image1,image2,image3):
super().__init__()
self.image=random.choice([image1,image2,image3])
self.rect.x=1000
self.rect.y=500-self.rect.height
a=0
index = 0
y = 400
......
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