|
| 30 Sep 2015 12:46 PM |
or even terrain?
Recently, textures are taking crazy long to load. I was wondering if it was possible to make a loading intro of some sort that would stay there until all textures have loaded.
TBI |
|
|
| Report Abuse |
|
|
gooey333
|
  |
| Joined: 24 Mar 2013 |
| Total Posts: 1208 |
|
| |
|
|
| 30 Sep 2015 12:57 PM |
get a stopwatch, join the game, count how many seconds it takes for everything to load.
then make a loading bar corresponding to that time. |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2015 12:57 PM |
@gooey333
I thought you could only do that for sounds e.e. |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2015 01:00 PM |
oh yeah, not a bad idea
TBI |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2015 01:01 PM |
@Secret except that everyone has a different computer
The noobs shall be eradicated. |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2015 01:02 PM |
I guess the textures loading would generally be the same.
TBI |
|
|
| Report Abuse |
|
|
rubene45
|
  |
| Joined: 08 May 2012 |
| Total Posts: 333 |
|
|
| 30 Sep 2015 01:06 PM |
All depends of the computer and internet speed Is not the same a guy which have a gaming computer and a high speed internet than a guy with a 2008 pc with low speed internet... But good idea. |
|
|
| Report Abuse |
|
|
Luxurize
|
  |
| Joined: 31 Mar 2015 |
| Total Posts: 1289 |
|
|
| 30 Sep 2015 01:09 PM |
Renderstepped? Tick?
“Insane isn't always black or white. We're all pathological, in our own ways.” |
|
|
| Report Abuse |
|
|
|
| 30 Sep 2015 01:15 PM |
No idea,
But here is one way to wait for Sounds to load:
local ContentProvider = Game:GetService("ContentProvider") local function LoadAssets(AssetList) -- Takes an asset list and preloads it. Will not wait for them to load.
--ContentProvider:Preload("http://www.roblox.com/asset/?id=155403867") -- Ghost Ship. Doesn't work.
for _, AssetId in pairs(AssetList) do ContentProvider:Preload(AssetId) end end
AsList = {} list = Workspace.Sound.FX_Sounds:GetChildren() num = 0 for _, Sound in pairs(list) do num=num+1 AsList[num] = Sound.SoundId Sound.Volume = .5 end
--list = Workspace.Sounds.FX_Sounds:GetChildren()
--for _, Sound in pairs(list) do -- num=num+1 -- AsList[num] = Sound.SoundId -- Sound.Volume = .5 -- end
LoadAssets(AsList)
--LoadAssets({2253543, 2434541, 5133543, 2423433, 41143243, 2453865, 21433365, 2154549})
local function WaitForAssetsToLoad() -- Yields until all requested assets are loaded. while (ContentProvider.RequestQueueSize > 0) do wait(1) end end
WaitForAssetsToLoad() if false then
for _, Sound in pairs(list) do print(Sound) Sound:Play()
wait(2) end end -- false
|
|
|
| Report Abuse |
|
|