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

Use a simulation rate of 30 steps per second instead of 10 #355

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

patowen
Copy link
Collaborator

@patowen patowen commented Feb 19, 2024

A faster tick rate reduces the lag between mouse clicks and the modification of terrain, which would be a good quality of life improvement, especially while prediction is not implemented for terrain modification.

Copy link
Owner

@Ralith Ralith left a comment

Choose a reason for hiding this comment

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

Could still go higher; even 30Hz is pretty low for a real-time game, I think!

@patowen patowen changed the title Use a simulation rate of 20 steps per second instead of 10 Use a simulation rate of 30 steps per second instead of 10 Feb 19, 2024
@patowen
Copy link
Collaborator Author

patowen commented Feb 19, 2024

Sounds good to me. I bumped it up to 30. Going up to 60 might be nice, but it does increase required bandwidth etc. so I'll only bump it up further if you suggest such a change explicitly.

@Ralith
Copy link
Owner

Ralith commented Feb 19, 2024

I don't foresee bandwidth being a problem, but this seems like a happy medium.

@Ralith Ralith merged commit 6392ee8 into Ralith:master Feb 19, 2024
6 checks passed
@patowen patowen deleted the faster-tick-rate branch February 25, 2024 16:44
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.

2 participants