flatworld.Preload Class
Preloads assets before initializing map.
Constructor
flatworld.Preload
()
Item Index
Methods
activateSound
()
Activate sound preloading also
addResource
()
loadManifest
()
Preload assets
resolveOnComplete
()
Promise
Returns:
Promise:
Return promise object, that will be resolved when the preloading is finished
setErrorHandler
()
Error handler if something goes wrong when preloading
setProgressHandler
()
Progress handler for loading. You should look easeljs docs for more information