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
126 views

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
62 views

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
175 views

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
  • 333
1 vote
0 answers
255 views

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
75 views

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
545 views

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
77 views

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
  • 333
1 vote
0 answers
200 views

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,976
0 votes
2 answers
255 views

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
241 views

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
199 views

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
133 views

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
73 views

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
198 views

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

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
1 vote
0 answers
835 views

I am loading scenes async using addressables like so ...
complex problem's user avatar
1 vote
2 answers
145 views

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 ...
Michael Moreno's user avatar
0 votes
1 answer
56 views

I have an NPC class with a DialogueTree object as a field. DialogueTree objects are ...
Michael Moreno's user avatar
0 votes
1 answer
126 views

For example, I have a scene. The scene has a GameObject. The GameObject has reference to a prefab, like this: ...
Kodra's user avatar
  • 23
0 votes
1 answer
80 views

I am writing up my work and I'm trying to think of a word, or phrase, that better describes a 'partial load' of data. In my case, I have one very large file that is "environment A". To ...
James the Flooded Roads Guy's user avatar
0 votes
1 answer
749 views

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 ...
D.elp's user avatar
  • 103
2 votes
1 answer
842 views

I use timeline for creating an opening cutscene and I want to load the first level after the cutscene ends. So, I decided to use timeline signals. I created a signal emitter at the end of the cutscene ...
Ali's user avatar
  • 55
4 votes
2 answers
4k views

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: ...
caleidon's user avatar
  • 591
0 votes
1 answer
976 views

I am loading my assets and tile information through YAML files. While working on the game, I needed to quickly change some values and test them in-game, and I realized I could just re-load the YAML ...
caleidon's user avatar
  • 591
1 vote
2 answers
2k views

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 ...
user11937382's user avatar
18 votes
4 answers
4k views

I am working on a space exploration and combat game, and I can create galaxies, nebulas, solar systems, and load and unload them procedurally as needed. Meaning the stars that the player can see are ...
Battle's user avatar
  • 1,285
1 vote
1 answer
88 views

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....
Sarkreth's user avatar
  • 113
2 votes
0 answers
1k views

I use more pictures so you can understand my opinion better. Here is the video link I recorded. My code has a problem that I use for to render it and cause it to "lag" for 1-5 seconds, so I ...
Qusdrok's user avatar
  • 21
2 votes
1 answer
2k views

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 ...
Basic's user avatar
  • 1,287
0 votes
2 answers
285 views

I am making a strategy game where the player roams a grid map. When the player encounter enemy on the map he is transferred to a "battle" scene where two armies are fighting in turn based ...
Dobromir Ivanov's user avatar
0 votes
1 answer
474 views

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 ...
formatc2013's user avatar
0 votes
0 answers
73 views

I'm programming in Java. I have more than 200 MB of images used in my games, something like 100000 40x40ish images. I initially wanted to load them all during app initialization but it took like 2 ...
Axel Carré's user avatar
1 vote
0 answers
68 views

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 ...
Alex's user avatar
  • 11
0 votes
1 answer
409 views

I am developing a game (in Java) that is going to have a lot of textures and images in it. What is the most efficient way to load all the textures? I was thinking on pre-loading all the images ...
Tair Galili's user avatar
0 votes
0 answers
147 views

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) ...
Tomáš Zato's user avatar
-1 votes
1 answer
728 views

I'm at a loss here because I'm not sure what's going on. I understand that tags need to exist first, and that you actually have to assign the tags after creating them, but ...
Chuck's user avatar
  • 249
0 votes
0 answers
73 views

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 ...
ruiyl's user avatar
  • 11
3 votes
2 answers
4k views

This is the closest I've gotten: ...
Bilal Akil's user avatar
1 vote
1 answer
842 views

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 ...
zsshan07's user avatar
1 vote
2 answers
1k views

I currently have a crude save system in my game. When my game is first launched after download, it checks for three directories in a certain location on the client computer, ...
DyingIsFun's user avatar
  • 1,337
0 votes
1 answer
2k views

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 ...
aybe's user avatar
  • 815
0 votes
3 answers
2k views

I have a very large environment which I have to load/unload in unity Webgl as I can't load them at once. So, I have divide the environment into 1000 x 1000m (1km) (each chunk is consist of three layer ...
Muhammad Faizan Khan's user avatar
0 votes
2 answers
3k views

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 ...
Muze's user avatar
  • 1
0 votes
1 answer
415 views

I need to read a text file containing two pieces of information on each line, and use that information to instantiate a prefab at the correct location in a Unity game (using a C# script). The ...
Kandel's user avatar
  • 1
0 votes
1 answer
2k views

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 ...
Kennichi Nitta's user avatar
2 votes
1 answer
5k views

I'm trying to create a loading screen to pop up between levels in Unreal Engine 4. I want to have a traditional loading screen such as the loading screen in Skyrim, where the player presses play and ...
Danny's user avatar
  • 325
0 votes
1 answer
440 views

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 ...
Prolight's user avatar
  • 113
2 votes
1 answer
61 views

I use www.GetAudioClip() to get a song and play it when my Android mobile game starts. My issue is that it takes a 3-second delay to play the song. My idea is to ...
1323254365's user avatar
0 votes
1 answer
60 views

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, ...
ploopploop's user avatar
1 vote
0 answers
421 views

I have a need to disable the resolution dialogue when the game launches, but have a config file that will have all of the dialogue options (resolution, quality, monitor (monitor is most important, ...
Paul Vinogradov's user avatar