Generally getting assets off disk and into memory.
1
vote
2answers
42 views
how to set image resource path for D3DXCreateTextureFromFileEx method?
I try to merge all the image resources to a folder called resource. So, set image path as "resource/" but my directX framework only works if I compile at VS 2010. If I run from the debug folder it ...
1
vote
1answer
38 views
Android Game Development. Async Task. Loading Bitmap Images Sounds
Im working on this game for android.
And wanted to know if my thread architecture was right or wrong.
Basically, what is happening is, i am loading All the bitmaps,sounds etc in the ...
0
votes
1answer
67 views
SFML fail to load image as texture
I have come to a problem with the code below ...
Using SFML 2.0
#include <SFML/Graphics.hpp>
#include <iostream>
#include <list>
int main()
{
float speed = 5.0f;
// create the ...
0
votes
0answers
105 views
Resource/Asset Manager [duplicate]
I'm creating a ResourceManager.
At the beginning i'm creating a groups of resources which contain a map of resources. The role of groups is to quick load/unload resources, to find some constant, never ...
0
votes
0answers
42 views
GLRenderer will not run when resuming app
I'm displaying a dialogue over my GLRenderer and then dismissing it from my Renderer's onSurfaceChanged method (once all resources have loaded and just before rendering starts)
When I first run my ...
1
vote
2answers
111 views
Simple Android loading screen when using OpenGL
My game uses openGL ES 2.0 on Android and it's got to the point where the pause (while loading resources) has become noticeable.
All I'm after is to show a static screen (probably via an XML layout ...
0
votes
2answers
128 views
How to reduce/handle image loading times?
I'm working on a 2D game that has very high resolution images (so that things look good on Retina MacBooks and such), and am seeing a noticeable lag caused by image loading.
I notice the strongest ...
2
votes
1answer
125 views
Displaying animations during loading screens
Games like Karateka (which uses UDK) seem to be able to asynchronously load GL assets as well as display animation.
The splash is incredibly short, then presumably their glView shows up.
I can think ...
2
votes
2answers
257 views
Implementing multithreaded loading screens
Ok, I have fairly little multi-threading experience, but i have done a similar thing before without issue...but this has me stumped.
This is in C++, Directx9 Visual Studio...
My game basically runs ...
2
votes
2answers
111 views
How can I access bitmaps created in another activity?
I am currently loading my game bitmaps when the user presses 'start' in my animated splash screen activity (the first / launch activity) and the app progresses from my this activity to the main game ...
2
votes
1answer
102 views
How do I manage multiplayer login?
How is the typical login, loading the level and spawning handled?
For example:
Client sends "iwanttologinwithcharacterx"
Server does some validity checks and instantiates characterx
Server sends ...
2
votes
2answers
344 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 ...
0
votes
1answer
96 views
How to load images on startup
I want to load all my game's images on the game's startup and have a loading bar to show it's progress. I already know how to create and display the loading bar, but I can't figure out how to load the ...
2
votes
2answers
314 views
In Unity, can I load a local (/Resources folder) website to safari on an ipad
In Unity, can I load a local (/Resources folder) website to safari on an ipad?
This works fine on a Mac, opening up a wepage from my Resources folder.
string path = ...
2
votes
1answer
134 views
Loading files while running game
I am curious as to what technique(s) are used to load files in while a game is running. For example, Minecraft will load chunks as you get within a certain range of them. How is this achieved without ...
0
votes
1answer
173 views
Apply bone tranforms when importing FBX in XNA
Preconditions: I have some models, that does only contain some meshes and one texture. There is no animation within the model. An example: a model of a table.
I want to draw the Model with a custom ...
1
vote
1answer
129 views
Terrain square loading
Games like Skyrim, Morrowind, and more are using quads or square to divide the terrain if im correct. The player is always at #5
1 | 2 | 3
4 | 5 | 6
7 | 8 | 9
So whenever you cross the border you ...
1
vote
1answer
255 views
Saving and Loading the Game (Automatically or Manually) via Internal Storage Only (Tablet PC Issues)
Here is my question. When making a game app for Android, I considered first the device. It's no problem to save progress everything (from levels to records) on a smartphone because it has an SD Card ...
-1
votes
1answer
819 views
Asset missing problem XNA
I'm using VS2010 with XNA 4.0 and I'm trying to load an FBX model with texture on the screen. The problem I'm having is this error:
Missing Asset: C:\Users\ChocoMan\Documents\Visual Studio ...
0
votes
2answers
213 views
Logic / Render phases with a single thread
The question I have may generate different opinions from different developers, but I'd still like to have an answer on this.
Its all about the updating and rendering steps of the game loop, and their ...
3
votes
1answer
623 views
How to load data for specific level at runtime?
I'm trying to create a game with many levels loaded from XML files. In my game I have many objects in each level.
At present my game contains 20 levels, and I load all the textures at once on ...
1
vote
2answers
672 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 ...
1
vote
1answer
434 views
Hidden Loading with UDK
I was wondering, how would I go about creating hidden loading scenes with UDK? For example, a character walks in to an elevator, the elevator fakes movement, whilst the previous floor is destroyed and ...
1
vote
2answers
218 views
Optimization and Saving/Loading
I'm developing a 2D tile based game and I have a few questions regarding it.
First I would like to know if this is the correct way to structure my Tile class:
namespace TileGame.Engine {
public ...
0
votes
1answer
4k views
DevIL image library isn't loading my image
This is the first time I've had this problem, my code just won't load the images I need it to.
Here is my first function for loading the image into data:
void ...
5
votes
1answer
249 views
Loading content (meshes, textures, sounds) in the background
In my game, I am aiming for a continuous world, that is, a world where you can go anywhere without breaking the immersion through load times and "virtual seams".
My world is broken up into regions, ...
4
votes
1answer
310 views
Clever way to do the Sonic 2 Bonus Stage effect saving memory
What would be a good way to save memory to achieve an effect like this one?
http://www.youtube.com/watch?v=K89LkvL9JZ0
We're using pre-rendered 3D.
I'm asking this because this naive approach of ...
0
votes
2answers
246 views
How to get this wavefront .obj data onto the frustum?
I've finally figured out how to get the data from a .obj file and store the vertex positions x,y,z into a structure called Points with members x y z which are of type float. I want to know how to get ...
2
votes
1answer
295 views
Loading files during run time
I made a content pipeline extension (using this tutorial) in XNA 4.0 game.
I altered some aspects, so it serves my need better, but the basic idea still applies. Now I want to go a step further and ...
0
votes
1answer
414 views
Android Loading Screen: How do I use a stack to load elements?
I have some problems with figuring out what value I should put in the function:
int value_needed_to_figure_out = X;
ProgressBar.incrementProgressBy(value_needed_to_figure_out);
I've been ...
2
votes
5answers
2k views
Xna Loading Screens
I'm making a 2D XNA game. I'd like to implement loading screens when stuff has to load for a while. Like when I login to an account, connect to the server, and generate worlds. I'm pretty sure it ...
2
votes
1answer
451 views
Loading SpriteFont through a different class than Game.cs
I am trying to load up a single SpriteFont to print some debug information.
In our current game, we load up both Textures and Music through a ResourceManager. They are both loaded with a filestream, ...
1
vote
1answer
388 views
Custom Progress Bar
I have an image that has just letters on it with a transparent background. I was thinking that as my game is loading that these letters could "fill up" with a certain color. So they would start out ...
1
vote
1answer
1k views
Using NinePatch in libGDX for Loading Bar
I am trying to create images for a loading bar in libGDX. I came across the NinePatch class and I was hoping to use it for this loading bar, since stretching images with a plain Texture or Sprite ...
0
votes
2answers
1k views
As3 Random movieclips from an array to the stage
For a game with orders and clients I was trying to create the following situation:
Every half minute, a client should appear at the counter. In this case I have an array with 4 movieclips (4 ...
8
votes
3answers
451 views
Pre game loading time vs. in game loading time
I'm developing a game in which a random maze is included.
There are some AI creatures, lurking the maze. And I want them to go in some path according to the mazes shape.
Now there are two ...
4
votes
1answer
3k views
Using the AssetManager in LibGDX
I am trying to use the AssetManager class in LibGDX and I understand how it works but I am trying to implement a loading screen. I have followed the AssetManagerTest.java file here, but I am having a ...
2
votes
4answers
1k views
Why does using multithreading during my load screen increase my load times? [closed]
OK, I added a loading screen to my game, and in order for the game able to update and show a loading screen and load stuff in the background I came to the concludsion that I needed to host the loading ...
1
vote
1answer
1k views
How to create a splash (loading) screen in cocos2d for Android?
How to create a splash (loading) screen in cocos2d for Android?
I need a loading screen that shows my app name and after that the next scene will show automatically.
Thanks
0
votes
2answers
480 views
Load XNA Content Type from File
I'm writing my own level editor and recently got the exporter working so now I'm working on the importer. My save file structure looks essentially like this:
[ObjectType]
Property=Value
...
8
votes
5answers
4k 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 ...
33
votes
2answers
2k 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
2answers
648 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
1answer
257 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
1answer
452 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 ...
6
votes
1answer
771 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 ...
4
votes
3answers
444 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 ...
3
votes
2answers
569 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
1answer
222 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
2answers
191 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?
...