-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Move the already existent tools into bevy_dev_tools
and creation of new ones
#12351
Comments
Can you update your message with a checklist of tools so we can track them as they get moved? :) These should be moved one tool at a time, to ease burden on reviewers and make sure things don't get stuck pointlessly. |
I did a little checklist here. Let me know if there is anything that can be improved :) |
I added Light Gizmos to the checklist: Noticed that this is a debug tool and even adds a plugin to the app |
I disagree on moving some gizmos to the dev tools. It should be either all of them or none, and I think I would prefer none. We could move the mechanic to draw them automatically for all entities, but the gizmo themself should stay with the others |
I agree here that moving something like the ArrowBuilder don't make sense: after all, they are just a "line composer", if I can say that. However, that's not the case of the Aabb gizmos and Light Gizmos: they are plugins Added by the user when they enable bevy_gizmos, they add systems and "event trackers" to entities to drawn above entities automatically, and they even have resources to enable that behavior or disable. So, IMO, those two In specific are exactly the meaning of dev tools. |
Yeah to me those two are "dev tools that happen to be built using gizmos". Like Pablo says, there's a qualitative difference between those two and the remaining gizmos. Just like we shouldn't put "dev tools built using UI" in |
I would add:
|
I don't think this can be here, because this isn't much of a tool, even if it works for debugging. And It use some fields in types that aren't public. This can be solved, But I don't see much a reason to move it in I think FPS counter can be a controversial decision. But I agree that its a tool and can be moved. |
FPS counter is high on my list :) I think that the UI layout debug should be refactored so it can fit well into this crate. |
bevy_dev_tools
bevy_dev_tools
and creation of new ones
I changed this issue to track new tools too. If there is anything that I forgot, feel free to comment here |
We should probably restrict the scope of this issue to "PRs that are already open": otherwise we'll never manage to close it :) Ideas for new features deserve their own issues. |
# Objective - Part of #12351 - Add fps overlay ## Solution - Create `FpsOverlayPlugin` - Allow for configuration through resource `FpsOverlayConfig` - Allow for configuration during runtime ### Preview on default settings ![20240308_22h23m25s_grim](https://github.com/bevyengine/bevy/assets/62356462/33d3d7a9-435e-4e0b-9814-d3274e779a69) --------- Co-authored-by: Alice Cecile <[email protected]>
I agree. I think there are better paths:
"gizmos" are a clear enough feature slice that putting them in the |
Blocked on the RFC |
What problem does this solve or what need does it fill?
After #11341, we now have a canonical place to store our native tools in a better way
What solution would you like?
The moval of the following tools:
- Aabb gizmos: #12354- Light gizmosAnd the creation of the new tools, like the following ones:
What alternative(s) have you considered?
None
Additional context
Message related of which tools we can try to move first:
https://discord.com/channels/691052431525675048/789987800014651412/1215063888064938064
See #11341 for more information.
The text was updated successfully, but these errors were encountered: