Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

游戏结束,cpu飙升 #10

Open
yiliyili opened this issue Oct 14, 2017 · 3 comments
Open

游戏结束,cpu飙升 #10

yiliyili opened this issue Oct 14, 2017 · 3 comments

Comments

@yiliyili
Copy link

qq 20171015001719

@yiliyili
Copy link
Author

在ubuntu下游戏结束后,点击左上角不能退出,cpu升到90多

@Kill-Console
Copy link
Owner

Kill-Console commented Oct 20, 2017 via email

@CodeLongAndProsper90
Copy link
Contributor

It looks like the frame-rate is too high.
clock.tick(60) seems to be too high a framerate.
45 FPS seems to use ~20% CPU, on an Intel i5.

CodeLongAndProsper90 added a commit to CodeLongAndProsper90/PythonShootGame that referenced this issue Jan 1, 2020
Kill-Console added a commit that referenced this issue Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants