add fps to debug
This commit is contained in:
parent
fe12bd7404
commit
30ba66ab6c
1 changed files with 8 additions and 0 deletions
|
|
@ -271,6 +271,14 @@ class DebugMenu(Menu):
|
|||
),
|
||||
(10, 80),
|
||||
)
|
||||
self.surf.blit(
|
||||
self.font.render(
|
||||
f"fps: {round(self.game.clock.get_fps())}",
|
||||
True,
|
||||
(255, 255, 255),
|
||||
),
|
||||
(10, 95),
|
||||
)
|
||||
|
||||
|
||||
class LightSource:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue