Loads an image and creates a texture, caches it if it does not already exist in the cache (clear cache if texture does not update
if you edit the image src)
since
2.0.0
Parameters
pathOrURL: string
Path to the file or the URL
key: string
Key of the texture, used to load the texture in sprites
Loads an image and creates a texture sheet, caches it if it does not already exist in the cache (clear cache if texture does not update
if you edit the image src)
since
2.1.0
Parameters
pathOrURL: string
Path to the file or the URL
key: string
Key of the texture, used to load the texture in sprites and spritesheet
A class that loads images and other assets
The Loader Class. Preloading and loading is handled here
1.0.0-beta