Delta Time
2025/12/27
- Type
- Learning Resource
- Format
- Glossary Article
- Version
- General
- Subject Tags
- Created
- Updated
- 2026/02/16
- 2025/12/27
In game development, delta time is the time that passed since the last frame. It's a decimal number that represents the time between two frames.
If your game runs at 60 frames per second, delta will be approximately 1/60 or 0.01666666666666667 seconds.
Delta time is not always constant. It can vary depending on the game's performance and how many things are happening at the same time. It may also vary because of external factors, like other applications being open on the computer. If we could ensure delta time was constant, it would be a global variable; but because it can change on each frame cycle, it is passed as a parameter to the _process() and _physics_process() functions in Godot.
Delta time is crucial for making your game framerate-independent. If you use delta time in your game's logic, your game will run at the same speed regardless of the framerate.
Don't stop here. Step-by-step tutorials are fun but they only take you so far.
Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.
Get help from peers and pros on GDQuest's Discord server!
20,000 membersJoin ServerThere are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!
Sponsor this library by learning gamedev with us onGDSchool
Learn MoreImprove and build on assets or suggest edits onGithub
Contributeshare this page and talk about GDQUest onRedditYoutubeTwitter…