-
Notifications
You must be signed in to change notification settings - Fork 208
maximum speed for mainloop ? #373
Copy link
Copy link
Open
Description
I'm using pgzero for a race game in linux. For testing, I need to run the whole race automatically.
Currently, with pgzero locked to 60FPS, it takes quite long.
So I edit game.py to run at 1000 FPS.
This works, but editing a framework file makes me feel bad :)
I tried to write my own mainloop by calling draw and update, but it throws an error, that no screen can be opened.
Question:
Can the FPS be made adjustable ?
Alternatively is there a simple way to replace the mainloop to get rid of the FPS-delay ?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels