Questions tagged [preload]
The preload tag has no usage guidance.
19
questions
10
votes
4
answers
3k
views
Why do prefabs speed up loading?
I have a scene with a massive terrain. It took a long time to load (approximately 60 seconds) when I pressed play. I am in the editor.
I prefabbed it.
Now it only took about 5 seconds to load when ...
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 ...
3
votes
1
answer
4k
views
Preload multiple scenes at the same time and activate them on demand in Unity. [Unity, async, simultaneous]
Preload scene in unity - this question tells us about how we can pre-load a scene in Unity and load it on demand. What it doesn't tell us - how do we pre-load multiple scenes at the same time and also ...
0
votes
1
answer
156
views
How can I load assets dynamically on user's input in LibGDX HTML?
I am working with LibGDX and GWT and I am trying to publish my app as a HTML webapp, it has many assets with around hundred of folders, now I want to load them dynamically (user input is sent to JSNI, ...
1
vote
2
answers
10k
views
Preload scene in unity
I have a game with two scenes, menu and maingame. I have uploaded the game to googleplay. However when I open the game and click on the play button in the menu scene, the next scene (maingame) takes ...
0
votes
1
answer
49
views
My script to play the intro scene the first time the player hits play from the main menu wont work
The script I am using determines if it is the players first time hitting the play button and if it is it will load the intro scene, but if they have played before it will take them strait to the game ...
15
votes
2
answers
33k
views
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:
...
-1
votes
2
answers
1k
views
How to stop a object with progress bar so it can start instantly in unity [closed]
I have created a gameobject(cube) and written code to move,mean while the processbar get loading.when the processbar is loaded fully then the object should stop moving.Can anybody please help me ...
3
votes
1
answer
3k
views
(Phaser) Preload Future States in Create?
I'm a first time user of Phaser, been trying to make a simple point and click type game. I'm trying to keep things very modular, so I'm defining a list of levels (states) in a JSON, and then every ...
0
votes
1
answer
2k
views
Cocos2d how to correctly preload a spritesheet before the scene start?
I'm working on a game with Objective-C and Cocos2d, the game has a huge number of images, and obviously as I add images on the spritesheet (well yes I'm using spritesheets) the loading time get longer,...
0
votes
2
answers
1k
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 ...
0
votes
1
answer
773
views
Cocos2d patterns for simple texture management
I'd like to simplify the way I preload image resources in my Cocos2d based iOS apps. I've created a small object the just wraps a few of CCTextureCache's methods. It looks like this:
...
3
votes
2
answers
478
views
How to do pre-loading
I have a question that is confusing me with making a game.
For my game launch i pre load everything for the main menu then i loop the game to display it.
But lets argue player wants to launch a new ...
0
votes
1
answer
616
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:
...
0
votes
2
answers
4k
views
AS3 Internal preloader (one swf) for flash game with Embeded() images?
So I am using the Flash IDE.
And I am trying to make a preloader on Frame 1 so that it displays and loads progress before anything else is exported/loaded. So all my assets from the Library are on ...
8
votes
5
answers
11k
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 ...
3
votes
2
answers
679
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 ...
6
votes
2
answers
828
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 ...
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 ...