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

Show the current TPS if it is slower than the target. #2062

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

noahyor
Copy link
Member

@noahyor noahyor commented Jul 20, 2024

Closes #1561.

where
tpf = s ^. uiState . uiGameplay . uiTiming . uiTPF
fps = s ^. uiState . uiGameplay . uiTiming . uiFPS
tps = fps / tpf
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't tps = tpf * fps? ticks/frame * frames/sec = ticks/sec. fps / tpf would be in units of square frames per tick-second or something like that.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops.. I guess I didn't do my math right

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

Successfully merging this pull request may close these issues.

Better/more informative TPS/FPS display
2 participants