undo test
This commit is contained in:
parent
7045933f6b
commit
be5c360123
@ -95,7 +95,7 @@ while True:
|
|||||||
screen.fill(bg_color)
|
screen.fill(bg_color)
|
||||||
for player in players:
|
for player in players:
|
||||||
player.sprite.x = (tile*player.x)+2
|
player.sprite.x = (tile*player.x)+2
|
||||||
player.sprite.y = (tile*player.y)
|
player.sprite.y = (tile*player.y)+2
|
||||||
pygame.draw.rect(screen, player.color, player.sprite)
|
pygame.draw.rect(screen, player.color, player.sprite)
|
||||||
|
|
||||||
pygame.display.flip()
|
pygame.display.flip()
|
||||||
|
Loading…
Reference in New Issue
Block a user