调整一帧加载资源个数
This commit is contained in:
@@ -33,7 +33,7 @@ end
|
|||||||
local loadingThread=coroutine.create(function()
|
local loadingThread=coroutine.create(function()
|
||||||
for i=1,SFX.getCount()do
|
for i=1,SFX.getCount()do
|
||||||
SFX.loadOne()
|
SFX.loadOne()
|
||||||
if i%2==0 then YIELD()end
|
if i%3==0 then YIELD()end
|
||||||
end
|
end
|
||||||
|
|
||||||
upFloor()
|
upFloor()
|
||||||
@@ -51,19 +51,19 @@ local loadingThread=coroutine.create(function()
|
|||||||
upFloor()
|
upFloor()
|
||||||
for i=1,SKIN.getCount()do
|
for i=1,SKIN.getCount()do
|
||||||
SKIN.loadOne()
|
SKIN.loadOne()
|
||||||
if i%3==0 then YIELD()end
|
if i%4==0 then YIELD()end
|
||||||
end
|
end
|
||||||
|
|
||||||
upFloor()
|
upFloor()
|
||||||
for _=1,VOC.getCount()do
|
for _=1,VOC.getCount()do
|
||||||
VOC.loadOne()
|
VOC.loadOne()
|
||||||
if _%3==0 then YIELD()end
|
if _%5==0 then YIELD()end
|
||||||
end
|
end
|
||||||
|
|
||||||
upFloor()
|
upFloor()
|
||||||
for i=1,17 do
|
for i=1,17 do
|
||||||
getFont(15+5*i)
|
getFont(15+5*i)
|
||||||
if i%3==0 then YIELD()end
|
if i%2==0 then YIELD()end
|
||||||
end
|
end
|
||||||
|
|
||||||
upFloor()
|
upFloor()
|
||||||
|
|||||||
Reference in New Issue
Block a user