mirror of
https://github.com/d3vyce/Python-Game.git
synced 2025-07-01 17:38:19 +02:00
add FPS to draw_level function
This commit is contained in:
@ -65,7 +65,7 @@ def main():
|
|||||||
Move_loop -= 1
|
Move_loop -= 1
|
||||||
|
|
||||||
# Draw Scene
|
# 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()
|
pygame.display.flip()
|
||||||
|
|
||||||
# Print current fps
|
# Print current fps
|
||||||
|
Reference in New Issue
Block a user