Delta Time

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Delta Time

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.

Why approximately?

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.

Why is delta time important?

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.

Become an Indie Gamedev with GDQuest!

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.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!