I made a separate post here instead of the thread for my game since this question may help someone else with the same issue.
I have an issue of deciding whether to load a mini dungeon within my game when the player enters one or
loading all the mini dungeons before the game starts.
Can anyone comment about the advantages or disadvantages about each method?
What would you personally do in this situation?
Loading dungeons, preload all or load dynamically at runtime?
- Deckhead
- Site Admin
- Posts: 128
- Joined: Fri Feb 21, 2020 5:44 am
- Location: Sydney, Australia
- Contact:
Re: Loading dungeons, preload all or load dynamically at runtime?
Depends totally on what devices you intend to target.
Loading all dungeons means loading them all into memory. If you're targeting phones for example, which have lower amount of memory, you probably wouldn't want to do this.
But loading when requiring the dungeon likely means loading screens.
Personally I would just load a dungeon when needed. There's no point in using memory you don't need to until you need it. An exception might be a very small game that I intend to have run super-fast, like a loading screen would be detrimental to the experience (I can't think of an example, but basically if you can't have the player experience a loading screen then you need to load into memory beforehand, or have background loading).
Loading all dungeons means loading them all into memory. If you're targeting phones for example, which have lower amount of memory, you probably wouldn't want to do this.
But loading when requiring the dungeon likely means loading screens.
Personally I would just load a dungeon when needed. There's no point in using memory you don't need to until you need it. An exception might be a very small game that I intend to have run super-fast, like a loading screen would be detrimental to the experience (I can't think of an example, but basically if you can't have the player experience a loading screen then you need to load into memory beforehand, or have background loading).
Developer of The Last Boundary and webmaster of IndieGameDev.net
Re: Loading dungeons, preload all or load dynamically at runtime?
Thanks!
I think I will just load the dungeon only when the player enters it since I want to make the game run well on older less powerful computers.
I think I will just load the dungeon only when the player enters it since I want to make the game run well on older less powerful computers.