added player rotation

This commit is contained in:
specCon18 2025-01-14 13:17:46 -05:00
parent ef4695aae2
commit 5b8a9dd113
3 changed files with 15 additions and 3 deletions

View file

@ -17,8 +17,8 @@ def main():
return
screen.fill((0, 0, 0))
p1.draw(screen)
p1.update(dt)
pygame.display.flip()
tick = clock.tick(60)
dt = tick/1000
if __name__ == "__main__":