Roblox Preload Images
Sharksie october 23 2017 648am 4.
Roblox preload images. That roblox fail to load a texture which is approved is not my fault. Share improve this answer follow edited may 6 19 at 2108. When the function is called the engine will go through all of the instances in the passed in array and all of the descendants of the passed in instances. If these ids are mesh ids you might want to refer to contentproviderpreloadasync and preload update and update your code to use preloadasync with instances as an input instead of strings.
Contentproviderpreloadasync gameworkspacemodel1 gameworkspacepart1 if you pass in id strings the old way those ids will be assumed as images other types will failed to request. In order to do this i need to adjust my appjs file. If any of the. It will gather asset ids from instances and their children recursively.
I am currently making a pet system for my game and for some reason all of the images fail to load. The images have gotten uploaded to roblox and they are in group creations. To enhance asset type safety contentproviderpreloadasync function now works with instance list. To start i need to import in a.
This will cause some. Answered may 6 19 at 2036. That sounds like a bug then. If any of the instances have a property that defines a link to content such as a decal or a sound then the function will attempt to load the asset from the roblox website.
The rate at which your images preload will of course be limited by how many parallel requests the browser is willing to send but it will eventually request each image url you call preloadimage on.