Questions tagged [loading]
Generally getting assets off disk and into memory.
12
questions
19
votes
8
answers
8k
views
What all should be happening during the "Loading" screen?
Do I just need to be creating instances of all of my graphics into memory that are loaded from file? What is the best way to handle this? Do I just need some sort of assets manager that creates ...
18
votes
3
answers
34k
views
Smooth loading screen between scenes
I created a loading screen to display a loading animation as the next scene is loading. I load the next scene asynchronously with:
...
3
votes
3
answers
2k
views
Directory paths for resources and assets
If I have a file stucture for my final, released game something like:
Main folder
Media
Images
Other assets
Sounds
Executable
List item
And a different one for my 'in development' project, with ...
2
votes
2
answers
1k
views
How do I make a progress bar with letters that get "filled in"?
I want to make a progress bar made of text! I have two images: One with the text in gray, the other coloured:
As my game is loading, I want the letters to "fill up" with color:
They would start ...
17
votes
4
answers
9k
views
How can I write a Save/Load system for my game?
I'm trying to figure out a way to write a save/load system for my game in C++. As of right now, I'm doing it all using binary flags. Anyone got a clue on how to do it another way? I don't mind using ...
11
votes
3
answers
3k
views
Why do prefabs speed up loading?
I have a scene with a massive terrain. It took a long time to load (approximately 60 seconds) when I pressed play. I am in the editor.
I prefabbed it.
Now it only took about 5 seconds to load when ...
9
votes
6
answers
2k
views
Why can't I read .ttf file when running Android configuration?
When running or debugging my game on Android device, I get this error in the logcat:
com.badlogic.gdx.utils.GdxRuntimeException: Error reading file: data/fonts/myFont.ttf (Internal)
Which is ...
6
votes
2
answers
838
views
How do I load chunks of data from an assest manager during a loading screen?
I'm developing an Android game. Basically I want to pre-load all graphics/sounds when the app is first loaded. But I also would like to show a progress bar as this is happening. Here is a snippet ...
5
votes
2
answers
303
views
Switching between levels, re-initialize existing structure or create new one?
This is something I've been wondering for quite a while.
When building games that exist out of multiple levels (platformers, shmups etc) what is the prefered method to switch between the levels?
Let'...
1
vote
1
answer
652
views
Distinction between constant and changeable game objects in save/load game?
Do you distinguish constant and changeable game objects when you save/load game? If yes, how do you do it?
If not to save constant objects (for example, mountains and trees), we optimize memory usage ...
0
votes
1
answer
173
views
How can i load a level in my gameengine wich is larger than 2GB? C#
i were asking myself how could i load a large Level? My gameengine is written in C# and is rendering with Direct3D11. I just have my class called "Scenery" and the class is able to store all objects ...
0
votes
3
answers
1k
views
Open world loading/unloading with asset bundle in unity
I have a very large environment which I have to load/unload in unity Webgl as I can't load them at once. So, I have divide the environment into 1000 x 1000m (1km) (each chunk is consist of three layer ...