Skip to content

Skip drawing frame to improve performance #1797

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

TaranDahl
Copy link
Contributor

Skip drawing frame to improve performance

  • Now you can make the game skip the drawing by 1 frame every SkipFrameDelay when the frame rate is lower than the vanilla defined DetailMinFrameRateNormal. This helps alleviate the frame rate drop caused by drawing.
    • This logic only takes effect when SkipFrameDelay is greater than or equal to 2.

In RA2MD.INI:

[Phobos]
SkipFrameDelay=0  ; integer

Copy link

github-actions bot commented Aug 4, 2025

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@Metadorius
Copy link
Member

Most interesting is how the frame skip will behave in multiplayer.

@TaranDahl
Copy link
Contributor Author

Most interesting is how the frame skip will behave in multiplayer.

My tester said it works fine in MP.

@MahBoiDeveloper
Copy link

What about to add feature to the yr-spawner and test make a public test from yr beta branch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants