bevyengine / bevyengine/bevy

Render the FPS overlay with sprites instead of with UI elements

Open
#21,022 1 comment 1 reaction 0 assignees View on GitHub
A-Dev-Tools C-Usability S-Ready-For-Implementation X-Contentious
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

I think that since the FPS overlay isn't interactive and it doesn't require complex layout, I think a better fix would be to draw it using `bevy_sprite`. Then the overlay could be used without pulling in all the UI dependencies etc.

This is fine though, and it fixes the immediate problem.

_Originally posted by @ickshonpe in https://github.com/bevyengine/bevy/pull/21016#pullrequestreview-3221296338_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.