Questions tagged [loading]

Generally getting assets off disk and into memory.

Filter by
Sorted by
Tagged with
19 votes
8 answers

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 ...
Bryan Denny's user avatar
  • 5,103
17 votes
3 answers

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: ...
Leo's user avatar
  • 1,565
3 votes
3 answers

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 ...
PrettyPrincessKitty FS's user avatar
2 votes
2 answers

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 ...
Alex_Hyzer_Kenoyer's user avatar
17 votes
4 answers

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 ...
sonicbhoc's user avatar
  • 351
9 votes
6 answers

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 ...
Davide Cattani's user avatar
6 votes
2 answers

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 ...
Bryan Denny's user avatar
  • 5,103
5 votes
2 answers

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'...
omgnoseat's user avatar
  • 1,164
1 vote
1 answer

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 ...
topright's user avatar
  • 1,300
0 votes
1 answer

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 ...
Kerbo Games's user avatar
0 votes
3 answers

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 ...
Muhammad Faizan Khan's user avatar