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

Improved game speed scripting #1629

Merged
merged 1 commit into from
Dec 31, 2020
Merged

Conversation

Semphriss
Copy link
Member

Added:

  • Minimum value of 0.05 to avoid slowing down the game to unreasonable levels, or freezing the game with a speed of 0, or breaking the game with negative values
  • Speed multiplier resets when changing screen (to not propagate the spped multiplier too much)
  • Game speed is now a multiplier and not a divisor (A value of 2 means double speed; it used to mean half speed)

Added:
- Minimum value of 0.05 to avoid slowing down the game to unreasonable levels, or freezing the game with a speed of 0, or breaking the game with negative values
- Speed multiplier resets when changing screen (to not propagate the spped multiplier too much)
- Game speed is now a multiplier and not a divisor (A value of 2 means double speed; it used to mean half speed)
@tobbi tobbi merged commit 2446ecd into SuperTux:master Dec 31, 2020
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