optimization - Pack multiple files into one and then split -


i'm developing mobile game , graphics heavy, cannot put of them 1 image atlas, hence having multiple atlases. use preloadqueue load of resources. results in many hits on our server each client. there additional time delay when load every file instead of 1 big 'data' file.

we guess better if pack of our atlases 1 "data" file , load preloadqueue @ once. unpack/split , use use currently:

pq.getresult('startscreen'); 
  1. is there way pack data 1 file?
  2. if yes wouldn't hit our clients perfomance unacking operation can take 2 times more memory , cpu resources.

i suggest using following technique outlined on createjs website.

manifestloader class: http://createjs.com/docs/preloadjs/classes/manifestloader.html

it allows load multiple manifests , use 1 preloader. load status information can tracked well.


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -