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

Change construction timer to operate on delta values #51

Open
wants to merge 3 commits into
base: master
from

Conversation

@AndyTechGuy
Copy link
Contributor

commented Aug 6, 2019

Contains

A change to the settlement construction update function, to use delta values in the timer instead of a fixed timer. This has two benefits:

  1. The settlements will generate at the same rate (40 seconds per cycle & 10 seconds for the first cycle), no matter how fast the player's computer is.
  2. Fixes #50, since delta is always zero when the game is paused.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.