|
@@ -21,7 +21,7 @@ while running:
|
|
|
# fill the screen with a color to wipe away anything from last frame
|
|
# fill the screen with a color to wipe away anything from last frame
|
|
|
screen.fill("red")
|
|
screen.fill("red")
|
|
|
|
|
|
|
|
- pygame.draw.circle(screen, "red", player_pos, 40)
|
|
|
|
|
|
|
+ pygame.draw.circle(screen, "white", player_pos, 40)
|
|
|
|
|
|
|
|
keys = pygame.key.get_pressed()
|
|
keys = pygame.key.get_pressed()
|
|
|
if keys[pygame.K_w]:
|
|
if keys[pygame.K_w]:
|