Skip to main content

Questions tagged [loading]

Generally getting assets off disk and into memory.

Filter by
Sorted by
Tagged with
0 votes
1 answer
51 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 ...
Gaylord Sueltenfuss's user avatar
2 votes
0 answers
46 views

How to avoid lag when loading Datasmith files at runtime

How can I deal with the problem of lag when loading Datasmith files at runtime? When I use the load file node in the DatasmithRuntime plugin to load the scene, ...
MA__AM's user avatar
  • 21
0 votes
1 answer
127 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 ...
philB's user avatar
  • 231
1 vote
0 answers
211 views

Why does AsyncOperation.allowSceneActivation=false NOT stop my scene from loading?

I am trying to halt my level scenes from fully loading until I press a button to start the level but for some odd reason when I call LoadSceneAsync on my Additive ...
mtg's user avatar
  • 23
0 votes
0 answers
66 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 ...
Nolequen's user avatar
  • 101
0 votes
2 answers
473 views

How to prevent the "_ready" events and pre-ready var declarations in a loaded, instantiated scene?

I have a simple save game/load game system that packs the entire world scene to the disk, then loads it via ResourceLoader.load(): ...
Noideas's user avatar
  • 19
1 vote
1 answer
60 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 ...
philB's user avatar
  • 231
1 vote
0 answers
176 views

How does the Asynchronous Upload Pipeline actually work?

Unity has an Asynchronous Upload Pipeline which can upload qualifying textures and meshes to the GPU asynchronously over several frames, rather than uploading in one frame and stalling the main thread....
Kevin's user avatar
  • 6,859
0 votes
2 answers
229 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. ...
lancen's user avatar
  • 33
0 votes
1 answer
211 views

Minecraft-like simulation optimization

I am working on a voxel game similar to Minecraft. The goal would be to handle more entities but also offer a more immersive experience by the fact that the player does not need to worry about loading ...
Daniel123455's user avatar
0 votes
2 answers
188 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 ...
Junjie J2's user avatar
0 votes
0 answers
116 views

How to load asset from zip file?

How can I load an asset (model, texture, etc.) from a .zip file in Python's Ursina module without extracting it? I tested this code: ...
EarthAndMoon's user avatar
0 votes
0 answers
63 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. ...
Nobodyis_here's user avatar
0 votes
1 answer
172 views

Storing achievement code logic in JSON vs in source-code

I am creating an achievement system for my game engine. I represent an achievement as a class takes a predicate function to determine if requirement for unlock has been met. ...
Michael Moreno's user avatar
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 ...
theCodeHermit's user avatar

15 30 50 per page
1
2 3 4 5
13