Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Thanks for the feedback! A friend on an older Mac also had the same issue. Quick question for anyone really...is Time.deltaTime supposed to fix frame rate issues or is there still a stress point? I'm still new to programming

(1 edit) (+1)

This might have the answer, https://medium.com/star-gazers/understanding-time-deltatime-6528a8c2b5c8 (note: I haven't done any serious dev in Unity, and only briefly glanced at the article)

That's a great article!

Thanks for this! I'll definitely be giving it a read.

In Unity, the update method gets executed every frame, but everyone's computer performs differently, so Time.deltaTime is used to ensure that things like movement calculations are consistent across all computers! For example, if someone has a fast computer giving them more fps, the update method gets executed much faster, so Time.deltaTime prevents the movement from being way too fast!

It doesn't fix frame rate issues, that just has to do with how demanding the game is and how good the player's hardware is. Hope that helps a bit!

(+1)

Yes, it does help! I think I misunderstood some what it's function is so thanks for clearing that up.