Compare commits
No commits in common. "a79fcc74b2a68f1ed46d5558d587d69c9b827196" and "a7230674a1b297be048e0737d2b46c51295cd2c1" have entirely different histories.
a79fcc74b2
...
a7230674a1
Binary file not shown.
3
main.py
3
main.py
|
|
@ -14,7 +14,6 @@ jumping = False
|
|||
STANDING_SURFACE = pygame.transform.scale(pygame.image.load("images/character1.png"), (48, 64))
|
||||
JUMPING_SURFACE = pygame.transform.scale(pygame.image.load("images/character2.png"), (48, 64))
|
||||
BACKGROUND = pygame.image.load("images/back.png")
|
||||
BACKGROUND_MAIN = pygame.image.load("images/back_main")
|
||||
|
||||
crest = STANDING_SURFACE.get_rect(center = (X_POS, Y_POS))
|
||||
|
||||
|
|
@ -37,7 +36,7 @@ while True:
|
|||
jumping = True
|
||||
SCREEN.blit(wall_image, wall_right)
|
||||
SCREEN.blit(wall_image, wall_left)
|
||||
SCREEN.blit(BACKGROUND_MAIN, (0, 0))
|
||||
SCREEN.blit(BACKGROUND, (0, 0))
|
||||
SCREEN.blit(door_image, door_rect)
|
||||
|
||||
if crest.colliderect(wall_right):
|
||||
|
|
|
|||
Loading…
Reference in New Issue