Skip to content

Conversation

@ignoxx
Copy link
Contributor

@ignoxx ignoxx commented Feb 5, 2025

Hey 👋

This PR makes the maxDeltaTime for ecs.Time adjustable, right now it's capped at max. 30 ticks/s but for my usecase i'm running the Update() 10 ticks/s and the deltaTime is incorrect becaues of the cap!

This way i can just create my own ecs.Time struct with my preffered maxDeltaTime, so no changes to the NewTime() function itself :)

Copy link
Owner

@yottahmd yottahmd left a comment

Choose a reason for hiding this comment

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

Hey @ignoxx 👋
Thanks for the great improvement! ✨✨✨LGTM✨✨✨

@yottahmd yottahmd merged commit 1fc6141 into yottahmd:main Feb 5, 2025
1 check passed
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