preload vs preloadAsync

Hi all,

Seeing as both cc.Loader.preload and cc.Loader.preloadAsync use callbacks, I’m having trouble understanding the difference between the two.

Help will be greatly appreciated.
Thanks in advance,
Rony

?

The difference between cc.Loader.preload and cc.Loader.preloadAsync is that cc.Loader.preload will load everything as soon as possible while cc.Loader.preloadAsync only load next resource when FPS bigger than 20. So, cc.Loader.preloadAsync could be used for background resources loading.

They both don’t block anything, the callback function will be called when the loading is complete.