I improved this plugin!
usedSize is the total size of images actually being used in the game just now.
cachedSize is the total size of cached images.
When usedSize exceeds about 150MPix, some mobile devices will crash by out of memory!
P.S.
Changed the build script to copy plugins to /game/js/plguins.
I improved this plugin!
usedSize
is the total size of images actually being used in the game just now.cachedSize
is the total size of cached images. WhenusedSize
exceeds about 150MPix, some mobile devices will crash by out of memory!P.S. Changed the build script to copy
plugins
to/game/js/plguins
.