@Nifflas We have this in the project I'm working on right now, and it's a fairly routine situation. There are a number of pop-up menus, and each of them pauses the game, and there might be more than one open at any given time.
Conversation
Notices
-
Embed this notice
Jacek Wesołowski (jzillw@mastodon.gamedev.place)'s status on Tuesday, 30-Apr-2024 17:33:48 JST Jacek Wesołowski -
Embed this notice
Nifflas (nifflas@mastodon.gamedev.place)'s status on Tuesday, 30-Apr-2024 17:33:49 JST Nifflas I solved an incredibly unusual situation that can only exist in an incredibly unusual game by implementing an incredibly unusual feature:
Pause stacking. Yes, you can stack multiple pauses. Only when you've unpaused the game as many times as there are stacked pauses, the game resumes.
One day, I will explain how this can make 100% sense in a game (but maybe not most games)
-
Embed this notice