Questions tagged [loading]

Generally getting assets off disk and into memory.

Filter by
Sorted by
Tagged with
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 ...
Syed 's user avatar
  • 959
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.
enon's user avatar
  • 443
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 ...
KRB's user avatar
  • 400
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 ...
omgnoseat's user avatar
  • 1,164
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 ...
bobobobo's user avatar
  • 17k
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 ...
Toji's user avatar
  • 423
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....
Brian's user avatar
  • 51
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 ...
Bill's user avatar
  • 1,072
-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() ...
Yashwinder's user avatar
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'...
omgnoseat's user avatar
  • 1,164
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 ...
ltjax's user avatar
  • 851
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?
Tito's user avatar
  • 187
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 ...
Bill's user avatar
  • 1,072
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 ...
Artemix's user avatar
  • 527
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 ...
Dfowj's user avatar
  • 309
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 ...
topright's user avatar
  • 1,300
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 ...
sonicbhoc's user avatar
  • 351
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 ...
Bryan Denny's user avatar
  • 5,103
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 ...
McKay's user avatar
  • 185
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 ...
PrettyPrincessKitty FS's user avatar
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 ...
Bryan Denny's user avatar
  • 5,103
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 ...
pek's user avatar
  • 2,767

1 2 3
4