Generally getting assets off disk and into memory.
19
votes
8answers
3k 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 ...
3
votes
3answers
405 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, ...
2
votes
1answer
623 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 ...
15
votes
4answers
3k 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 ...
6
votes
2answers
702 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
2answers
226 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?
...
2
votes
2answers
1k views
rpg 3d open world map & entity loading-streaming
Hello I'm a web developer and recently I started reading about game development.
I followed some tutorials regarding c++ and openGL (whatever I could find online because as you know not many up to ...
1
vote
2answers
2k views
Dynamically load images inside jar
I'm using Slick2d for a game, and while it runs fine in Eclipse, i'm trying to figure out how to make it work when exported to a runnable .jar. I have it set up to where I load every image located in ...
0
votes
1answer
282 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 ...