Before I go spending lots of time figuring this out myself I’d like to see if anyone here has implemented this or could at least point me in a good direction.
I’m creating a pause screen/inventory that when opened should stop updating all the entities in the world. You can change weapons/armour/game options etc and when you return to the game all the changed variables get saved and entities continue to update.
How would this best be achieved? I know I can’t stop super.update() on the world because it will pause the Inventory/options menu as well. Could I perhaps stop all the entity updates other than the Inventory? Or have a separate world for the menu and switch between them? The latter option I don’t like the sound of at all, because for one I would like the game world to still be visible when messing around in the pause menu. Could I perhaps add an IF statement to all the entities, saying something like " if not paused, update, otherwise stop update", and the world itself doesn’t stop updating?
In the end though I don’t mind having a DARK SOULS kind of inventory but I would still appreciate any help