Archive 17/01/2023.

Best way to pause the game?

thebluefish

I want to pause the game when the player goes into the pause menu. The UI should still be working, but physics and other updates should not.

I’ve played around with changing:

to:

and using SetPausedMinimized to toggle this. It works great in actually pausing the game without causing further issues, but the UI doesn’t update as a result. So before I go hack up the engine again, I want to make sure I’m not missing something huge.

friesencr

The scene object is by default automatically updated every frame.

urho3d.github.io/documentation/a … cfd95db635

This may be what you want.

thebluefish

That works perfectly, thank you.

gawag

The links is dead now and I think it lead to urho3d.github.io/documentation/1 … cfd95db635

Works as I hoped.