logoalt Hacker News

kdheiwnstoday at 9:46 AM0 repliesview on HN

Unity does this. You get scaledDeltaTime (when you set game speed to 0, it'll return 0) and unscaledDeltaTime (returns time between frames ignoring game speed). Pauseable logic uses the former. Pause menus use the latter.