Questions tagged [loading]
Generally getting assets off disk and into memory.
173
questions
8
votes
5
answers
12k
views
What is the logic behind the 'Loading' scenes in games?
I'm making my first game, it's a tower defense type of game, using Unity game engine and taking Fieldrunners as a reference. I would like to know more about the functionality behind 'Loading' scenes ...
34
votes
2
answers
3k
views
How does a game without loading times work?
We're talking about an expansive game that is not divided in levels or checkpoints. A 3D adventure, for example.
1
vote
2
answers
958
views
Game Loop: Should resources be initialized in the game loop or in the respective classes? (both?)
For example, lets say we have an enemy class in my Android game project. I am initializing the enemy bitmap to be used with certain sprites in my game loops init. I am then calling the respective ...
1
vote
1
answer
371
views
Loading tilemaps, entering buildings, chopping big maps
I´ve got some questions regarding the loading of tile maps.
I´ve got a world with several buildings in it that guide the user to a new map. This map can be a small room, but also a big area.
To change ...
9
votes
1
answer
1k
views
C++ Model loading API?
I'm looking for the most capable C++ model loading API.
So far I've found tons of ply, obj, and other such file format loaders. But the libraries I've found tend to load just one model type, and ...
7
votes
1
answer
6k
views
Are there any open source Source engine VTX/VVD viewers?
I've been playing with loading and displaying Source Engine models (TF2, specifically) and have had mild success, but there are some aspects of it that are eluding me still. I've been primarily ...
5
votes
3
answers
1k
views
Zelda LttP (Super Nintendo) room changes?
I'm trying to make a tile-world adventure game on iOS similar to Zelda Link to the Past on SNES, and one issue I've run into is having my camera move beyond walls revealing the rooms on the other side....
3
votes
2
answers
682
views
XNA: My bullets lag the game the first time they're fired, but not after
I'm working on a SpaceWar-esque project to get comfortable with XNA. I have a Ship DrawableGameComponent and a Bullet DrawableGameComponent. The player's Ship is created at the start of the game, and ...
-2
votes
1
answer
323
views
Problem while loading an image for a texture
I have built a slideshow in slimDX and is scrolling a text at the bottom of the images. But I am running through a problem that when my new image is loaded in by the help of Texture.FromFile() ...
5
votes
2
answers
302
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'...
5
votes
2
answers
150
views
File caching on the PC
Is it a good move to disable windows' file-caching capabilities (via I/O completion ports) for resource loading in a game environment? Most games will do their own resource management and caching ...
6
votes
1
answer
508
views
What is the general strategy to pre-load game data(entities/map)
I'm new to games programming and am wondering what tactics games use to pre-load entity and map data. Will a game initialise with the fundamental map data stored in memory?
6
votes
3
answers
5k
views
When should a bullet texture be loaded in XNA?
I'm making a SpaceWar!-esque game using XNA. I want to limit my ships to 5 active bullets at any time. I have a Bullet DrawableGameComponent and a Ship ...
9
votes
6
answers
13k
views
Library to load images into textures, Linux, C and OpenGl
I am looking for simple, self-contained C library for Linux to load images from files into OpenGL textures. The licence should be quite liberal: zlib, bsd, mit or something. I have found SOIL, however ...
1
vote
0
answers
245
views
Making a game preloader (Flash) [duplicate]
Possible Duplicate:
How do you create a single/internal pre-loader for a Flash game written using Flex?
Hi guys, Im trying to make a preloader in a Flash game.
Thing is, I need some advices on ...
3
votes
3
answers
4k
views
OpenGL and 3ds model loading: Path of least resistance?
Hey guys, im working on a final class project for a graphics class, and me and a teammate are making a simple 3d tower defense game.
We're currently planning on using 3ds models and drawing them ...
1
vote
1
answer
644
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 ...
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 ...
6
votes
2
answers
831
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 ...
6
votes
2
answers
2k
views
How do I prevent getting an access denied loading a file in XNA, when I have the application running in the program files directory (in Windows 7)?
I'm creating an app in XNA.
I'm trying to load a custom save file. I named the file with my own custom extension. It's an XML file serialized with the DataContractSerializer.
I've tried several ...
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 ...
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
8k
views
In XNA, how do I dynamically load parts of a large 2D world map?
I want to develop a huge world map; at least 8000×6000 pixels in size. I have broken it into a 10×10 grid of 800×600-pixel PNG images. To avoid loading everything into memory, the images should be ...