Questions tagged [loading]
Generally getting assets off disk and into memory.
181 questions
0
votes
1
answer
122
views
In Godot, how to show TextureRect texture in the editor mode but unload it before runtime to preserve VRAM?
I'm trying to optimize a bit. Assume we have an in-game "Item" object made from a simple TextureRect (no children).
Naturally, in editor mode I'd like to be able to see that item's icon (and ...
0
votes
1
answer
169
views
Is memcpy safe to use to fill an ID3DBlob with a pre-compiled shader?
Following my post Saving shaders to file I then tried to load shader object files to recreate my shaders.
I found some Q&A about how to load precompiled HLSL shaders into memory, including a short ...
0
votes
0
answers
73
views
How many players dropping off while loading a mobile game is considered normal?
What percentage of players who do not wait for the full launch of a mobile game can I consider acceptable as a developer? Could you recommend research and/or articles on this topic?
I am interested in ...
1
vote
1
answer
75
views
Failure on DX11Texturesavetofile for B5G6R5_UNORM format
I have a protocol to prepare with a combining shader a texture from two other textures and saving it in RGBA8_UNORM DDS format using DX11SaveTextureToFile. Works fine. It appears to me that I don't ...
0
votes
2
answers
252
views
How to setup a loading screen using SDL_Threads?
I am trying to set up a basic toy example of how a loading screen would work in SDL. Here is my code below.
...
0
votes
2
answers
197
views
How to remove loading delay when loading from Appdata? Or to load everything at start?
Currently, when loading from Appdata, there is a noticeable delay. See a sample video here, when it changes from the sprite set in UI to the sprite loaded from Appdata through C# script.
I want to ...
0
votes
0
answers
73
views
Only first line/column of level text file gets loaded into tile map
I'm trying to make a map using a text file, but it only does the first line / column and not the rest.
I know the problem is in getTileImage.
...
0
votes
1
answer
3k
views
Reduce Unity Editor loading times
Open project => Wait
Start / stop game => Wait
Change script => Wait
Move object from project view => Wait
You blink too often => WAIT even more !
And so on and so on....
And the ...
1
vote
2
answers
145
views
Loading game state before first save has occurred (chicken/egg problem)
I've learned that storing and loading game saves is commonly done by serializing runtime data into binary files and then loading in those binary files de-serialized to reconstruct the runtime state ...
0
votes
1
answer
122
views
When are the resources used by a prefab loaded?
For example, I have a scene. The scene has a GameObject. The GameObject has reference to a prefab, like this:
...
0
votes
1
answer
747
views
How do game loading screens work?
I have successfully developed a 2D game.
I display sequential introduction images then load the start screen after that of course I load the game level in a single thread, it is a basic functional ...
4
votes
2
answers
4k
views
How to convert Resources.LoadAll to Addressables?
I have been advised to move away from the Resources system to the new Addressables system, which seems to have many advantages.
I need to convert the following code to use the Addressables:
...
1
vote
2
answers
2k
views
Is it better to load all of the scene at once or load small parts of it as the player moves?
I want to create a lot of detail in my game but I don’t want to kill the frame rate tracking all the models and movements (like all the grass). Will loading them in pieces save the frame rate or will ...
1
vote
1
answer
85
views
How do I refer to the two types of loading screen?
I'm troubleshooting some issues beyond the scope of this forum, and I'd like to be able to talk about certain parts of the gaming experience, specifically the two types of loading screen I see in Prey....
2
votes
1
answer
2k
views
Animate Loading Screen During CPU-Heavy Scene Load
I have a scene with lots of lightweight objects and one that takes anywhere between 10 and 45 seconds to load.
At a high level, the Awake method does...
Query database
For each result do some (fairly ...
0
votes
1
answer
474
views
How to pass an argument with ref keyword to a local funtion/ how to work around it?
Unity 2019.3
I am writing a few extension methods to make my life a little bit easier, but this one is bogging me down.
I am loading stuff with Unity's Addressable system, and I would like use it by ...
1
vote
0
answers
68
views
What is the better form of movement for a vehicle that the player is inside of?
I am using unreal engine 4 to make this. Basically I have a submarine that the player can move around in and can control the submarines movement within an ocean. However I don't know the best way to ...
0
votes
0
answers
147
views
Why don't games load assets while showing main menu?
Most single player computer games have rather frustrating pattern of loading:
start game
Game shows you some logo videos
Game indicates it is loading (general assets are loading, that are always used)
...
0
votes
0
answers
72
views
Switching between meshes vs Loading only specific mesh
I am currently developing an online multiplayer game on Unity. In the game, the character of each player will be assigned its mesh after the game receives parameters (their meshes' names) for each ...
1
vote
1
answer
842
views
Loading a heavy scene behind some loading screen in unity
Is there a way to load a heavy built scene behind a loading screen in unity to not make the game look like stuck loading the scene rather show the player some loading bar that would help the player ...
0
votes
1
answer
2k
views
Why it isn't possible to get a progress in SceneManager.LoadSceneAsync between 0.0 and 0.9?
I am trying to understand why does SceneManager.LoadSceneAsync progress always jumps from 0.0 to 0.9, no matter how big a scene can be.
To try trigger smoother ...
0
votes
2
answers
3k
views
Google street view racing game?
How would one create a map for gaming using Google street view? Are there any programs for doing this? The cars, people and objects could be edited out and replaced with digital copies if the same ...
0
votes
1
answer
2k
views
Godot: 'is_on_floor' problem
I have a character in a basic platformer game and am having trouble.
Whenever my character stands over two tiles on a tilemap and appears to be directly colliding with them the character's ...
0
votes
1
answer
440
views
Why can't I load images in processing.js and let them be dynamic?
I can't easily load images. I can only render an image once unless I put this:
<img src="images/papermario.png" hidden></img> in my html. I also still ...
0
votes
1
answer
60
views
Importing audiofile into Unity3d gets shown after ending playmode
I am working on a game where the user has the possibility to import custom audio tracks that can be listened to during the game.
For this I am making use of System.IO.File.Copy method. This works, ...