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

Need Doc to explain why The loop for MinimalPlugins runs as fast as possible #17147

Closed
alexniver opened this issue Jan 4, 2025 · 0 comments · Fixed by #17241
Closed

Need Doc to explain why The loop for MinimalPlugins runs as fast as possible #17147

alexniver opened this issue Jan 4, 2025 · 0 comments · Fixed by #17241
Labels
A-App Bevy apps and plugins C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it!

Comments

@alexniver
Copy link

How can Bevy's documentation be improved?

Empty MinimalPlugins cause high cpu usage,could makes new user confusing

App::new().add_plugins(MinimalPlugins).run();

according to this post
The loop for MinimalPlugins runs as fast as possible

I think doc need to explain why, and how to control the fps.

@alexniver alexniver added C-Docs An addition or correction to our documentation S-Needs-Triage This issue needs to be labelled labels Jan 4, 2025
@BenjaminBrienen BenjaminBrienen added D-Trivial Nice and easy! A great choice to get started with Bevy A-App Bevy apps and plugins S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it! and removed S-Needs-Triage This issue needs to be labelled labels Jan 4, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 9, 2025
This also includes suggestions and an example on how to limit the loop
speed.
Fixes #17147.

---------

Co-authored-by: François Mockers <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-App Bevy apps and plugins C-Docs An addition or correction to our documentation D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Implementation This issue is ready for an implementation PR. Go for it!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants