ForNeVeR / ForNeVeR/O21

Incorrect calculation of new time

Open
#159 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
F#
Stars
30
Forks
9
PR merge metrics
No merged PRs in 30d

Description

When the game update has stopped (by focusing or hiding the window), time continues to increasing.
This creates problems such as incorrect bullet movement or incorrect timer operation for generating particles.

We need to track time, when window is not active and subtract it from the total time.

- [x] Game pause (#84)
- [ ] Window dont active, resizes or moves

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.