ensisoft / detonator

2D game engine and editor 💥💣
GNU General Public License v3.0
310 stars 12 forks source link

Add support for parallel/multiple active scenes #159

Open ensisoft opened 1 year ago

ensisoft commented 1 year ago

Add support for parallel scenes. Use case, a player character is exploring a map of some sort, the player character enters a building etc. The game should open a new scene that is the interior of the building. This means loading a new scene while keeping the previous scene state. Either keep the previous scene loaded (and either suspend or continue updates) or persist the scene to a temporary storage and load it back later when the next scene ends.

ensisoft commented 1 year ago

Use case for this type of functionality is for example the player character entering a building etc which loads up the interior scene for that building.