Where is the game loop?

I have been looking through the code, and it is a bit confusing. Main_Loop.cpp, and I don’t see a game loop in it. Main.cpp, and no loop in it.

Can anyone point me to any documentation on how the code base is written or what file I can look to find the game loop?

Edit: I believe I found it in Main::iteration(). But that term really is misleading. In software development iteration is used to denote an activity across a collection. A better term would be Main::LoopPass().

Godot is open source, so feel free to open a pull request :blush:

1 Like