why do particle effects often keep going in the background when you pause a game while everything else is frozen in place?

495 views

why do particle effects often keep going in the background when you pause a game while everything else is frozen in place?

In: 315

16 Answers

Anonymous 0 Comments

If you want to make something move inside a game engine, you need a global delta time variable, i.e a clock that keeps on ticking as the game runs. This changing number can be used to change an objects features, for example its position.

It could be that the game engine uses a different clock for its particle systems, and another clock for everything else. When you pause the game, what the game does is that it halts the increasing of the global clock variable, and hence halts any change in the objects. So if the particle system has an independent clock, pausing the game wont halt the particle systems clock.

Could you provide an example of the particle system being unlinked from the rest of the game?

You are viewing 1 out of 16 answers, click here to view all answers.