mirror of
https://github.com/d3vyce/Python-Game.git
synced 2025-04-02 20:03:22 +02:00
add FPS to draw_level function
This commit is contained in:
parent
fdeff9e17f
commit
e46fe34ea0
@ -65,7 +65,7 @@ def main():
|
||||
Move_loop -= 1
|
||||
|
||||
# Draw Scene
|
||||
Screen = window.draw_level(Screen, Matrix, Difficulty, Score, HEIGH, WIDTH)
|
||||
Screen = window.draw_level(Screen, Matrix, Difficulty, Score, int(clock.get_fps()), HEIGH, WIDTH)
|
||||
pygame.display.flip()
|
||||
|
||||
# Print current fps
|
||||
|
Loading…
x
Reference in New Issue
Block a user